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