Class LocalCredentialsRegistry


  • @Component
    public class LocalCredentialsRegistry
    extends java.lang.Object
    Registry of components which are used to create LocalCredentialVerificators.
    Author:
    K. Benedyczak
    • 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()
      • 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