Package org.keycloak.provider
Class ProviderConfigurationBuilder.ProviderConfigPropertyBuilder
java.lang.Object
org.keycloak.provider.ProviderConfigurationBuilder.ProviderConfigPropertyBuilder
- Enclosing class:
- ProviderConfigurationBuilder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadd()
Add the current property, and start building the next onedefaultValue
(Object defaultValue) Default value that will be shown when configuring this property for the first timeHelp text that will be shown for this configuration property in the admin console when you hover over the tooltipLabel that will be shown for this configuration property in the admin consoleIf configuring a list type, these are the options you can choose from.If configuring a list type, these are the options you can choose from.required
(boolean required) If turned on, this property will be marked as required in the admin consolesecret
(boolean secret) If turned on, this property is only writable and never readable.Property type.
-
Constructor Details
-
ProviderConfigPropertyBuilder
public ProviderConfigPropertyBuilder()
-
-
Method Details
-
name
-
label
Label that will be shown for this configuration property in the admin console- Parameters:
label
-- Returns:
-
helpText
Help text that will be shown for this configuration property in the admin console when you hover over the tooltip- Parameters:
helpText
-- Returns:
-
type
Property type. i.e. boolean, string.- Parameters:
type
-- Returns:
- See Also:
-
defaultValue
Default value that will be shown when configuring this property for the first time- Parameters:
defaultValue
-- Returns:
-
options
If configuring a list type, these are the options you can choose from.- Parameters:
options
-- Returns:
-
options
If configuring a list type, these are the options you can choose from.- Parameters:
options
-- Returns:
-
secret
If turned on, this property is only writable and never readable. This is useful for things like passwords where you never want an admin to be able to see what the password is.- Parameters:
secret
-- Returns:
-
required
If turned on, this property will be marked as required in the admin console- Parameters:
required
-- Returns:
-
add
Add the current property, and start building the next one- Returns:
-