All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.quarkus.elytron.security.ldap.config.LdapSecurityRealmBuildTimeConfig Maven / Gradle / Ivy

There is a newer version: 3.17.5
Show newest version
package io.quarkus.elytron.security.ldap.config;

import io.quarkus.runtime.annotations.ConfigItem;
import io.quarkus.runtime.annotations.ConfigPhase;
import io.quarkus.runtime.annotations.ConfigRoot;

/**
 * A configuration object for a LDAP based realm configuration,
 * {@linkplain org.wildfly.security.auth.realm.ldap.LdapSecurityRealm}
 */
@ConfigRoot(name = "security.ldap", phase = ConfigPhase.BUILD_AND_RUN_TIME_FIXED)
public class LdapSecurityRealmBuildTimeConfig {

    /**
     * The option to enable the ldap elytron module
     */
    @ConfigItem
    public boolean enabled;

    /**
     * The elytron realm name
     */
    @ConfigItem(defaultValue = "Quarkus")
    public String realmName;

    @Override
    public String toString() {
        return "LdapSecurityRealmBuildTimeConfig{" +
                "enabled=" + enabled +
                ", realmName='" + realmName + '\'' +
                '}';
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy