Interface AuthenticationFlowManagement


  • public interface AuthenticationFlowManagement
    API for authentication flow management.
    Author:
    P.Piernik
    • Method Detail

      • addAuthenticationFlow

        void addAuthenticationFlow​(pl.edu.icm.unity.types.authn.AuthenticationFlowDefinition authenticatorsFlowDefinition)
                            throws pl.edu.icm.unity.exceptions.EngineException
        Add new authentication flow
        Throws:
        pl.edu.icm.unity.exceptions.EngineException
      • removeAuthenticationFlow

        void removeAuthenticationFlow​(String toRemove)
                               throws pl.edu.icm.unity.exceptions.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:
        pl.edu.icm.unity.exceptions.EngineException
      • getAuthenticationFlows

        Collection<pl.edu.icm.unity.types.authn.AuthenticationFlowDefinition> getAuthenticationFlows()
                                                                                              throws pl.edu.icm.unity.exceptions.EngineException
        Returns:
        list of currently configured authentication flow
        Throws:
        pl.edu.icm.unity.exceptions.EngineException
      • getAuthenticationFlow

        pl.edu.icm.unity.types.authn.AuthenticationFlowDefinition getAuthenticationFlow​(String name)
                                                                                 throws pl.edu.icm.unity.exceptions.EngineException
        Get authentication flow by given name
        Returns:
        authentication flow
        Throws:
        pl.edu.icm.unity.exceptions.EngineException
      • updateAuthenticationFlow

        void updateAuthenticationFlow​(pl.edu.icm.unity.types.authn.AuthenticationFlowDefinition authFlowdef)
                               throws pl.edu.icm.unity.exceptions.EngineException
        Update existing authentication flow
        Throws:
        pl.edu.icm.unity.exceptions.EngineException