Interface CredentialRetrieval
- All Superinterfaces:
BindingAuthn
,StringConfigurable
- All Known Implementing Classes:
AbstractCredentialRetrieval
Retrieves credential, using a some binding specific method. Cooperates
with
CredentialVerificator
via CredentialExchange
.
Implementations must be thread safe and immutable.
- Author:
- K. Benedyczak
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
void
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 Details
-
setCredentialExchange
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
String getBindingName()- Specified by:
getBindingName
in interfaceBindingAuthn
- Returns:
- implementation id
-
requiresRedirect
default boolean requiresRedirect()
-