public interface CredentialRequirementManagement
CredentialRequirements
management.Modifier and Type | Method and Description |
---|---|
void |
addCredentialRequirement(pl.edu.icm.unity.types.authn.CredentialRequirements updated)
Defines a new credential requirements instance
|
Collection<pl.edu.icm.unity.types.authn.CredentialRequirements> |
getCredentialRequirements() |
void |
removeCredentialRequirement(String toRemove,
String replacementId)
Removes the given credential set definition.
|
void |
updateCredentialRequirement(pl.edu.icm.unity.types.authn.CredentialRequirements updated)
Updated a definitions of credential set.
|
void addCredentialRequirement(pl.edu.icm.unity.types.authn.CredentialRequirements updated) throws pl.edu.icm.unity.exceptions.EngineException
name
- credentials
- description
- pl.edu.icm.unity.exceptions.EngineException
void updateCredentialRequirement(pl.edu.icm.unity.types.authn.CredentialRequirements updated) throws pl.edu.icm.unity.exceptions.EngineException
updated
- updated data. The existing one is matched by id.pl.edu.icm.unity.exceptions.EngineException
void removeCredentialRequirement(String toRemove, String replacementId) throws pl.edu.icm.unity.exceptions.EngineException
#updateCredentialRequirement(CredentialRequirements, LocalAuthenticationState)
- the semantics is the same here.toRemove
- credential requirement to removereplacementId
- credential requirement to be applied to entities that used the removed requirement.
Can be null, but then the operation will be successful only if there was no entity with the requirement.pl.edu.icm.unity.exceptions.EngineException
Collection<pl.edu.icm.unity.types.authn.CredentialRequirements> getCredentialRequirements() throws pl.edu.icm.unity.exceptions.EngineException
pl.edu.icm.unity.exceptions.EngineException
Copyright © 2018 Unity. All rights reserved.