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:
- 1.3
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionOAuth2TokenExchangeCompositeAuthenticationToken
(org.springframework.security.core.Authentication subject, List<OAuth2TokenExchangeActor> actors) -
Method Summary
Modifier and TypeMethodDescriptionboolean
org.springframework.security.core.Authentication
int
hashCode()
Methods inherited from class org.springframework.security.authentication.AbstractAuthenticationToken
eraseCredentials, getAuthorities, getDetails, getName, isAuthenticated, setAuthenticated, setDetails, toString
-
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()
-