Interface AuthenticatorInstance
-
public interface AuthenticatorInstanceRepresentation of an authenticator instance, which is a composition ofCredentialRetrievalandCredentialVerificator, 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
AuthenticatorInstanceMetadatainterface.- Author:
- K. Benedyczak
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description pl.edu.icm.unity.types.authn.AuthenticatorInstanceMetadatagetMetadata()Get authenticator instanceCredentialRetrievalgetRetrieval()Get authenticator retrievallonggetRevision()Get authenticator revisionvoidsetRevision(long revision)Set authenticator revisionvoidupdateConfiguration(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
-
-