Interface IPluginCallbackLogic


  • public interface IPluginCallbackLogic
    Common interface for a custom callback logic that can be provided by a plugin. A Callback logic determines what to do when the callback of an authentication request comes from the IDP. For example a custom authentication logic might perform the callback logic which returns a user profile (default callback logic) and then save that user profile in a session.
    Since:
    7.2.0
    Author:
    XIMA Media GmbH
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void perform​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain filterChain, Map<String,​String> authenticationParams)
      Perform the custom callback logic of a plugin.
    • Method Detail

      • perform

        void perform​(javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response,
                     javax.servlet.FilterChain filterChain,
                     Map<String,​String> authenticationParams)
        Perform the custom callback logic of a plugin.
        Parameters:
        request - of the callback filter (.../formcycle/auth/callback).
        response - of the callback filter (.../formcycle/auth/callback).
        filterChain - of the callback filter (.../formcycle/auth/callback).
        authenticationParams - the authentication parameters that have been sent originally to the login filter and are now retrieved via some kind of relay state. It is not guaranteed that these authentication parameters will be present if the default login logic is not used (see AuthLogicHelper).