Class AbstractCredentialVerificatorFactory
- java.lang.Object
-
- pl.edu.icm.unity.engine.api.authn.AbstractCredentialVerificatorFactory
-
- All Implemented Interfaces:
CredentialVerificatorFactory
,DescribedObject
,NamedObject
- Direct Known Subclasses:
AbstractLocalCredentialVerificatorFactory
public abstract class AbstractCredentialVerificatorFactory extends Object implements CredentialVerificatorFactory
Helper to easily create credential factories.- Author:
- K. Benedyczak
-
-
Field Summary
Fields Modifier and Type Field Description protected org.springframework.beans.factory.ObjectFactory<? extends CredentialVerificator>
factory
-
Constructor Summary
Constructors Constructor Description AbstractCredentialVerificatorFactory(String name, String desc, org.springframework.beans.factory.ObjectFactory<? extends CredentialVerificator> factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
String
getName()
CredentialVerificator
newInstance()
-
-
-
Field Detail
-
factory
protected final org.springframework.beans.factory.ObjectFactory<? extends CredentialVerificator> factory
-
-
Constructor Detail
-
AbstractCredentialVerificatorFactory
public AbstractCredentialVerificatorFactory(String name, String desc, org.springframework.beans.factory.ObjectFactory<? extends CredentialVerificator> factory)
-
-
Method Detail
-
getDescription
public String getDescription()
- Specified by:
getDescription
in interfaceDescribedObject
- Returns:
- human readable description of the object.
-
getName
public String getName()
- Specified by:
getName
in interfaceNamedObject
- Returns:
- human readable name of the object. Must be unique for the object class.
-
newInstance
public CredentialVerificator newInstance()
- Specified by:
newInstance
in interfaceCredentialVerificatorFactory
-
-