Class SamlSecureClientUrisExecutorFactory
java.lang.Object
org.keycloak.services.clientpolicy.executor.SamlSecureClientUrisExecutorFactory
- All Implemented Interfaces:
ConfiguredProvider,EnvironmentDependentProviderFactory,ProviderFactory<ClientPolicyExecutorProvider>,ClientPolicyExecutorProviderFactory
public class SamlSecureClientUrisExecutorFactory
extends Object
implements ClientPolicyExecutorProviderFactory
Executor factory that enforces that all URLs configured in a SAML client are secure (https). It also enforces that no wildcard valid redirect URIs are configured on update/creation (wildcards can be allowed via allow-wildcard-redirects configuration property).
- Author:
- rmartinc
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()This is called when the server shuts down.create(KeycloakSession session) getId()voidinit(Config.Scope config) Only called once when the factory is first created.voidpostInit(KeycloakSessionFactory factory) Called after all provider factories have been initializedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.services.clientpolicy.executor.ClientPolicyExecutorProviderFactory
isSupportedMethods inherited from interface org.keycloak.provider.ConfiguredProvider
getConfigMethods inherited from interface org.keycloak.provider.ProviderFactory
dependsOn, getConfigMetadata, order
-
Field Details
-
PROVIDER_ID
- See Also:
-
-
Constructor Details
-
SamlSecureClientUrisExecutorFactory
public SamlSecureClientUrisExecutorFactory()
-
-
Method Details
-
create
- Specified by:
createin interfaceProviderFactory<ClientPolicyExecutorProvider>
-
init
Description copied from interface:ProviderFactoryOnly called once when the factory is first created.- Specified by:
initin interfaceProviderFactory<ClientPolicyExecutorProvider>
-
postInit
Description copied from interface:ProviderFactoryCalled after all provider factories have been initialized- Specified by:
postInitin interfaceProviderFactory<ClientPolicyExecutorProvider>
-
close
public void close()Description copied from interface:ProviderFactoryThis is called when the server shuts down.- Specified by:
closein interfaceProviderFactory<ClientPolicyExecutorProvider>
-
getId
- Specified by:
getIdin interfaceProviderFactory<ClientPolicyExecutorProvider>
-
getHelpText
- Specified by:
getHelpTextin interfaceConfiguredProvider
-
getConfigProperties
- Specified by:
getConfigPropertiesin interfaceConfiguredProvider
-