Class AbstactKeycloakDelegateAuthenticationHandler

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.keycloak.adapters.AdapterDeploymentContext deploymentContext
      Deprecated.
       
      protected org.keycloak.adapters.spi.SessionIdMapper idMapper
      Deprecated.
       
      protected static org.apache.logging.log4j.Logger log
      Deprecated.
       
      protected org.keycloak.adapters.NodesRegistrationManagement nodesRegistrationManagement
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void doAfterChain​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      Deprecated.
      Code to execute before the after to the filter chain.
      io.vertigo.core.lang.Tuple<Boolean,​javax.servlet.http.HttpServletRequest> doBeforeChain​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      Deprecated.
      Code to execute before the call to the filter chain.
      void doFinally​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      Deprecated.
      Code to execute in a finally block that wraps all the calls to this delegate and the filter chain
      abstract boolean doLogin​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      Deprecated.
       
      void init​(io.vertigo.connectors.keycloak.KeycloakDeploymentConnector keycloakDeploymentConnector)
      Deprecated.
       
    • Field Detail

      • log

        protected static final org.apache.logging.log4j.Logger log
        Deprecated.
      • deploymentContext

        protected org.keycloak.adapters.AdapterDeploymentContext deploymentContext
        Deprecated.
      • idMapper

        protected final org.keycloak.adapters.spi.SessionIdMapper idMapper
        Deprecated.
      • nodesRegistrationManagement

        protected org.keycloak.adapters.NodesRegistrationManagement nodesRegistrationManagement
        Deprecated.
    • Constructor Detail

      • AbstactKeycloakDelegateAuthenticationHandler

        public AbstactKeycloakDelegateAuthenticationHandler()
        Deprecated.
    • Method Detail

      • init

        public void init​(io.vertigo.connectors.keycloak.KeycloakDeploymentConnector keycloakDeploymentConnector)
        Deprecated.
      • doBeforeChain

        public io.vertigo.core.lang.Tuple<Boolean,​javax.servlet.http.HttpServletRequest> doBeforeChain​(javax.servlet.http.HttpServletRequest request,
                                                                                                             javax.servlet.http.HttpServletResponse response)
        Deprecated.
        Code to execute before the call to the filter chain.
        Specified by:
        doBeforeChain in interface DelegateAuthenticationFilterHandler
        Parameters:
        request - the httpRequest
        response - the httpResponse
        Returns:
        a tuple composed of two values : - a boolean to indicate wether the request has been handled in the method and chain must be stopped - the HttpRequest that will be transfered in the filter chain. (for example if you need to wrap it for any reason )
      • doLogin

        public abstract boolean doLogin​(javax.servlet.http.HttpServletRequest request,
                                        javax.servlet.http.HttpServletResponse response)
        Deprecated.
      • doAfterChain

        public void doAfterChain​(javax.servlet.http.HttpServletRequest request,
                                 javax.servlet.http.HttpServletResponse response)
        Deprecated.
        Code to execute before the after to the filter chain.
        Specified by:
        doAfterChain in interface DelegateAuthenticationFilterHandler
        Parameters:
        request - the httpRequest
        response - the httpResponse
      • doFinally

        public void doFinally​(javax.servlet.http.HttpServletRequest request,
                              javax.servlet.http.HttpServletResponse response)
        Deprecated.
        Code to execute in a finally block that wraps all the calls to this delegate and the filter chain
        Specified by:
        doFinally in interface DelegateAuthenticationFilterHandler
        Parameters:
        request - the httpRequest
        response - the httpResponse