Class AbstractVerificator
- java.lang.Object
-
- pl.edu.icm.unity.engine.api.authn.AbstractVerificator
-
- All Implemented Interfaces:
CredentialExchange
,CredentialVerificator
,StringConfigurable
,pl.edu.icm.unity.types.DescribedObject
,pl.edu.icm.unity.types.NamedObject
- Direct Known Subclasses:
AbstractLocalVerificator
,AbstractRemoteVerificator
public abstract class AbstractVerificator extends java.lang.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 java.lang.String
instanceName
-
Constructor Summary
Constructors Constructor Description AbstractVerificator(java.lang.String name, java.lang.String description, java.lang.String exchangeId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
java.lang.String
getExchangeId()
java.lang.String
getName()
void
setIdentityResolver(IdentityResolver identityResolver)
void
setInstanceName(java.lang.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 java.lang.String instanceName
-
identityResolver
protected IdentityResolver identityResolver
-
-
Method Detail
-
getExchangeId
public java.lang.String getExchangeId()
- Specified by:
getExchangeId
in interfaceCredentialExchange
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfacepl.edu.icm.unity.types.NamedObject
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interfacepl.edu.icm.unity.types.DescribedObject
-
setIdentityResolver
public void setIdentityResolver(IdentityResolver identityResolver)
- Specified by:
setIdentityResolver
in interfaceCredentialVerificator
-
setInstanceName
public void setInstanceName(java.lang.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
-
-