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
Since:
5.1.0
  • Constructor Summary

    Constructors
    Constructor
    Description
    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 a WSFederationRequest record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the value of the code record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    of(jakarta.servlet.http.HttpServletRequest request)
    Create federation request.
    Returns the value of the relayState record component.
    Returns the value of the samlResponse record component.
    Returns the value of the state record component.
    final String
    Returns a string representation of this record class.
    wa()
    Returns the value of the wa record component.
    Returns the value of the wauth record component.
    Returns the value of the wctx record component.
    Returns the value of the wfresh record component.
    whr()
    Returns the value of the whr record component.
    Returns the value of the wreply record component.
    Returns the value of the wreq record component.
    Returns the value of the wresult record component.
    Returns the value of the wtrealm record component.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • 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 a WSFederationRequest record class.
      Parameters:
      wtrealm - the value for the wtrealm record component
      wreply - the value for the wreply record component
      wctx - the value for the wctx record component
      wfresh - the value for the wfresh record component
      whr - the value for the whr record component
      wresult - the value for the wresult record component
      relayState - the value for the relayState record component
      samlResponse - the value for the samlResponse record component
      state - the value for the state record component
      code - the value for the code record component
      wa - the value for the wa record component
      wauth - the value for the wauth record component
      wreq - the value for the wreq record component
  • Method Details

    • of

      public static WSFederationRequest of(jakarta.servlet.http.HttpServletRequest request)
      Create federation request.
      Parameters:
      request - the request
      Returns:
      the federation request
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • wtrealm

      public String wtrealm()
      Returns the value of the wtrealm record component.
      Returns:
      the value of the wtrealm record component
    • wreply

      public String wreply()
      Returns the value of the wreply record component.
      Returns:
      the value of the wreply record component
    • wctx

      public String wctx()
      Returns the value of the wctx record component.
      Returns:
      the value of the wctx record component
    • wfresh

      public String wfresh()
      Returns the value of the wfresh record component.
      Returns:
      the value of the wfresh record component
    • whr

      public String whr()
      Returns the value of the whr record component.
      Returns:
      the value of the whr record component
    • wresult

      public String wresult()
      Returns the value of the wresult record component.
      Returns:
      the value of the wresult record component
    • relayState

      public String relayState()
      Returns the value of the relayState record component.
      Returns:
      the value of the relayState record component
    • samlResponse

      public String samlResponse()
      Returns the value of the samlResponse record component.
      Returns:
      the value of the samlResponse record component
    • state

      public String state()
      Returns the value of the state record component.
      Returns:
      the value of the state record component
    • code

      public String code()
      Returns the value of the code record component.
      Returns:
      the value of the code record component
    • wa

      public String wa()
      Returns the value of the wa record component.
      Returns:
      the value of the wa record component
    • wauth

      public String wauth()
      Returns the value of the wauth record component.
      Returns:
      the value of the wauth record component
    • wreq

      public String wreq()
      Returns the value of the wreq record component.
      Returns:
      the value of the wreq record component