Searched refs:atColon (Results 1 – 2 of 2) sorted by relevance
64 int atColon = usernamePassword.indexOf(':'); in UsernamePasswordCredentials() local65 if (atColon >= 0) { in UsernamePasswordCredentials()66 this.principal = new BasicUserPrincipal(usernamePassword.substring(0, atColon)); in UsernamePasswordCredentials()67 this.password = usernamePassword.substring(atColon + 1); in UsernamePasswordCredentials()
69 int atColon = usernamePassword.indexOf(':'); in NTCredentials() local70 if (atColon >= 0) { in NTCredentials()71 username = usernamePassword.substring(0, atColon); in NTCredentials()72 this.password = usernamePassword.substring(atColon + 1); in NTCredentials()