io.quarkus.elytron.security.ldap.config.LdapSecurityRealmBuildTimeConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-elytron-security-ldap Show documentation
Show all versions of quarkus-elytron-security-ldap Show documentation
Secure your applications with username/password via LDAP
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