java.lang.Object
org.springframework.security.oauth2.server.authorization.authentication.OAuth2TokenExchangeActor
All Implemented Interfaces:
org.springframework.security.oauth2.core.ClaimAccessor

public final class OAuth2TokenExchangeActor extends Object implements org.springframework.security.oauth2.core.ClaimAccessor
A ClaimAccessor used for the OAuth 2.0 Token Exchange Grant to represent an actor in a OAuth2TokenExchangeCompositeAuthenticationToken (e.g. the "delegation" use case).
Since:
1.3
See Also:
  • Constructor Details

    • OAuth2TokenExchangeActor

      public OAuth2TokenExchangeActor(Map<String,Object> claims)
  • Method Details

    • getClaims

      public Map<String,Object> getClaims()
      Specified by:
      getClaims in interface org.springframework.security.oauth2.core.ClaimAccessor
    • getIssuer

      public String getIssuer()
    • getSubject

      public String getSubject()
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object