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:
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.springframework.security.authentication.AbstractAuthenticationToken

    org.springframework.security.authentication.AbstractAuthenticationToken.AbstractAuthenticationBuilder<B extends org.springframework.security.authentication.AbstractAuthenticationToken.AbstractAuthenticationBuilder<B>>

    Nested classes/interfaces inherited from interface org.springframework.security.core.Authentication

    org.springframework.security.core.Authentication.Builder<B extends org.springframework.security.core.Authentication.Builder<B>>
  • Constructor Summary

    Constructors
    Constructor
    Description
    TraceAuthentication(String authnRequestId, String spEntityId)
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description

    Methods inherited from class org.springframework.security.authentication.AbstractAuthenticationToken

    equals, eraseCredentials, getAuthorities, getDetails, getName, hashCode, isAuthenticated, setAuthenticated, setDetails, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.springframework.security.core.Authentication

    toBuilder

    Methods inherited from interface java.security.Principal

    implies
  • 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()