public interface AuthenticatorManagement
| Modifier and Type | Method and Description |
|---|---|
pl.edu.icm.unity.types.authn.AuthenticatorInstance |
createAuthenticator(String id,
String typeId,
String verificatorConfig,
String retrievalConfig,
String credentialId)
Creates a new authenticator instance
|
Collection<pl.edu.icm.unity.types.authn.AuthenticatorInstance> |
getAuthenticators(String bindingId) |
Collection<pl.edu.icm.unity.types.authn.AuthenticatorTypeDescription> |
getAuthenticatorTypes(String bindingId) |
void |
removeAuthenticator(String id)
Removes an existing authenticator.
|
void |
updateAuthenticator(String id,
String verificatorConfig,
String retrievalConfig,
String localCredential)
Updates a configuration of an existing authenticator instance
|
Collection<pl.edu.icm.unity.types.authn.AuthenticatorTypeDescription> getAuthenticatorTypes(String bindingId) throws pl.edu.icm.unity.exceptions.EngineException
bindingId - can be null to return all available authenticators. Otherwise filters the result
to include only authenticators supporting the specified bindingpl.edu.icm.unity.exceptions.EngineExceptionCollection<pl.edu.icm.unity.types.authn.AuthenticatorInstance> 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.AuthenticatorInstance createAuthenticator(String id, String typeId, String verificatorConfig, String retrievalConfig, String credentialId) throws pl.edu.icm.unity.exceptions.EngineException
typeId - authenticator type idverificatorConfig - configuration of verificator as string. Should be given only for remote
verificators. Otherwise should be null and the credentialId must be set.retrievalConfig - configuration of retrieval as stringcredentialId - 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 retrievalConfig, String localCredential) throws pl.edu.icm.unity.exceptions.EngineException
id - verificatorConfig - configuration of verificator as stringretrievalConfig - 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.EngineExceptionCopyright © 2018 Unity. All rights reserved.