Class SamlAuthenticationResult.StatusReceived

java.lang.Object
com.revetsec.saml.SamlAuthenticationResult.StatusReceived
All Implemented Interfaces:
SamlAuthenticationResult
Enclosing interface:
SamlAuthenticationResult

A request-bound non-success IdP status. Authentication reports whether a verified Response signature covered that status. It never contains an identity.
Since:
1.0.0
  • Method Details

    • getStatusCode

      Returns a bounded status classification. A recognized immediate AuthnFailed, NoAuthnContext or RequestDenied subcode under Requester/Responder supplies the classification; otherwise the primary code supplies it. Deeper extension codes are shape-checked but do not override it. This classification alone is not signature proof; consult isAuthenticated() separately.
      Returns:
      status code
      Since:
      1.0.0
    • isAuthenticated

      Reports whether the trusted IdP signed the Response containing this status.
      Returns:
      true when authenticated
      Since:
      1.0.0
    • toString

      Redacts the received response.
      Overrides:
      toString in class Object
      Returns:
      fixed description
      Since:
      1.0.0