public interface AuthenticatorManagement
| Modifier and Type | Method and Description |
|---|---|
pl.edu.icm.unity.types.authn.AuthenticatorInfo |
createAuthenticator(String id,
String typeId,
String config,
String credentialId)
Creates a new authenticator
|
pl.edu.icm.unity.types.authn.AuthenticatorInfo |
getAuthenticator(String id) |
Collection<pl.edu.icm.unity.types.authn.AuthenticatorInfo> |
getAuthenticators(String bindingId) |
Collection<pl.edu.icm.unity.types.authn.AuthenticatorTypeDescription> |
getAvailableAuthenticatorsTypes()
Gets all available authenticators types
|
void |
removeAuthenticator(String id)
Removes an existing authenticator.
|
void |
updateAuthenticator(String id,
String verificatorConfig,
String localCredential)
Updates a configuration of an existing authenticator instance
|
Collection<pl.edu.icm.unity.types.authn.AuthenticatorInfo> getAuthenticators(String bindingId) throws pl.edu.icm.unity.exceptions.EngineException
bindingId - if not null allows for filtering the returned list by supported bindingpl.edu.icm.unity.exceptions.EngineExceptionpl.edu.icm.unity.types.authn.AuthenticatorInfo getAuthenticator(String id) throws pl.edu.icm.unity.exceptions.EngineException
id - pl.edu.icm.unity.exceptions.EngineExceptionpl.edu.icm.unity.types.authn.AuthenticatorInfo createAuthenticator(String id, String typeId, String config, String credentialId) throws pl.edu.icm.unity.exceptions.EngineException
typeId - authenticator type idconfig - configuration of authenticator as string. Should be given only for remote
verificators. Otherwise should be null and the credentialId must be set.credentialId - name of the local credential, in case when the verificator used
is validating local credentials. Otherwise ignored, can be null.pl.edu.icm.unity.exceptions.EngineExceptionvoid updateAuthenticator(String id, String verificatorConfig, String localCredential) throws pl.edu.icm.unity.exceptions.EngineException
id - retrievalConfig - configuration of retrieval as stringlocalCredential - name of local credential in case of local authenticatorpl.edu.icm.unity.exceptions.EngineExceptionvoid removeAuthenticator(String id) throws pl.edu.icm.unity.exceptions.EngineException
id - pl.edu.icm.unity.exceptions.EngineExceptionCollection<pl.edu.icm.unity.types.authn.AuthenticatorTypeDescription> getAvailableAuthenticatorsTypes()
Copyright © 2020 Unity. All rights reserved.