@Entity @Indexed(index="authenticators") @Analyzer(definition="entity_analyzer") public final class Authenticator extends AbstractAuthzEntity
| Modifier and Type | Class and Description |
|---|---|
static class |
Authenticator.Deserializer
Deserialize a reference to an Authenticator.
|
| Constructor and Description |
|---|
Authenticator() |
| Modifier and Type | Method and Description |
|---|---|
Client |
getClient()
Get the client for this authenticator.
|
Map<String,String> |
getConfiguration()
Get the current configuration, as persisted in the database.
|
User |
getOwner()
The owner of this entity.
|
List<AuthenticatorState> |
getStates()
Get the list of currently active query states.
|
AuthenticatorType |
getType()
Get the authenticator type, a string lookup key by which the
authenticator is retrieved from the injection manager.
|
void |
setClient(Client client)
Set a new client for this authenticator.
|
void |
setConfiguration(Map<String,String> configuration)
Set the configuration values.
|
void |
setStates(List<AuthenticatorState> states)
Set the list of states.
|
void |
setType(AuthenticatorType type)
Set a new authenticator type.
|
clone, equals, getCreatedDate, getId, getModifiedDate, hashCode, setCreatedDate, setId, setModifiedDate, toStringpublic Client getClient()
public void setClient(Client client)
client - The new client.public AuthenticatorType getType()
public void setType(AuthenticatorType type)
type - The new type. Must match one of the IAuthenticator injection
names, else will throw scope exceptions.public Map<String,String> getConfiguration()
public void setConfiguration(Map<String,String> configuration)
configuration - The new config values.public List<AuthenticatorState> getStates()
public void setStates(List<AuthenticatorState> states)
states - The list of states.public User getOwner()
getOwner in class AbstractAuthzEntityCopyright © 2018 krotscheck.net. All rights reserved.