Package pl.edu.icm.unity.engine.api
Interface AuthenticationFlowManagement
-
public interface AuthenticationFlowManagementAPI for authentication flow management.- Author:
- P.Piernik
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddAuthenticationFlow(AuthenticationFlowDefinition authenticatorsFlowDefinition)Add new authentication flowAuthenticationFlowDefinitiongetAuthenticationFlow(String name)Get authentication flow by given nameCollection<AuthenticationFlowDefinition>getAuthenticationFlows()voidremoveAuthenticationFlow(String toRemove)Removes an existing authentication flow.voidupdateAuthenticationFlow(AuthenticationFlowDefinition authFlowdef)Update existing authentication flow
-
-
-
Method Detail
-
addAuthenticationFlow
void addAuthenticationFlow(AuthenticationFlowDefinition authenticatorsFlowDefinition) throws EngineException
Add new authentication flow- Throws:
EngineException
-
removeAuthenticationFlow
void removeAuthenticationFlow(String toRemove) throws EngineException
Removes an existing authentication flow. The authentication flow must not be used by any of the endpoints, to be removed.- Parameters:
toRemove- authentication flow id- Throws:
EngineException
-
getAuthenticationFlows
Collection<AuthenticationFlowDefinition> getAuthenticationFlows() throws EngineException
- Returns:
- list of currently configured authentication flow
- Throws:
EngineException
-
getAuthenticationFlow
AuthenticationFlowDefinition getAuthenticationFlow(String name) throws EngineException
Get authentication flow by given name- Returns:
- authentication flow
- Throws:
EngineException
-
updateAuthenticationFlow
void updateAuthenticationFlow(AuthenticationFlowDefinition authFlowdef) throws EngineException
Update existing authentication flow- Throws:
EngineException
-
-