Package com.sun.identity.saml2.profile
Class AuthnRequestInfo
- java.lang.Object
-
- com.sun.identity.saml2.profile.CacheObject
-
- com.sun.identity.saml2.profile.AuthnRequestInfo
-
public class AuthnRequestInfo extends CacheObject
This class stores information about the request made to the Service Provider.
-
-
Field Summary
-
Fields inherited from class com.sun.identity.saml2.profile.CacheObject
time
-
-
Constructor Summary
Constructors Constructor Description 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthnRequestgetAuthnRequest()Returns theAuthnRequestObject.protected StringgetIDPEntityID()Returns the Identity Provider Entity ID.protected MapgetParamsMap()Returns the Map of parameters in the Request.StringgetRealm()Returns the realm.protected StringgetRelayState()Returns theRelayStateparameter value.protected jakarta.servlet.http.HttpServletRequestgetServletRequest()Returns theHttpServletRequestobjectprotected jakarta.servlet.http.HttpServletResponsegetServletResponse()Returns theHttpServletResponseparameter value.protected StringgetSPEntityID()Returns the Service Provider Entity ID.-
Methods inherited from class com.sun.identity.saml2.profile.CacheObject
getObject, getTime
-
-
-
-
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 HttpServletRequestresponse- the HttpServletResponserealm- to which the Service Provider belongs.spEntityID- the entityID of Service Provider.authnReq- the Authentication Request ObjectrelayState- 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 theAuthnRequestObject.- Returns:
- the
AuthnRequestObject.
-
getParamsMap
protected Map getParamsMap()
Returns the Map of parameters in the Request.- Returns:
- Map of request parameters.
-
getRelayState
protected String getRelayState()
Returns theRelayStateparameter value.- Returns:
- the RelayState parameter value.
-
getServletRequest
protected jakarta.servlet.http.HttpServletRequest getServletRequest()
Returns theHttpServletRequestobject- Returns:
- the
HttpServletRequestobject.
-
getServletResponse
protected jakarta.servlet.http.HttpServletResponse getServletResponse()
Returns theHttpServletResponseparameter value.- Returns:
- the
HttpServletResponseobject.
-
-