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

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

There is a newer version: 3.17.5
Show newest version
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;

    /**
     * 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 + '\'' +
                ", attributeMappings=" + attributeMappings +
                '}';
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy