Home
last modified time | relevance | path

Searched refs:usernamePassword (Results 1 – 2 of 2) sorted by relevance

/external/apache-http/src/org/apache/http/auth/
DUsernamePasswordCredentials.java59 public UsernamePasswordCredentials(String usernamePassword) { in UsernamePasswordCredentials() argument
61 if (usernamePassword == null) { in UsernamePasswordCredentials()
64 int atColon = usernamePassword.indexOf(':'); in UsernamePasswordCredentials()
66 this.principal = new BasicUserPrincipal(usernamePassword.substring(0, atColon)); in UsernamePasswordCredentials()
67 this.password = usernamePassword.substring(atColon + 1); in UsernamePasswordCredentials()
69 this.principal = new BasicUserPrincipal(usernamePassword); in UsernamePasswordCredentials()
DNTCredentials.java63 public NTCredentials(String usernamePassword) { in NTCredentials() argument
65 if (usernamePassword == null) { in NTCredentials()
69 int atColon = usernamePassword.indexOf(':'); in NTCredentials()
71 username = usernamePassword.substring(0, atColon); in NTCredentials()
72 this.password = usernamePassword.substring(atColon + 1); in NTCredentials()
74 username = usernamePassword; in NTCredentials()