public static final class DOFAuthenticator.Config extends java.lang.Object implements DOFImmutable, java.io.Serializable
DOFAuthenticator.Config.Builder
. This class is immutable once built.
Any changes will need to be made using the Builder.Builder(Config) constructor.Modifier and Type | Class and Description |
---|---|
static class |
DOFAuthenticator.Config.Builder
The authenticator configuration builder.
|
Modifier and Type | Field and Description |
---|---|
static short |
DEFAULT_MAX_GRANT_LIFETIME
The default maximum lifetime of a permission grant, in minutes.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
byte |
getAuthenticatorIdentifier()
Get the authenticator identity of this node, which is handling the storage authentication requests.
|
byte[] |
getDebugKey()
Returns the key to distribute when in debug mode.
|
DOFObjectID.Domain |
getDomainID()
Get the domain identifier.
|
short |
getMaxGrantLifetime()
Get the maximum lifetime for permission grants authorized by the authenticator.
|
java.lang.String |
getName()
Get the authenticator's name.
|
DOFAuthenticator.Storage |
getStorage()
Get the storage implementation.
|
int |
hashCode() |
boolean |
isDebug()
Returns whether or not the authenticator is functioning in debug mode.
|
public static final short DEFAULT_MAX_GRANT_LIFETIME
public java.lang.String getName()
public byte getAuthenticatorIdentifier()
public DOFObjectID.Domain getDomainID()
public DOFAuthenticator.Storage getStorage()
public short getMaxGrantLifetime()
public boolean isDebug()
public byte[] getDebugKey()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object