Package org.keycloak.keys
Class GeneratedEddsaKeyProviderFactory
java.lang.Object
org.keycloak.keys.AbstractEddsaKeyProviderFactory
org.keycloak.keys.GeneratedEddsaKeyProviderFactory
- All Implemented Interfaces:
ComponentFactory
,KeyProviderFactory
,ConfiguredProvider
,ProviderFactory
- Author:
- Takashi Norimatsu
-
Field Summary
Fields inherited from class org.keycloak.keys.AbstractEddsaKeyProviderFactory
EDDSA_ELLIPTIC_CURVE_KEY, EDDSA_ELLIPTIC_CURVE_PROPERTY, EDDSA_PRIVATE_KEY_KEY, EDDSA_PUBLIC_KEY_KEY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(KeycloakSession session, ComponentModel model) boolean
createFallbackKeys
(KeycloakSession session, KeyUse keyUse, String algorithm) getId()
void
validateConfiguration
(KeycloakSession session, RealmModel realm, ComponentModel model) Called before a component is created or updated.Methods inherited from class org.keycloak.keys.AbstractEddsaKeyProviderFactory
configurationBuilder, generateEddsaKeyPair
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
getConfigMetadata, order
-
Field Details
-
ID
- See Also:
-
DEFAULT_EDDSA_ELLIPTIC_CURVE
- See Also:
-
-
Constructor Details
-
GeneratedEddsaKeyProviderFactory
public GeneratedEddsaKeyProviderFactory()
-
-
Method Details
-
create
-
createFallbackKeys
-
getHelpText
-
getConfigProperties
-
getId
-
validateConfiguration
public void validateConfiguration(KeycloakSession session, RealmModel realm, ComponentModel model) throws ComponentValidationException Description copied from interface:ComponentFactory
Called before a component is created or updated. Allows you to validate the configuration- Specified by:
validateConfiguration
in interfaceComponentFactory
- Overrides:
validateConfiguration
in classAbstractEddsaKeyProviderFactory
- Throws:
ComponentValidationException
-