Class PAIResponse2

  • All Implemented Interfaces:
    Response, IssuerResponse, PAResponse

    public class PAIResponse2
    extends IResponse2
    implements PAResponse
    Protected asset (cert) issuer response for OIDC. This has to include the servlet request since the headers have to be processed for various bits of information.

    Created by Jeff Gaynor
    on 6/5/13 at 9:31 AM

    • Constructor Detail

      • PAIResponse2

        public PAIResponse2​(boolean isOIDC)
    • Method Detail

      • getAccessToken

        public AccessToken getAccessToken()
        Getter for access token
        Specified by:
        getAccessToken in interface PAResponse
        Returns:
        access token associated with request
      • setAccessToken

        public void setAccessToken​(AccessToken accessToken)
        Setter for access token
        Parameters:
        accessToken - Access token to use
      • setProtectedAsset

        public void setProtectedAsset​(ProtectedAsset protectedAsset)
        Setter for protected asset (cert)
        Specified by:
        setProtectedAsset in interface PAResponse
        Parameters:
        protectedAsset - Protected asset
      • setAdditionalInformation

        public void setAdditionalInformation​(Map<String,​String> additionalInformation)
        Setter for additional information
        Specified by:
        setAdditionalInformation in interface PAResponse
        Parameters:
        additionalInformation - Additional information Map (param, value)
      • write

        public void write​(javax.servlet.http.HttpServletResponse response)
                   throws IOException
        Write cert response to output stream
        Specified by:
        write in interface IssuerResponse
        Parameters:
        response - Response to write to
        Throws:
        IOException