Class JwtTokenAuthentication
- java.lang.Object
-
- com.cumulocity.microservice.security.token.JwtTokenAuthentication
-
- All Implemented Interfaces:
Serializable
,Principal
,org.springframework.security.core.Authentication
public class JwtTokenAuthentication extends Object implements org.springframework.security.core.Authentication
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JwtTokenAuthentication()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<? extends org.springframework.security.core.GrantedAuthority>
getAuthorities()
JwtCredentials
getCredentials()
Object
getDetails()
String
getName()
Object
getPrincipal()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
getAuthorities
public Collection<? extends org.springframework.security.core.GrantedAuthority> getAuthorities()
- Specified by:
getAuthorities
in interfaceorg.springframework.security.core.Authentication
-
getCredentials
public JwtCredentials getCredentials()
- Specified by:
getCredentials
in interfaceorg.springframework.security.core.Authentication
-
getDetails
public Object getDetails()
- Specified by:
getDetails
in interfaceorg.springframework.security.core.Authentication
-
getPrincipal
public Object getPrincipal()
- Specified by:
getPrincipal
in interfaceorg.springframework.security.core.Authentication
-
-