public class StaticUserAuthenticator extends Object implements UserAuthenticator, Comparable<StaticUserAuthenticator>
Constructor and Description |
---|
StaticUserAuthenticator(String domain,
String username,
String password) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(StaticUserAuthenticator other) |
boolean |
equals(Object obj) |
int |
hashCode() |
UserAuthenticationData |
requestAuthentication(UserAuthenticationData.Type[] types)
Queries the given type from the user.
|
String |
toString() |
public UserAuthenticationData requestAuthentication(UserAuthenticationData.Type[] types)
UserAuthenticator
requestAuthentication
in interface UserAuthenticator
types
- An array containing the user's credentialspublic int compareTo(StaticUserAuthenticator other)
compareTo
in interface Comparable<StaticUserAuthenticator>
Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.