Class UnrecoverableSaml2IdpException.TraceAuthentication

java.lang.Object
org.springframework.security.authentication.AbstractAuthenticationToken
se.swedenconnect.spring.saml.idp.error.UnrecoverableSaml2IdpException.TraceAuthentication
All Implemented Interfaces:
Serializable, Principal, org.springframework.security.core.Authentication, org.springframework.security.core.CredentialsContainer
Enclosing class:
UnrecoverableSaml2IdpException

public static class UnrecoverableSaml2IdpException.TraceAuthentication extends org.springframework.security.authentication.AbstractAuthenticationToken
Dummy Authentication class that can be used if no Authentication object is available but the AuthnRequest ID and SP entityID are known.
Author:
Martin Lindström
See Also:
  • Constructor Details

    • TraceAuthentication

      public TraceAuthentication(String authnRequestId, String spEntityId)
      Constructor.
      Parameters:
      authnRequestId - the AuthnRequest ID
      spEntityId - the SP entityID
  • Method Details

    • getCredentials

      public Object getCredentials()
    • getPrincipal

      public Object getPrincipal()
    • getAuthnRequestId

      public String getAuthnRequestId()
    • getSpEntityId

      public String getSpEntityId()