public abstract class AbstractMechanism extends Object implements Mechanism
Mechanism.PRIORITY
Modifier and Type | Field and Description |
---|---|
protected static byte[] |
EMPTY |
Constructor and Description |
---|
AbstractMechanism() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Mechanism other) |
String |
getPassword()
Returns the configured password value for this Mechanism.
|
String |
getUsername()
Returns the configured user name value for this Mechanism.
|
void |
setPassword(String value)
Sets the password value for this Mechanism.
|
void |
setUsername(String value)
Sets the user name value for this Mechanism.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getChallengeResponse, getInitialResponse, getName, getPriority, isApplicable
public int compareTo(Mechanism other)
compareTo
in interface Comparable<Mechanism>
public void setUsername(String value)
Mechanism
setUsername
in interface Mechanism
value
- The user name given.public String getUsername()
Mechanism
getUsername
in interface Mechanism
public void setPassword(String value)
Mechanism
setPassword
in interface Mechanism
value
- The user name given.public String getPassword()
Mechanism
getPassword
in interface Mechanism
Copyright © 2013–2016 The Apache Software Foundation. All rights reserved.