Package org.keycloak.keys
Class AbstractGeneratedRsaKeyProviderFactory
- java.lang.Object
- 
- org.keycloak.keys.AbstractRsaKeyProviderFactory
- 
- org.keycloak.keys.AbstractGeneratedRsaKeyProviderFactory
 
 
- 
- All Implemented Interfaces:
- ComponentFactory,- KeyProviderFactory,- ConfiguredProvider,- ProviderFactory
 - Direct Known Subclasses:
- GeneratedRsaEncKeyProviderFactory,- GeneratedRsaKeyProviderFactory
 
 public abstract class AbstractGeneratedRsaKeyProviderFactory extends AbstractRsaKeyProviderFactory 
- 
- 
Constructor SummaryConstructors Constructor Description AbstractGeneratedRsaKeyProviderFactory()
 - 
Method SummaryAll Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleancreateFallbackKeys(KeycloakSession session, KeyUse keyUse, String algorithm)protected abstract org.jboss.logging.LoggergetLogger()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, init, postInit
 - 
Methods inherited from interface org.keycloak.provider.ProviderFactorygetConfigMetadata, getId, order
 
- 
 
- 
- 
- 
Method Detail- 
getLoggerprotected abstract org.jboss.logging.Logger getLogger() 
 - 
rsaKeyConfigurationBuilderpublic static final ProviderConfigurationBuilder rsaKeyConfigurationBuilder() 
 - 
createFallbackKeyspublic boolean createFallbackKeys(KeycloakSession session, KeyUse keyUse, String algorithm) 
 - 
isValidKeyUseprotected abstract boolean isValidKeyUse(KeyUse keyUse) 
 - 
isSupportedRsaAlgorithmprotected abstract boolean isSupportedRsaAlgorithm(String algorithm) 
 - 
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
 
 
- 
 
-