io.quarkus.elytron.security.ldap.config.IdentityMappingConfig 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 java.util.Map;
import io.quarkus.runtime.annotations.ConfigGroup;
import io.quarkus.runtime.annotations.ConfigItem;
@ConfigGroup
public class IdentityMappingConfig {
/**
* The identifier which correlates to the provided user (also named "baseFilter")
*/
@ConfigItem(defaultValue = "uid")
public String rdnIdentifier;
/**
* The dn where we look for users
*/
@ConfigItem
public String searchBaseDn;
/**
* If the child nodes are also searched for identities
*/
@ConfigItem(defaultValue = "false")
public boolean searchRecursive;
/**
* The configs how we get from the attribute to the Role
*/
@ConfigItem
public Map attributeMappings;
@Override
public String toString() {
return "IdentityMappingConfig{" +
"rdnIdentifier='" + rdnIdentifier + '\'' +
", searchBaseDn='" + searchBaseDn + '\'' +
", searchRecursive=" + searchRecursive +
", attributeMappings=" + attributeMappings +
'}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy