Class OidcClientInitiatedServerLogoutSuccessHandler

    • Method Detail

      • setPostLogoutRedirectUri

        @Deprecated
        public void setPostLogoutRedirectUri​(java.net.URI postLogoutRedirectUri)
        Set the post logout redirect uri to use
        Parameters:
        postLogoutRedirectUri - - A valid URL to which the OP should redirect after logging out the user
      • setPostLogoutRedirectUri

        public void setPostLogoutRedirectUri​(java.lang.String postLogoutRedirectUri)
        Set the post logout redirect uri template to use. Supports the "{baseUrl}" placeholder, for example:
                handler.setPostLogoutRedirectUri("{baseUrl}");
         
        will make so that post_logout_redirect_uri will be set to the base url for the client application.
        Parameters:
        postLogoutRedirectUri - - A template for creating the post_logout_redirect_uri query parameter
        Since:
        5.3
      • setLogoutSuccessUrl

        public void setLogoutSuccessUrl​(java.net.URI logoutSuccessUrl)
        The URL to redirect to after successfully logging out when not originally an OIDC login
        Parameters:
        logoutSuccessUrl - the url to redirect to. Default is "/login?logout".