Interface ResponseProcessingInput


  • public interface ResponseProcessingInput
    Represents the input passed along with a SAML Response to the ResponseProcessor.
    Author:
    Martin Lindström (martin.lindstrom@litsec.se)
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      AuthnRequest getAuthnRequest()
      Returns the authentication request message that corresponds to the response message being processed.
      String getClientIpAddress()
      If the validation should perform a check of the Address(es) found in the assertion, this method should return the address of the client, otherwise return null.
      long getReceiveInstant()
      Returns the timestamp (epoch since 1970) when the response was received.
      String getReceiveURL()
      Returns the URL on which the response message was received.
      String getRelayState()
      Returns the RelayState that was included in the request (or null if none was sent).
    • Method Detail

      • getAuthnRequest

        AuthnRequest getAuthnRequest()
        Returns the authentication request message that corresponds to the response message being processed.
        Returns:
        the AuthnRequest message or null if no message is available
      • getRelayState

        String getRelayState()
        Returns the RelayState that was included in the request (or null if none was sent).
        Returns:
        the RelayState variable or null
      • getReceiveURL

        String getReceiveURL()
        Returns the URL on which the response message was received.
        Returns:
        the receive URL
      • getReceiveInstant

        long getReceiveInstant()
        Returns the timestamp (epoch since 1970) when the response was received.
        Returns:
        the receive timestamp
      • getClientIpAddress

        String getClientIpAddress()
        If the validation should perform a check of the Address(es) found in the assertion, this method should return the address of the client, otherwise return null.
        Returns:
        the client IP address of null if no check should be made