Package org.apache.polaris.service.auth
Class JWTRSAKeyPair
java.lang.Object
org.apache.polaris.service.auth.JWTBroker
org.apache.polaris.service.auth.JWTRSAKeyPair
- All Implemented Interfaces:
TokenBroker
Generates a JWT using a Public/Private RSA Key
-
Constructor Summary
ConstructorsConstructorDescriptionJWTRSAKeyPair(org.apache.polaris.core.persistence.PolarisMetaStoreManager metaStoreManager, int maxTokenGenerationInSeconds, KeyProvider keyProvider) -
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
-
JWTRSAKeyPair
public JWTRSAKeyPair(org.apache.polaris.core.persistence.PolarisMetaStoreManager metaStoreManager, int maxTokenGenerationInSeconds, KeyProvider keyProvider)
-
-
Method Details
-
getAlgorithm
public com.auth0.jwt.algorithms.Algorithm getAlgorithm()- Specified by:
getAlgorithmin classJWTBroker
-