Class AuthnRequestInfo


  • public class AuthnRequestInfo
    extends CacheObject
    This class stores information about the request made to the Service Provider.
    • Constructor Detail

      • AuthnRequestInfo

        public AuthnRequestInfo​(jakarta.servlet.http.HttpServletRequest request,
                                jakarta.servlet.http.HttpServletResponse response,
                                String realm,
                                String spEntityID,
                                String idpEntityID,
                                AuthnRequest authnReq,
                                String relayState,
                                Map paramsMap)
        Constructor creates the AuthnRequest Info for a request.
        Parameters:
        request - the HttpServletRequest
        response - the HttpServletResponse
        realm - to which the Service Provider belongs.
        spEntityID - the entityID of Service Provider.
        authnReq - the Authentication Request Object
        relayState - the Redirection URL on completion of Request.
        paramsMap - Map of other parameters sent by the requester.
    • Method Detail

      • getRealm

        public String getRealm()
        Returns the realm.
        Returns:
        realm to which SP belongs.
      • getSPEntityID

        protected String getSPEntityID()
        Returns the Service Provider Entity ID.
        Returns:
        Service Provider Identifier.
      • getIDPEntityID

        protected String getIDPEntityID()
        Returns the Identity Provider Entity ID.
        Returns:
        the Identity Provider Identifier.
      • getAuthnRequest

        public AuthnRequest getAuthnRequest()
        Returns the AuthnRequest Object.
        Returns:
        the AuthnRequest Object.
      • getParamsMap

        protected Map getParamsMap()
        Returns the Map of parameters in the Request.
        Returns:
        Map of request parameters.
      • getRelayState

        protected String getRelayState()
        Returns the RelayState parameter value.
        Returns:
        the RelayState parameter value.
      • getServletRequest

        protected jakarta.servlet.http.HttpServletRequest getServletRequest()
        Returns the HttpServletRequest object
        Returns:
        the HttpServletRequest object.
      • getServletResponse

        protected jakarta.servlet.http.HttpServletResponse getServletResponse()
        Returns the HttpServletResponse parameter value.
        Returns:
        the HttpServletResponse object.