Interface CredentialRetrieval
-
- All Superinterfaces:
BindingAuthn,StringConfigurable
- All Known Implementing Classes:
AbstractCredentialRetrieval
public interface CredentialRetrieval extends BindingAuthn, StringConfigurable
Retrieves credential, using a some binding specific method. Cooperates withCredentialVerificatorviaCredentialExchange.Implementations must be thread safe and immutable.
- Author:
- K. Benedyczak
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.lang.StringgetBindingName()default booleanrequiresRedirect()voidsetCredentialExchange(CredentialExchange e, java.lang.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.-
Methods inherited from interface pl.edu.icm.unity.engine.api.endpoint.BindingAuthn
destroy, getAuthenticatorId
-
Methods inherited from interface pl.edu.icm.unity.engine.api.utils.StringConfigurable
getSerializedConfiguration, setSerializedConfiguration
-
-
-
-
Method Detail
-
setCredentialExchange
void setCredentialExchange(CredentialExchange e, java.lang.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.- Parameters:
e-id-
-
getBindingName
java.lang.String getBindingName()
- Specified by:
getBindingNamein interfaceBindingAuthn- Returns:
- implementation id
-
requiresRedirect
default boolean requiresRedirect()
-
-