Class LocalCredentialsRegistry
- java.lang.Object
-
- pl.edu.icm.unity.engine.api.authn.local.LocalCredentialsRegistry
-
@Component public class LocalCredentialsRegistry extends Object
Registry of components which are used to createLocalCredentialVerificator
s.- Author:
- K. Benedyczak
-
-
Constructor Summary
Constructors Constructor Description LocalCredentialsRegistry(Optional<List<LocalCredentialVerificatorFactory>> verificatorFactories)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocalCredentialVerificator
createLocalCredentialVerificator(CredentialDefinition def)
LocalCredentialVerificatorFactory
getLocalCredentialFactory(String id)
Set<CredentialType>
getLocalCredentialTypes()
-
-
-
Constructor Detail
-
LocalCredentialsRegistry
@Autowired public LocalCredentialsRegistry(Optional<List<LocalCredentialVerificatorFactory>> verificatorFactories)
-
-
Method Detail
-
getLocalCredentialTypes
public Set<CredentialType> getLocalCredentialTypes()
-
getLocalCredentialFactory
public LocalCredentialVerificatorFactory getLocalCredentialFactory(String id)
-
createLocalCredentialVerificator
public LocalCredentialVerificator createLocalCredentialVerificator(CredentialDefinition def) throws IllegalCredentialException
- Throws:
IllegalCredentialException
-
-