当前位置: 首页>>代码示例>>Java>>正文


Java UserDetailsContextMapper类代码示例

本文整理汇总了Java中org.springframework.security.ldap.userdetails.UserDetailsContextMapper的典型用法代码示例。如果您正苦于以下问题:Java UserDetailsContextMapper类的具体用法?Java UserDetailsContextMapper怎么用?Java UserDetailsContextMapper使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


UserDetailsContextMapper类属于org.springframework.security.ldap.userdetails包,在下文中一共展示了UserDetailsContextMapper类的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: authenticationProvider

import org.springframework.security.ldap.userdetails.UserDetailsContextMapper; //导入依赖的package包/类
@Bean
public LdapAuthenticationProvider authenticationProvider(BindAuthenticator ba,
                                                         LdapAuthoritiesPopulator lap,
                                                         UserDetailsContextMapper cm){
    return new LdapAuthenticationProvider(ba, lap){{
        setUserDetailsContextMapper(cm);
    }};
}
 
开发者ID:PacktPublishing,项目名称:Spring-Security-Third-Edition,代码行数:9,代码来源:SecurityConfig.java

示例2: userDetailsContextMapper

import org.springframework.security.ldap.userdetails.UserDetailsContextMapper; //导入依赖的package包/类
@Bean
public UserDetailsContextMapper userDetailsContextMapper(){
    return new InetOrgPersonContextMapper();
}
 
开发者ID:PacktPublishing,项目名称:Spring-Security-Third-Edition,代码行数:5,代码来源:SecurityConfig.java

示例3: userDetailsContextMapper

import org.springframework.security.ldap.userdetails.UserDetailsContextMapper; //导入依赖的package包/类
@Bean
public UserDetailsContextMapper userDetailsContextMapper() {
    return new CustomUserDetailsContextMapper();
}
 
开发者ID:UdL-EPS-SoftArch,项目名称:entsoftarch-1516-server,代码行数:5,代码来源:WebSecurityConfig.java

示例4: midPointAuthenticationProvider

import org.springframework.security.ldap.userdetails.UserDetailsContextMapper; //导入依赖的package包/类
@Bean
public MidPointLdapAuthenticationProvider midPointAuthenticationProvider(
        @Qualifier("userDetailsService") UserDetailsContextMapper userDetailsContextMapper) {

    MidPointLdapAuthenticationProvider provider = new MidPointLdapAuthenticationProvider(bindAuthenticator());
    provider.setUserDetailsContextMapper(userDetailsContextMapper);

    return provider;
}
 
开发者ID:Evolveum,项目名称:midpoint,代码行数:10,代码来源:LdapSecurityConfig.java

示例5: userDetailsContextMapper

import org.springframework.security.ldap.userdetails.UserDetailsContextMapper; //导入依赖的package包/类
@Bean
public UserDetailsContextMapper userDetailsContextMapper() {
    return new LdapUserDetailsMapper();
}
 
开发者ID:gravitee-io,项目名称:graviteeio-access-management,代码行数:5,代码来源:LdapAuthenticationProviderConfiguration.java

示例6: userServiceDetailMapper

import org.springframework.security.ldap.userdetails.UserDetailsContextMapper; //导入依赖的package包/类
public ActiveDirectoryAuthenticationProviderConfigurer<B> userServiceDetailMapper(UserDetailsContextMapper userDetailsContextMapper) {
    this.userDetailsContextMapper = userDetailsContextMapper;
    return this;
}
 
开发者ID:box,项目名称:mojito,代码行数:5,代码来源:ActiveDirectoryAuthenticationProviderConfigurer.java

示例7: setUserDetailsContextMapper

import org.springframework.security.ldap.userdetails.UserDetailsContextMapper; //导入依赖的package包/类
public void setUserDetailsContextMapper(UserDetailsContextMapper userDetailsContextMapper) {
    Assert.notNull(userDetailsContextMapper, "UserDetailsContextMapper must not be null");
    this.userDetailsContextMapper = userDetailsContextMapper;
}
 
开发者ID:nate-rcl,项目名称:irplus,代码行数:5,代码来源:UrLdapAuthenticationProvider.java

示例8: getUserDetailsContextMapper

import org.springframework.security.ldap.userdetails.UserDetailsContextMapper; //导入依赖的package包/类
protected UserDetailsContextMapper getUserDetailsContextMapper() {
    return userDetailsContextMapper;
}
 
开发者ID:nate-rcl,项目名称:irplus,代码行数:4,代码来源:UrLdapAuthenticationProvider.java


注:本文中的org.springframework.security.ldap.userdetails.UserDetailsContextMapper类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。