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, wait
requiresRedirect
getSerializedConfiguration, setSerializedConfiguration
protected T extends CredentialExchange credentialExchange
protected final String bindingName
public AbstractCredentialRetrieval(String bindingName)
public String getBindingName()
getBindingName
in interface CredentialRetrieval
getBindingName
in interface BindingAuthn
public void setCredentialExchange(CredentialExchange e, String id)
CredentialRetrieval
#setSerializedConfiguration(com.fasterxml.jackson.databind.node.ObjectNode)
):
the credential verificator and the configured id.setCredentialExchange
in interface CredentialRetrieval
public String getAuthenticatorId()
getAuthenticatorId
in interface BindingAuthn
public void destroy()
BindingAuthn
destroy
in interface BindingAuthn
Copyright © 2018 Unity. All rights reserved.