Class OAuth2TokenExchangeCompositeAuthenticationToken
java.lang.Object
org.springframework.security.authentication.AbstractAuthenticationToken
org.springframework.security.oauth2.server.authorization.authentication.OAuth2TokenExchangeCompositeAuthenticationToken
- All Implemented Interfaces:
Serializable,Principal,org.springframework.security.core.Authentication,org.springframework.security.core.CredentialsContainer
public class OAuth2TokenExchangeCompositeAuthenticationToken
extends org.springframework.security.authentication.AbstractAuthenticationToken
An
Authentication implementation used for the OAuth 2.0 Token Exchange Grant to
represent the principal in a composite token (e.g. the "delegation" use case).- Since:
- 7.0
- 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
ConstructorsConstructorDescriptionOAuth2TokenExchangeCompositeAuthenticationToken(org.springframework.security.core.Authentication subject, List<OAuth2TokenExchangeActor> actors) -
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.springframework.security.core.AuthenticationinthashCode()Methods inherited from class org.springframework.security.authentication.AbstractAuthenticationToken
eraseCredentials, getAuthorities, getDetails, getName, isAuthenticated, setAuthenticated, setDetails, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.springframework.security.core.Authentication
toBuilder
-
Constructor Details
-
OAuth2TokenExchangeCompositeAuthenticationToken
public OAuth2TokenExchangeCompositeAuthenticationToken(org.springframework.security.core.Authentication subject, List<OAuth2TokenExchangeActor> actors)
-
-
Method Details
-
getPrincipal
-
getCredentials
-
getSubject
public org.springframework.security.core.Authentication getSubject() -
getActors
-
equals
-
hashCode
public int hashCode()
-