public abstract class AuthChallenge extends BasicPropertySet
| Modifier and Type | Class and Description |
|---|---|
static interface |
AuthChallenge.AuthChallengeParser |
BasicPropertySet.BuilderEMPTY| 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, coerceValue, contains, equals, firePropertyChange, get, getCount, getExtension, getOrDefault, getOrElse, getProperties, getRaw, getRawValueMap, getValues, isExtended, isInherited, iterator, of, remove, removePropertyChangeListener, removePropertyChangeListener, setDirect, setImpl, setRawValueMap, toStringclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitbuilder, extend, newDefaultInstance, newExtensionmergepublic 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.IllegalArgumentExceptionpublic 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 MutablePropertyValueSourceset in class BasicPropertySetpublic void set(PropertyValue propValue)
set in interface MutablePropertyValueSourceset in class BasicPropertySetpublic java.lang.String toJSON()