Class IdmanAuthHandler


  • @Path("/idman/auth")
    public class IdmanAuthHandler
    extends Object
    • Method Detail

      • startAuth

        @GET
        public javax.ws.rs.core.Response startAuth​(@HeaderParam("Referer")
                                                   String referrer,
                                                   @CookieParam("idman-local-redirect")
                                                   javax.ws.rs.core.Cookie localRedirect,
                                                   @QueryParam("error")
                                                   String error)
      • handleCallback

        @GET
        @Path("/callback")
        @Produces("application/json")
        public javax.ws.rs.core.Response handleCallback​(@CookieParam("idman-auth-state")
                                                        javax.ws.rs.core.Cookie cookieState,
                                                        @CookieParam("idman-local-redirect")
                                                        javax.ws.rs.core.Cookie localRedirect,
                                                        @QueryParam("state")
                                                        String clientSessionId,
                                                        @QueryParam("code")
                                                        String code,
                                                        @QueryParam("error")
                                                        String errorCode,
                                                        @QueryParam("error_description")
                                                        String errorDescription)
      • logout

        @Path("/logout")
        @POST
        @PermitAll
        public javax.ws.rs.core.Response logout​(ServiceUserPrincipal principal,
                                                @Context
                                                javax.servlet.http.HttpServletRequest requestContext)