Package org.apereo.cas.ws.idp.web
Record Class WSFederationRequest
java.lang.Object
java.lang.Record
org.apereo.cas.ws.idp.web.WSFederationRequest
public record WSFederationRequest(String wtrealm, String wreply, String wctx, String wfresh, String whr, String wresult, String relayState, String samlResponse, String state, String code, String wa, String wauth, String wreq)
extends Record
This is
WSFederationRequest.- Since:
- 5.1.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncode()Returns the value of thecoderecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static WSFederationRequestof(jakarta.servlet.http.HttpServletRequest request) Create federation request.Returns the value of therelayStaterecord component.Returns the value of thesamlResponserecord component.state()Returns the value of thestaterecord component.final StringtoString()Returns a string representation of this record class.wa()Returns the value of thewarecord component.wauth()Returns the value of thewauthrecord component.wctx()Returns the value of thewctxrecord component.wfresh()Returns the value of thewfreshrecord component.whr()Returns the value of thewhrrecord component.wreply()Returns the value of thewreplyrecord component.wreq()Returns the value of thewreqrecord component.wresult()Returns the value of thewresultrecord component.wtrealm()Returns the value of thewtrealmrecord component.
-
Constructor Details
-
WSFederationRequest
public WSFederationRequest(String wtrealm, String wreply, String wctx, String wfresh, String whr, String wresult, String relayState, String samlResponse, String state, String code, String wa, String wauth, String wreq) Creates an instance of aWSFederationRequestrecord class.- Parameters:
wtrealm- the value for thewtrealmrecord componentwreply- the value for thewreplyrecord componentwctx- the value for thewctxrecord componentwfresh- the value for thewfreshrecord componentwhr- the value for thewhrrecord componentwresult- the value for thewresultrecord componentrelayState- the value for therelayStaterecord componentsamlResponse- the value for thesamlResponserecord componentstate- the value for thestaterecord componentcode- the value for thecoderecord componentwa- the value for thewarecord componentwauth- the value for thewauthrecord componentwreq- the value for thewreqrecord component
-
-
Method Details
-
of
Create federation request.- Parameters:
request- the request- Returns:
- the federation request
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
wtrealm
Returns the value of thewtrealmrecord component.- Returns:
- the value of the
wtrealmrecord component
-
wreply
Returns the value of thewreplyrecord component.- Returns:
- the value of the
wreplyrecord component
-
wctx
Returns the value of thewctxrecord component.- Returns:
- the value of the
wctxrecord component
-
wfresh
Returns the value of thewfreshrecord component.- Returns:
- the value of the
wfreshrecord component
-
whr
Returns the value of thewhrrecord component.- Returns:
- the value of the
whrrecord component
-
wresult
Returns the value of thewresultrecord component.- Returns:
- the value of the
wresultrecord component
-
relayState
Returns the value of therelayStaterecord component.- Returns:
- the value of the
relayStaterecord component
-
samlResponse
Returns the value of thesamlResponserecord component.- Returns:
- the value of the
samlResponserecord component
-
state
Returns the value of thestaterecord component.- Returns:
- the value of the
staterecord component
-
code
Returns the value of thecoderecord component.- Returns:
- the value of the
coderecord component
-
wa
Returns the value of thewarecord component.- Returns:
- the value of the
warecord component
-
wauth
Returns the value of thewauthrecord component.- Returns:
- the value of the
wauthrecord component
-
wreq
Returns the value of thewreqrecord component.- Returns:
- the value of the
wreqrecord component
-