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.java64 public UsernamePasswordCredentials(String usernamePassword) { in UsernamePasswordCredentials() argument
66 if (usernamePassword == null) { in UsernamePasswordCredentials()
69 int atColon = usernamePassword.indexOf(':'); in UsernamePasswordCredentials()
71 this.principal = new BasicUserPrincipal(usernamePassword.substring(0, atColon)); in UsernamePasswordCredentials()
72 this.password = usernamePassword.substring(atColon + 1); in UsernamePasswordCredentials()
74 this.principal = new BasicUserPrincipal(usernamePassword); in UsernamePasswordCredentials()
DNTCredentials.java68 public NTCredentials(String usernamePassword) { in NTCredentials() argument
70 if (usernamePassword == null) { in NTCredentials()
74 int atColon = usernamePassword.indexOf(':'); in NTCredentials()
76 username = usernamePassword.substring(0, atColon); in NTCredentials()
77 this.password = usernamePassword.substring(atColon + 1); in NTCredentials()
79 username = usernamePassword; in NTCredentials()