Package com.totvs.tjf.mock.test
Class JWTTestProvider.TestAuthentication
- java.lang.Object
-
- org.springframework.security.authentication.AbstractAuthenticationToken
-
- com.totvs.tjf.mock.test.JWTTestProvider.TestAuthentication
-
- All Implemented Interfaces:
Serializable
,Principal
,org.springframework.security.core.Authentication
,org.springframework.security.core.CredentialsContainer
- Enclosing class:
- JWTTestProvider
protected static class JWTTestProvider.TestAuthentication extends org.springframework.security.authentication.AbstractAuthenticationToken
Test class extending the AbstractAuthenticationToken to use with the generated token.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TestAuthentication(String name, boolean authenticated, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities, String tenantId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object object)
Object
getCredentials()
Object
getPrincipal()
int
hashCode()
-
Methods inherited from class org.springframework.security.authentication.AbstractAuthenticationToken
eraseCredentials, getAuthorities, getDetails, getName, isAuthenticated, setAuthenticated, setDetails, toString
-
-
-
-
Constructor Detail
-
TestAuthentication
public TestAuthentication(String name, boolean authenticated, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities, String tenantId)
-
-