Class UIIResponse2

    • Constructor Detail

      • UIIResponse2

        public UIIResponse2()
    • Method Detail

      • setAccessToken

        public void setAccessToken​(AccessToken accessToken)
      • write

        public void write​(javax.servlet.http.HttpServletResponse response)
                   throws IOException
        Write JSON User Info response to output stream
        Specified by:
        write in interface IssuerResponse
        Parameters:
        response -
        Throws:
        IOException
      • createJSON

        protected net.sf.json.JSONObject createJSON()
        Override this if needed. The default behavior is to serialize everything in the UserInfo object.
        Returns:
      • setParameters

        public void setParameters​(Map<String,​String> parameters)
      • getParameters

        public Map<String,​String> getParameters()
        Description copied from interface: IssuerResponse
        There may be several ways that parameters come in for a request. It is up to the implementation to parse them into key/value pairs and pass them back. Generally this includes everything that the client got.
        Specified by:
        getParameters in interface IssuerResponse
        Returns:
      • getUserInfo

        public UserInfo getUserInfo()
        Getter for UserInfo
        Returns:
        UserInfo
      • setUserInfo

        public void setUserInfo​(UserInfo userInfo)
        Setter for UserInfo
        Parameters:
        userInfo -