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