Class TrustedHostClientRegistrationPolicyFactory
java.lang.Object
org.keycloak.services.clientregistration.policy.AbstractClientRegistrationPolicyFactory
org.keycloak.services.clientregistration.policy.impl.TrustedHostClientRegistrationPolicyFactory
- All Implemented Interfaces:
ComponentFactory<ClientRegistrationPolicy,
,ClientRegistrationPolicy> ConfiguredProvider
,ProviderFactory<ClientRegistrationPolicy>
,ClientRegistrationPolicyFactory
public class TrustedHostClientRegistrationPolicyFactory
extends AbstractClientRegistrationPolicyFactory
- Author:
- Marek Posolda
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
Fields inherited from class org.keycloak.services.clientregistration.policy.AbstractClientRegistrationPolicyFactory
sessionFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(KeycloakSession session, ComponentModel model) getId()
void
validateConfiguration
(KeycloakSession session, RealmModel realm, ComponentModel config) Called before a component is created or updated.Methods inherited from class org.keycloak.services.clientregistration.policy.AbstractClientRegistrationPolicyFactory
close, getConfigProperties, init, postInit
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.provider.ProviderFactory
dependsOn, getConfigMetadata, order
-
Field Details
-
PROVIDER_ID
- See Also:
-
TRUSTED_HOSTS
- See Also:
-
HOST_SENDING_REGISTRATION_REQUEST_MUST_MATCH
- See Also:
-
CLIENT_URIS_MUST_MATCH
- See Also:
-
-
Constructor Details
-
TrustedHostClientRegistrationPolicyFactory
public TrustedHostClientRegistrationPolicyFactory()
-
-
Method Details
-
create
-
getHelpText
-
getConfigProperties
-
getId
-
validateConfiguration
public void validateConfiguration(KeycloakSession session, RealmModel realm, ComponentModel config) 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<ClientRegistrationPolicy,
ClientRegistrationPolicy> - Overrides:
validateConfiguration
in classAbstractClientRegistrationPolicyFactory
- Throws:
ComponentValidationException
-