Class JWSAuthentication
java.lang.Object
org.springframework.security.authentication.AbstractAuthenticationToken
org.activiti.cloud.services.notifications.qraphql.ws.security.JWSAuthentication
- All Implemented Interfaces:
Serializable,Principal,org.springframework.security.core.Authentication,org.springframework.security.core.CredentialsContainer
public class JWSAuthentication
extends org.springframework.security.authentication.AbstractAuthenticationToken
implements org.springframework.security.core.Authentication
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionJWSAuthentication(String token) JWSAuthentication(String token, org.springframework.security.core.userdetails.User principal, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities) JWSAuthentication(org.springframework.security.oauth2.server.resource.authentication.BearerTokenAuthenticationToken bearerTokenAuthenticationToken) -
Method Summary
Methods inherited from class org.springframework.security.authentication.AbstractAuthenticationToken
equals, eraseCredentials, getAuthorities, getDetails, getName, hashCode, 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
getAuthorities, getDetails, isAuthenticated, setAuthenticated
-
Constructor Details
-
JWSAuthentication
-
JWSAuthentication
public JWSAuthentication(org.springframework.security.oauth2.server.resource.authentication.BearerTokenAuthenticationToken bearerTokenAuthenticationToken) -
JWSAuthentication
public JWSAuthentication(String token, org.springframework.security.core.userdetails.User principal, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)
-
-
Method Details
-
getCredentials
- Specified by:
getCredentialsin interfaceorg.springframework.security.core.Authentication
-
getPrincipal
- Specified by:
getPrincipalin interfaceorg.springframework.security.core.Authentication
-