Class ATServer2

    • Constructor Detail

      • ATServer2

        public ATServer2​(edu.uiuc.ncsa.security.servlet.ServiceClient serviceClient,
                         URI issuer,
                         String wellKnown,
                         boolean oidcEnabled,
                         long expiresIn,
                         boolean useBasicAuth)
    • Method Detail

      • processATRequest

        public ATResponse processATRequest​(ATRequest atRequest)
        Processes access token request
        Specified by:
        processATRequest in interface ATServer
        Parameters:
        atRequest - Access token request
        Returns:
        Access token response
      • getAccessToken

        protected ATResponse2 getAccessToken​(ATRequest atRequest)
        Gets access token. This also returns the refresh token (if any) in the response. Note that there are claims that are returned in the a parameter map for the "subject" and the "issued at" claims. Neither of these require any processing here, but clients should have them available to enforce policies. The id token is returned as a parameter in the response as well as a json object.
        Parameters:
        atRequest - Access token request
        Returns:
        Access token response