Class AbstractLocalVerificator
java.lang.Object
pl.edu.icm.unity.engine.api.authn.AbstractVerificator
pl.edu.icm.unity.engine.api.authn.local.AbstractLocalVerificator
- All Implemented Interfaces:
CredentialExchange,CredentialVerificator,LocalCredentialVerificator,StringConfigurable,DescribedObject,NamedObject
public abstract class AbstractLocalVerificator
extends AbstractVerificator
implements LocalCredentialVerificator
Abstract
LocalCredentialVerificator with a common boilerplate code.- Author:
- K. Benedyczak
-
Nested Class Summary
Nested classes/interfaces inherited from interface pl.edu.icm.unity.engine.api.authn.CredentialVerificator
CredentialVerificator.VerificatorType -
Field Summary
FieldsFields inherited from class pl.edu.icm.unity.engine.api.authn.AbstractVerificator
identityResolver, instanceName -
Constructor Summary
ConstructorsConstructorDescriptionAbstractLocalVerificator(String name, String description, String exchangeId, boolean supportingInvalidation) -
Method Summary
Modifier and TypeMethodDescriptiongetType()booleanvoidsetCredentialName(String credentialName) Sets credential definition name for this verificator.updateCredentialAfterConfigurationChange(String currentCredential) Returns optionally changed argument credential, which can be transformed after the change of configuration.Methods inherited from class pl.edu.icm.unity.engine.api.authn.AbstractVerificator
getDescription, getExchangeId, getName, setIdentityResolver, setInstanceNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface pl.edu.icm.unity.engine.api.authn.CredentialExchange
getExchangeIdMethods inherited from interface pl.edu.icm.unity.engine.api.authn.CredentialVerificator
setIdentityResolver, setInstanceNameMethods inherited from interface pl.edu.icm.unity.types.DescribedObject
getDescriptionMethods inherited from interface pl.edu.icm.unity.engine.api.authn.local.LocalCredentialVerificator
checkCredentialState, invalidate, isCredentialDefinitionChagneOutdatingCredentials, isCredentialSet, prepareCredentialMethods inherited from interface pl.edu.icm.unity.types.NamedObject
getNameMethods inherited from interface pl.edu.icm.unity.engine.api.utils.StringConfigurable
getSerializedConfiguration, setSerializedConfiguration
-
Field Details
-
credentialName
-
-
Constructor Details
-
AbstractLocalVerificator
-
-
Method Details
-
getCredentialName
- Specified by:
getCredentialNamein interfaceLocalCredentialVerificator- Returns:
- the name of the credential definition associated with this verificator
-
setCredentialName
Description copied from interface:LocalCredentialVerificatorSets credential definition name for this verificator. This is only required to perform resolving of the client's identity, to get a proper credential. It is irrelevant for credential's storage.- Specified by:
setCredentialNamein interfaceLocalCredentialVerificator
-
isSupportingInvalidation
public boolean isSupportingInvalidation()- Specified by:
isSupportingInvalidationin interfaceLocalCredentialVerificator- Returns:
- If the instances can be put into the
LocalCredentialState.outdatedstate.
-
getType
- Specified by:
getTypein interfaceCredentialVerificator
-
updateCredentialAfterConfigurationChange
Description copied from interface:LocalCredentialVerificatorReturns optionally changed argument credential, which can be transformed after the change of configuration. It can be assumed that argument credential was created with some old configuration and that the current object is configured with the new one.- Specified by:
updateCredentialAfterConfigurationChangein interfaceLocalCredentialVerificator
-