Example usage for org.springframework.security.ldap.userdetails LdapAuthoritiesPopulator interface-usage

List of usage examples for org.springframework.security.ldap.userdetails LdapAuthoritiesPopulator interface-usage

Introduction

In this page you can find the example usage for org.springframework.security.ldap.userdetails LdapAuthoritiesPopulator interface-usage.

Usage

From source file com.beto.test.securityinterceptor.security.CustomLdap.java

/**
 *
 * @author 912867
 */
public class CustomLdap implements LdapAuthoritiesPopulator {

From source file com.seyren.core.security.ldap.AuthoritiesPopulatorLdap.java

public class AuthoritiesPopulatorLdap implements LdapAuthoritiesPopulator {
    @Value("${admin.username}")
    private String adminUsername;

    @Override
    public Collection<? extends GrantedAuthority> getGrantedAuthorities(DirContextOperations userData,

From source file de.interseroh.report.auth.DatabaseLdapAuthoritiesPopulator.java

/**
 * Database for Authorization.
 *
 * @author Lofi Dewanto (Interseroh)
 */
@Component

From source file org.cloudifysource.securityldap.CustomLdapAuthoritiesPopulator.java

/**
 * LDAP authorities populator, replaces Spring's DafaultLdapAuthoritiesPopulator.
 * The strategy here is to load authorities from predefined user attribute(s) "roleAttributes".
 * The role values are set as is. As opposed to the default populator the roles values are not
 * manipulated (no prefixing or case-changing is done) and they are not related to group membership. 
 * 

From source file org.hspconsortium.platform.authorization.userdetails.MappedLdapAuthoritiesPopulator.java

/**
 * Mapps all users to ROLE_USER, additionally adds ROLE_ADMIN to anybody whose username
 * is in the configured admins property.
 *
 *
 */

From source file org.cloudifysource.rest.security.CustomLdapAuthoritiesPopulator.java

/**
 * LDAP authorities populator, replaces Spring's DafaultLdapAuthoritiesPopulator.
 * The strategy here is to load authorities from predefined user attribute(s) "roleAttributes".
 * The role values are set as is. As opposed to the default populator the roles values are not
 * manipulated (no prefixing or case-changing is done) and they are not related to group membership. 
 * 

From source file org.codehaus.groovy.grails.plugins.springsecurity.ldap.DatabaseOnlyLdapAuthoritiesPopulator.java

/**
 * @author <a href='mailto:burt@burtbeckwith.com'>Burt Beckwith</a>
 */
public class DatabaseOnlyLdapAuthoritiesPopulator implements LdapAuthoritiesPopulator, InitializingBean {

    private GrantedAuthority defaultRole;

From source file nc.noumea.mairie.appock.core.security.AppockAuthoritiesPopulator.java

/**
 * Overriden Authorities Populator for Ldap authentication with spring security This class loads roles from the database i/o using LDAP groups
 */
@Service
public class AppockAuthoritiesPopulator implements LdapAuthoritiesPopulator {

From source file nc.noumea.mairie.annuairev2.saisie.core.security.AnnuaireAuthoritiesPopulator.java

/**
 * Overriden Authorities Populator for Ldap authentication with spring security
 * This class loads roles from the database i/o using LDAP groups
 */
@Service
public class AnnuaireAuthoritiesPopulator implements LdapAuthoritiesPopulator {

From source file hsa.awp.user.security.AWPAuthoritiesPopulator.java

/**
 * This populator sets the roles of an authentication depending on the data of the user objects.
 */
public class AWPAuthoritiesPopulator implements LdapAuthoritiesPopulator {
    /**
     * Logger object.