Class SSORESTController


  • @RestController
    @RequestMapping("auth")
    public class SSORESTController
    extends Object
    • Constructor Detail

      • SSORESTController

        public SSORESTController​(@Nullable
                                 TenantComponent tenantComponent)
    • Method Detail

      • authenticationSSORequest

        @RequestMapping(value="sso",
                        method=POST)
        public org.springframework.http.ResponseEntity<AuthenticationResponse> authenticationSSORequest​(@RequestParam(name="client_id")
                                                                                                        String client_id,
                                                                                                        @RequestParam(name="client_secret")
                                                                                                        String client_secret,
                                                                                                        @RequestParam(name="access_token")
                                                                                                        String access_token,
                                                                                                        javax.servlet.http.HttpServletRequest request,
                                                                                                        javax.servlet.http.HttpServletResponse response)
                                                                                                 throws org.springframework.security.core.AuthenticationException
        Throws:
        org.springframework.security.core.AuthenticationException
      • authenticationRequest

        @RequestMapping(method=POST)
        public org.springframework.http.ResponseEntity<AuthenticationResponse> authenticationRequest​(@RequestParam
                                                                                                     String username,
                                                                                                     String password,
                                                                                                     @RequestHeader(name="X-AUTH-TOKEN",required=false)
                                                                                                     String token,
                                                                                                     javax.servlet.http.HttpServletRequest request,
                                                                                                     javax.servlet.http.HttpServletResponse response)
                                                                                              throws org.springframework.security.core.AuthenticationException
        Throws:
        org.springframework.security.core.AuthenticationException
      • authenticationRequest

        @RequestMapping(value="refresh",
                        method=GET)
        public org.springframework.http.ResponseEntity<?> authenticationRequest​(javax.servlet.http.HttpServletRequest request,
                                                                                javax.servlet.http.HttpServletResponse response)
      • forwardLoginSSO

        @RequestMapping(value="/signin/sso",
                        method=GET)
        @ResponseBody
        public String forwardLoginSSO​(@RequestParam(name="_ctk")
                                      String _ctk,
                                      javax.servlet.http.HttpServletRequest request)