Package org.keycloak.keys
Class AbstractImportedRsaKeyProviderFactory
- java.lang.Object
- 
- org.keycloak.keys.AbstractRsaKeyProviderFactory
- 
- org.keycloak.keys.AbstractImportedRsaKeyProviderFactory
 
 
- 
- All Implemented Interfaces:
- ComponentFactory,- KeyProviderFactory,- ConfiguredProvider,- ProviderFactory
 - Direct Known Subclasses:
- ImportedRsaEncKeyProviderFactory,- ImportedRsaKeyProviderFactory
 
 public abstract class AbstractImportedRsaKeyProviderFactory extends AbstractRsaKeyProviderFactory - Author:
- Stian Thorgersen, Filipe Bojikian Rissi
 
- 
- 
Constructor SummaryConstructors Constructor Description AbstractImportedRsaKeyProviderFactory()
 - 
Method SummaryAll Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract booleanisSupportedRsaAlgorithm(String algorithm)protected abstract booleanisValidKeyUse(KeyUse keyUse)static ProviderConfigurationBuilderrsaKeyConfigurationBuilder()voidvalidateConfiguration(KeycloakSession session, RealmModel realm, ComponentModel model)Called before a component is created or updated.- 
Methods inherited from class org.keycloak.keys.AbstractRsaKeyProviderFactoryconfigurationBuilder
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.keycloak.component.ComponentFactorycreate, getCommonProviderConfigProperties, getTypeMetadata, onCreate, onUpdate, preRemove
 - 
Methods inherited from interface org.keycloak.provider.ConfiguredProvidergetConfig, getConfigProperties, getHelpText
 - 
Methods inherited from interface org.keycloak.keys.KeyProviderFactoryclose, create, createFallbackKeys, init, postInit
 - 
Methods inherited from interface org.keycloak.provider.ProviderFactorygetConfigMetadata, getId, order
 
- 
 
- 
- 
- 
Method Detail- 
rsaKeyConfigurationBuilderpublic static final ProviderConfigurationBuilder rsaKeyConfigurationBuilder() 
 - 
validateConfigurationpublic void validateConfiguration(KeycloakSession session, RealmModel realm, ComponentModel model) throws ComponentValidationException Description copied from interface:ComponentFactoryCalled before a component is created or updated. Allows you to validate the configuration- Specified by:
- validateConfigurationin interface- ComponentFactory
- Overrides:
- validateConfigurationin class- AbstractRsaKeyProviderFactory
- Throws:
- ComponentValidationException
 
 - 
isValidKeyUseprotected abstract boolean isValidKeyUse(KeyUse keyUse) 
 - 
isSupportedRsaAlgorithmprotected abstract boolean isSupportedRsaAlgorithm(String algorithm) 
 
- 
 
-