public abstract class AuthChallenge extends BasicPropertySet
Modifier and Type | Class and Description |
---|---|
static interface |
AuthChallenge.AuthChallengeParser |
Constructor and Description |
---|
AuthChallenge() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
containsUsernameAndPassword()
Convenience method to see if this is a standard login attempt
|
abstract void |
decrypt()
Called after transport, before authentication.
|
abstract void |
encrypt()
Prepare this auth challenge for transport.
|
static AuthChallenge |
fromJSON(java.lang.String jsonString) |
abstract java.lang.String |
getActor()
Return a string representation of the "actor" this auth challenge represents (e.g.
|
static void |
register(AuthChallenge.AuthChallengeParser parser) |
<T> void |
set(Property<T> prop,
T value) |
void |
set(PropertyValue propValue) |
java.lang.String |
toJSON() |
static void |
unregister(AuthChallenge.AuthChallengeParser parser) |
addPropertyChangeListener, addPropertyChangeListener, change, contains, equals, firePropertyChange, get, getCount, getOrDefault, getOrElse, getProperties, getRawValueMap, getValues, isExtended, isInherited, iterator, merge, merge, of, remove, removePropertyChangeListener, removePropertyChangeListener, setDirect, setRawValueMap, toString
public static void register(AuthChallenge.AuthChallengeParser parser)
public static void unregister(AuthChallenge.AuthChallengeParser parser)
public static AuthChallenge fromJSON(java.lang.String jsonString) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public abstract boolean containsUsernameAndPassword()
public abstract java.lang.String getActor()
public abstract void encrypt()
public abstract void decrypt()
public <T> void set(Property<T> prop, T value)
set
in interface MutablePropertyValueSource
set
in class BasicPropertySet
public void set(PropertyValue propValue)
set
in interface MutablePropertyValueSource
set
in class BasicPropertySet
public java.lang.String toJSON()