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
AbstractCredentialVerificator
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
Fields Modifier and Type Field Description protected IdentityResolver
identityResolver
protected String
instanceName
-
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 String
getDescription()
String
getExchangeId()
String
getName()
void
setIdentityResolver(IdentityResolver identityResolver)
void
setInstanceName(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:
getExchangeId
in interfaceCredentialExchange
-
getName
public String getName()
- Specified by:
getName
in interfaceNamedObject
- Returns:
- human readable name of the object. Must be unique for the object class.
-
getDescription
public String getDescription()
- Specified by:
getDescription
in interfaceDescribedObject
- Returns:
- human readable description of the object.
-
setIdentityResolver
public void setIdentityResolver(IdentityResolver identityResolver)
- Specified by:
setIdentityResolver
in interfaceCredentialVerificator
-
setInstanceName
public void setInstanceName(String instanceName)
Description copied from interface:CredentialVerificator
Instance name is the configured name of the authenticator to which this credential verificator belongs.- Specified by:
setInstanceName
in interfaceCredentialVerificator
-
-