Class SSOAuthenticationController


  • @RestController
    @RequestMapping("/authenticate")
    public class SSOAuthenticationController
    extends java.lang.Object
    Controller used to generate OAuth2 token based on SSO authentication
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.springframework.security.oauth2.common.OAuth2AccessToken generateOAuthTokenFromSSO​(javax.servlet.http.HttpServletRequest request, SSOCredentials credentials)  
      protected javax.servlet.http.Cookie getSamlCookie​(javax.servlet.http.HttpServletRequest request)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SSOAuthenticationController

        public SSOAuthenticationController()
    • Method Detail

      • generateOAuthTokenFromSSO

        @PostMapping
        @ResponseStatus(CREATED)
        @ResponseBody
        public org.springframework.security.oauth2.common.OAuth2AccessToken generateOAuthTokenFromSSO​(javax.servlet.http.HttpServletRequest request,
                                                                                                      @RequestBody
                                                                                                      SSOCredentials credentials)
      • getSamlCookie

        protected javax.servlet.http.Cookie getSamlCookie​(javax.servlet.http.HttpServletRequest request)