Class AbstractCredentialRetrievalFactory<T extends CredentialRetrieval>
- java.lang.Object
-
- pl.edu.icm.unity.engine.api.authn.AbstractCredentialRetrievalFactory<T>
-
- All Implemented Interfaces:
CredentialRetrievalFactory,DescribedObject,NamedObject
public abstract class AbstractCredentialRetrievalFactory<T extends CredentialRetrieval> extends Object implements CredentialRetrievalFactory
Common boilerplate forCredentialRetrievalFactoryimplementations.- Author:
- K. Benedyczak
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()StringgetName()StringgetSupportedBinding()booleanisCredentialExchangeSupported(String credentialExchangeId)CredentialRetrievalnewInstance()
-
-
-
Method Detail
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceDescribedObject- Returns:
- human readable description of the object.
-
getName
public String getName()
- Specified by:
getNamein interfaceNamedObject- Returns:
- human readable name of the object. Must be unique for the object class.
-
newInstance
public CredentialRetrieval newInstance()
- Specified by:
newInstancein interfaceCredentialRetrievalFactory
-
getSupportedBinding
public String getSupportedBinding()
- Specified by:
getSupportedBindingin interfaceCredentialRetrievalFactory
-
isCredentialExchangeSupported
public boolean isCredentialExchangeSupported(String credentialExchangeId)
- Specified by:
isCredentialExchangeSupportedin interfaceCredentialRetrievalFactory
-
-