Class SignedJWTIdentityStore
- java.lang.Object
-
- fish.payara.microprofile.jwtauth.eesecurity.SignedJWTIdentityStore
-
- All Implemented Interfaces:
jakarta.security.enterprise.identitystore.IdentityStore
public class SignedJWTIdentityStore extends Object implements jakarta.security.enterprise.identitystore.IdentityStore
Identity store capable of asserting that a signed JWT token is valid according to the MP-JWT 1.1 spec.- Author:
- Arjan Tijms
-
-
Constructor Summary
Constructors Constructor Description SignedJWTIdentityStore()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String
readConfig(String key, Optional<Properties> properties, org.eclipse.microprofile.config.Config config, String defaultValue)
Read configuration from Vendor or server or return default value.static Optional<String>
readConfigOptional(String key, Optional<Properties> properties, org.eclipse.microprofile.config.Config config)
static Optional<Properties>
readVendorProperties()
jakarta.security.enterprise.identitystore.CredentialValidationResult
validate(SignedJWTCredential signedJWTCredential)
-
-
-
Method Detail
-
validate
public jakarta.security.enterprise.identitystore.CredentialValidationResult validate(SignedJWTCredential signedJWTCredential)
-
readVendorProperties
public static Optional<Properties> readVendorProperties()
-
readConfig
public static String readConfig(String key, Optional<Properties> properties, org.eclipse.microprofile.config.Config config, String defaultValue)
Read configuration from Vendor or server or return default value.
-
readConfigOptional
public static Optional<String> readConfigOptional(String key, Optional<Properties> properties, org.eclipse.microprofile.config.Config config)
-
-