Interface AuthenticatorInstance
-
public interface AuthenticatorInstance
Representation of an authenticator instance, which is a composition ofCredentialRetrieval
andCredentialVerificator
, configured. It is based on authenticator definition which is created by user, but is a blueprint for instances with potentially different retrievals and thus different supported bindings.Authenticator instance can be local or remote, depending on the associated verificator type (local or remote).
Local authenticator is special as it has an associated local credential. Its verificator uses the associated credential's configuration internally, but it is not advertised to the outside world, via the
AuthenticatorInstanceMetadata
interface.- Author:
- K. Benedyczak
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description pl.edu.icm.unity.types.authn.AuthenticatorInstanceMetadata
getMetadata()
Get authenticator instanceCredentialRetrieval
getRetrieval()
Get authenticator retrievallong
getRevision()
Get authenticator revisionvoid
setRevision(long revision)
Set authenticator revisionvoid
updateConfiguration(java.lang.String vConfiguration, java.lang.String localCredential)
Updates the current configuration of the authenticator.
-
-
-
Method Detail
-
updateConfiguration
void updateConfiguration(java.lang.String vConfiguration, java.lang.String localCredential)
Updates the current configuration of the authenticator. For local verificators the verificator configuration is only set for the underlying verificator, it is not exposed in the instanceDescription.
-
getRetrieval
CredentialRetrieval getRetrieval()
Get authenticator retrieval- Returns:
-
getMetadata
pl.edu.icm.unity.types.authn.AuthenticatorInstanceMetadata getMetadata()
Get authenticator instance- Returns:
-
setRevision
void setRevision(long revision)
Set authenticator revision- Parameters:
revision
- to set
-
getRevision
long getRevision()
Get authenticator revision- Returns:
- authenticator revision
-
-