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