Package org.keycloak.keys
Class GeneratedHmacKeyProviderFactory
java.lang.Object
org.keycloak.keys.AbstractGeneratedSecretKeyProviderFactory<GeneratedHmacKeyProvider>
org.keycloak.keys.GeneratedHmacKeyProviderFactory
- All Implemented Interfaces:
ComponentFactory<GeneratedHmacKeyProvider,
,KeyProvider> KeyProviderFactory<GeneratedHmacKeyProvider>
,ConfiguredProvider
,ProviderFactory<KeyProvider>
public class GeneratedHmacKeyProviderFactory
extends AbstractGeneratedSecretKeyProviderFactory<GeneratedHmacKeyProvider>
- Author:
- Stian Thorgersen
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(KeycloakSession session, ComponentModel model) boolean
createFallbackKeys
(KeycloakSession session, KeyUse keyUse, String algorithm) protected int
getId()
protected org.jboss.logging.Logger
logger()
Methods inherited from class org.keycloak.keys.AbstractGeneratedSecretKeyProviderFactory
validateConfiguration
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, init, postInit
Methods inherited from interface org.keycloak.provider.ProviderFactory
dependsOn, getConfigMetadata, order
-
Field Details
-
ID
- See Also:
-
DEFAULT_HMAC_KEY_SIZE
public static final int DEFAULT_HMAC_KEY_SIZE- See Also:
-
-
Constructor Details
-
GeneratedHmacKeyProviderFactory
public GeneratedHmacKeyProviderFactory()
-
-
Method Details
-
create
-
createFallbackKeys
-
getHelpText
-
getConfigProperties
-
getId
-
logger
protected org.jboss.logging.Logger logger()- Specified by:
logger
in classAbstractGeneratedSecretKeyProviderFactory<GeneratedHmacKeyProvider>
-
getDefaultKeySize
protected int getDefaultKeySize()- Specified by:
getDefaultKeySize
in classAbstractGeneratedSecretKeyProviderFactory<GeneratedHmacKeyProvider>
-