Class OAuth2UserSuccessHandler

java.lang.Object
sk.iway.iwcm.system.spring.oauth2.AbstractOAuth2SuccessHandler
sk.iway.iwcm.system.spring.oauth2.OAuth2UserSuccessHandler
All Implemented Interfaces:
org.springframework.security.web.authentication.AuthenticationSuccessHandler

public class OAuth2UserSuccessHandler extends AbstractOAuth2SuccessHandler
OAuth2 Success Handler for customer zone (user logon) Unlike OAuth2AdminSuccessHandler for admin zone: - Does not set isAdmin flag - Does not set permission groups - Maps only user groups
  • Constructor Details

    • OAuth2UserSuccessHandler

      public OAuth2UserSuccessHandler()
  • Method Details

    • onAuthenticationSuccess

      public void onAuthenticationSuccess(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication) throws IOException
      Specified by:
      onAuthenticationSuccess in interface org.springframework.security.web.authentication.AuthenticationSuccessHandler
      Specified by:
      onAuthenticationSuccess in class AbstractOAuth2SuccessHandler
      Throws:
      IOException