Class AbstractVerificator
- java.lang.Object
-
- pl.edu.icm.unity.engine.api.authn.AbstractVerificator
-
- All Implemented Interfaces:
CredentialExchange,CredentialVerificator,StringConfigurable,DescribedObject,NamedObject
- Direct Known Subclasses:
AbstractLocalVerificator,AbstractRemoteVerificator
public abstract class AbstractVerificator extends Object implements CredentialVerificator
AbstractCredentialVerificatorwith 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
Fields Modifier and Type Field Description protected IdentityResolveridentityResolverprotected StringinstanceName
-
Constructor Summary
Constructors Constructor Description AbstractVerificator(String name, String description, String exchangeId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()StringgetExchangeId()StringgetName()voidsetIdentityResolver(IdentityResolver identityResolver)voidsetInstanceName(String instanceName)Instance name is the configured name of the authenticator to which this credential verificator belongs.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface pl.edu.icm.unity.engine.api.authn.CredentialVerificator
getType
-
Methods inherited from interface pl.edu.icm.unity.engine.api.utils.StringConfigurable
getSerializedConfiguration, setSerializedConfiguration
-
-
-
-
Field Detail
-
instanceName
protected String instanceName
-
identityResolver
protected IdentityResolver identityResolver
-
-
Method Detail
-
getExchangeId
public String getExchangeId()
- Specified by:
getExchangeIdin interfaceCredentialExchange
-
getName
public String getName()
- Specified by:
getNamein interfaceNamedObject- Returns:
- human readable name of the object. Must be unique for the object class.
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceDescribedObject- Returns:
- human readable description of the object.
-
setIdentityResolver
public void setIdentityResolver(IdentityResolver identityResolver)
- Specified by:
setIdentityResolverin interfaceCredentialVerificator
-
setInstanceName
public void setInstanceName(String instanceName)
Description copied from interface:CredentialVerificatorInstance name is the configured name of the authenticator to which this credential verificator belongs.- Specified by:
setInstanceNamein interfaceCredentialVerificator
-
-