Java Code Examples for org.keycloak.Config#Scope
The following examples show how to use
org.keycloak.Config#Scope .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: AbstractVaultProviderFactory.java From keycloak with Apache License 2.0 | 6 votes |
@Override public void init(Config.Scope config) { String resolverNames = config.get(KEY_RESOLVERS); if (resolverNames != null) { for (String resolverName : resolverNames.split(",")) { VaultKeyResolver resolver = this.getVaultKeyResolver(resolverName); if (resolver != null) { this.keyResolvers.add(resolver); } } if (this.keyResolvers.isEmpty()) { throw new VaultConfigurationException("Unable to initialize factory - all provided key resolvers are invalid"); } } // no resolver configured - add the default REALM_UNDERSCORE_KEY resolver. if (this.keyResolvers.isEmpty()) { logger.debugf("Key resolver is undefined - using %s by default", AvailableResolvers.REALM_UNDERSCORE_KEY.name()); this.keyResolvers.add(AvailableResolvers.REALM_UNDERSCORE_KEY.getVaultKeyResolver()); } }
Example 2
Source File: JarThemeProviderFactory.java From keycloak with Apache License 2.0 | 5 votes |
@Override public void init(Config.Scope config) { try { ClassLoader classLoader = getClass().getClassLoader(); Enumeration<URL> resources = classLoader.getResources(KEYCLOAK_THEMES_JSON); while (resources.hasMoreElements()) { loadThemes(classLoader, resources.nextElement().openStream()); } } catch (IOException e) { throw new RuntimeException("Failed to load themes", e); } }
Example 3
Source File: InfinispanCacheRealmProviderFactory.java From keycloak with Apache License 2.0 | 4 votes |
@Override public void init(Config.Scope config) { }
Example 4
Source File: DefaultPasswordPolicyManagerProviderFactory.java From keycloak with Apache License 2.0 | 4 votes |
@Override public void init(Config.Scope config) { }
Example 5
Source File: KeycloakClientDescriptionConverter.java From keycloak with Apache License 2.0 | 4 votes |
@Override public void init(Config.Scope config) { }
Example 6
Source File: SimpleAuthenticatorFactory.java From keycloak-extension-playground with Apache License 2.0 | 4 votes |
@Override public void init(Config.Scope config) { // NOOP }
Example 7
Source File: AbstractLDAPStorageMapperFactory.java From keycloak with Apache License 2.0 | 4 votes |
@Override public void init(Config.Scope config) { }
Example 8
Source File: InfinispanHealthIndicator.java From keycloak-health-checks with Apache License 2.0 | 4 votes |
InfinispanHealthIndicator(Config.Scope config) { super("infinispan"); }
Example 9
Source File: DatabaseHealthIndicatorFactory.java From keycloak-health-checks with Apache License 2.0 | 4 votes |
@Override public void init(Config.Scope config) { this.config = config; }
Example 10
Source File: ClasspathThemeProviderFactory.java From keycloak with Apache License 2.0 | 4 votes |
@Override public void init(Config.Scope config) { }
Example 11
Source File: ClientValidationProviderFactory.java From keycloak with Apache License 2.0 | 4 votes |
@Override default void init(Config.Scope config) { }
Example 12
Source File: CookieAuthenticatorFactory.java From keycloak with Apache License 2.0 | 2 votes |
@Override public void init(Config.Scope config) { }
Example 13
Source File: PassThroughAuthenticator.java From keycloak with Apache License 2.0 | 2 votes |
@Override public void init(Config.Scope config) { }
Example 14
Source File: RPTIntrospectionProviderFactory.java From keycloak with Apache License 2.0 | 2 votes |
@Override public void init(Config.Scope config) { }
Example 15
Source File: KeycloakSamlClientInstallation.java From keycloak with Apache License 2.0 | 2 votes |
@Override public void init(Config.Scope config) { }
Example 16
Source File: ConsoleUsernamePasswordAuthenticatorFactory.java From keycloak with Apache License 2.0 | 2 votes |
@Override public void init(Config.Scope config) { }
Example 17
Source File: DummyUserFederationProviderFactory.java From keycloak with Apache License 2.0 | 2 votes |
@Override public void init(Config.Scope config) { }
Example 18
Source File: UserPropertyFileStorageFactory.java From keycloak with Apache License 2.0 | 2 votes |
@Override public void init(Config.Scope config) { }
Example 19
Source File: SecretQuestionRequiredActionFactory.java From keycloak with Apache License 2.0 | 2 votes |
@Override public void init(Config.Scope config) { }
Example 20
Source File: RegistrationRecaptcha.java From keycloak with Apache License 2.0 | 2 votes |
@Override public void init(Config.Scope config) { }