@Extension(ordinal=0.0) public class SimpleJwtAuthenticationStore extends JwtAuthenticationStoreFactory implements JwtAuthenticationStore
Constructor and Description |
---|
SimpleJwtAuthenticationStore() |
Modifier and Type | Method and Description |
---|---|
void |
add(String id,
org.acegisecurity.Authentication authentication) |
org.acegisecurity.Authentication |
get(String id) |
org.acegisecurity.Authentication |
getAuthentication(Map<String,Object> claims)
Given JWT claim give the authentication object
|
JwtAuthenticationStore |
getJwtAuthenticationStore(org.acegisecurity.Authentication authentication)
Resolves
JwtAuthenticationStore for given Authentication instance. |
JwtAuthenticationStore |
getJwtAuthenticationStore(Map<String,Object> claims)
Resolves
JwtAuthenticationStore for given Authentication instance. |
void |
store(org.acegisecurity.Authentication authentication,
Map<String,Object> claims)
Store authentication related information in JWT claims
|
all
public void add(String id, org.acegisecurity.Authentication authentication)
public org.acegisecurity.Authentication get(String id)
public org.acegisecurity.Authentication getAuthentication(Map<String,Object> claims)
JwtAuthenticationStore
getAuthentication
in interface JwtAuthenticationStore
claims
- JWT claimpublic void store(org.acegisecurity.Authentication authentication, Map<String,Object> claims)
JwtAuthenticationStore
store
in interface JwtAuthenticationStore
claims
- JWT claimpublic JwtAuthenticationStore getJwtAuthenticationStore(Map<String,Object> claims)
JwtAuthenticationStoreFactory
JwtAuthenticationStore
for given Authentication
instance.getJwtAuthenticationStore
in class JwtAuthenticationStoreFactory
claims
- JWT claimspublic JwtAuthenticationStore getJwtAuthenticationStore(org.acegisecurity.Authentication authentication)
JwtAuthenticationStoreFactory
JwtAuthenticationStore
for given Authentication
instance.getJwtAuthenticationStore
in class JwtAuthenticationStoreFactory
authentication
- Authentication
instanceCopyright © 2016–2018. All rights reserved.