Package org.apache.polaris.service.auth
Class JWTSymmetricKeyBroker
java.lang.Object
org.apache.polaris.service.auth.JWTBroker
org.apache.polaris.service.auth.JWTSymmetricKeyBroker
- All Implemented Interfaces:
TokenBroker
Generates a JWT using a Symmetric Key.
-
Constructor Summary
ConstructorsConstructorDescriptionJWTSymmetricKeyBroker(org.apache.polaris.core.persistence.PolarisMetaStoreManager metaStoreManager, int maxTokenGenerationInSeconds, Supplier<String> secretSupplier) -
Method Summary
Methods inherited from class org.apache.polaris.service.auth.JWTBroker
generateFromClientSecrets, generateFromToken, supportsGrantType, supportsRequestedTokenType, verifyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.polaris.service.auth.TokenBroker
generateFromClientSecrets, generateFromToken
-
Constructor Details
-
JWTSymmetricKeyBroker
-
-
Method Details
-
getAlgorithm
public com.auth0.jwt.algorithms.Algorithm getAlgorithm()- Specified by:
getAlgorithmin classJWTBroker
-