Package org.keycloak.keys
Class ImportedRsaKeyProviderFactory
- java.lang.Object
-
- org.keycloak.keys.AbstractRsaKeyProviderFactory
-
- org.keycloak.keys.AbstractImportedRsaKeyProviderFactory
-
- org.keycloak.keys.ImportedRsaKeyProviderFactory
-
- All Implemented Interfaces:
ComponentFactory
,KeyProviderFactory
,ConfiguredProvider
,ProviderFactory
public class ImportedRsaKeyProviderFactory extends AbstractImportedRsaKeyProviderFactory
- Author:
- Stian Thorgersen
-
-
Constructor Summary
Constructors Constructor Description ImportedRsaKeyProviderFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyProvider
create(KeycloakSession session, ComponentModel model)
List<ProviderConfigProperty>
getConfigProperties()
String
getHelpText()
String
getId()
protected boolean
isSupportedRsaAlgorithm(String algorithm)
protected boolean
isValidKeyUse(KeyUse keyUse)
-
Methods inherited from class org.keycloak.keys.AbstractImportedRsaKeyProviderFactory
rsaKeyConfigurationBuilder, validateConfiguration
-
Methods inherited from class org.keycloak.keys.AbstractRsaKeyProviderFactory
configurationBuilder
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.keycloak.component.ComponentFactory
create, getCommonProviderConfigProperties, getTypeMetadata, onCreate, onUpdate, preRemove
-
Methods inherited from interface org.keycloak.provider.ConfiguredProvider
getConfig
-
Methods inherited from interface org.keycloak.keys.KeyProviderFactory
close, createFallbackKeys, init, postInit
-
Methods inherited from interface org.keycloak.provider.ProviderFactory
getConfigMetadata, order
-
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
create
public KeyProvider create(KeycloakSession session, ComponentModel model)
-
getHelpText
public String getHelpText()
-
getConfigProperties
public List<ProviderConfigProperty> getConfigProperties()
-
isValidKeyUse
protected boolean isValidKeyUse(KeyUse keyUse)
- Specified by:
isValidKeyUse
in classAbstractImportedRsaKeyProviderFactory
-
isSupportedRsaAlgorithm
protected boolean isSupportedRsaAlgorithm(String algorithm)
- Specified by:
isSupportedRsaAlgorithm
in classAbstractImportedRsaKeyProviderFactory
-
getId
public String getId()
-
-