public abstract class AbstractCredentialRetrieval<T extends CredentialExchange> extends Object implements CredentialRetrieval
CredentialRetrieval implementations. Stores the exchange implementation and instance
name. Useful for all implementations supporting a single type of credential exchange
(what is by far the common case).| Modifier and Type | Field and Description |
|---|---|
protected String |
bindingName |
protected T |
credentialExchange |
| Constructor and Description |
|---|
AbstractCredentialRetrieval(String bindingName) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Called when endpoint using this implementation is destroyed.
|
String |
getAuthenticatorId() |
String |
getBindingName() |
void |
setCredentialExchange(CredentialExchange e,
String id)
Sets initial state, given by the framework (the retrieval's own, implementation specific configuration
is set via
#setSerializedConfiguration(com.fasterxml.jackson.databind.node.ObjectNode)):
the credential verificator and the configured id. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrequiresRedirectgetSerializedConfiguration, setSerializedConfigurationprotected T extends CredentialExchange credentialExchange
protected final String bindingName
public AbstractCredentialRetrieval(String bindingName)
public String getBindingName()
getBindingName in interface CredentialRetrievalgetBindingName in interface BindingAuthnpublic void setCredentialExchange(CredentialExchange e, String id)
CredentialRetrieval#setSerializedConfiguration(com.fasterxml.jackson.databind.node.ObjectNode)):
the credential verificator and the configured id.setCredentialExchange in interface CredentialRetrievalpublic String getAuthenticatorId()
getAuthenticatorId in interface BindingAuthnpublic void destroy()
BindingAuthndestroy in interface BindingAuthnCopyright © 2018 Unity. All rights reserved.