public class AnterosSecurityOAuth2Authentication
extends org.springframework.security.oauth2.provider.OAuth2Authentication
| Constructor and Description |
|---|
AnterosSecurityOAuth2Authentication(Object principal,
org.springframework.security.oauth2.provider.OAuth2Authentication auth,
Collection<org.springframework.security.core.GrantedAuthority> authorities) |
| Modifier and Type | Method and Description |
|---|---|
Collection<org.springframework.security.core.GrantedAuthority> |
getAuthorities() |
Object |
getPrincipal() |
equals, eraseCredentials, getCredentials, getOAuth2Request, getUserAuthentication, hashCode, isAuthenticated, isClientOnlygetDetails, getName, setAuthenticated, setDetails, toStringpublic AnterosSecurityOAuth2Authentication(Object principal, org.springframework.security.oauth2.provider.OAuth2Authentication auth, Collection<org.springframework.security.core.GrantedAuthority> authorities)
public Object getPrincipal()
getPrincipal in interface org.springframework.security.core.AuthenticationgetPrincipal in class org.springframework.security.oauth2.provider.OAuth2Authenticationpublic Collection<org.springframework.security.core.GrantedAuthority> getAuthorities()
getAuthorities in interface org.springframework.security.core.AuthenticationgetAuthorities in class org.springframework.security.authentication.AbstractAuthenticationTokenCopyright © 2020 Anteros Tecnologia. All rights reserved.