• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Java LdapAuthenticator类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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

示例1: OsiamLdapAuthenticationProvider

import org.springframework.security.ldap.authentication.LdapAuthenticator; //导入依赖的package包/类
public OsiamLdapAuthenticationProvider(LdapAuthenticator authenticator,
                                       LdapAuthoritiesPopulator authoritiesPopulator,
                                       OsiamLdapUserContextMapper osiamLdapUserContextMapper,
                                       SCIMUserProvisioning userProvisioning,
                                       boolean syncUserData) {
    super(authenticator, authoritiesPopulator);
    this.osiamLdapUserContextMapper = osiamLdapUserContextMapper;
    this.userProvisioning = userProvisioning;
    this.syncUserData = syncUserData;
}
 
开发者ID:osiam,项目名称:osiam,代码行数:11,代码来源:OsiamLdapAuthenticationProvider.java


示例2: LdapProvider

import org.springframework.security.ldap.authentication.LdapAuthenticator; //导入依赖的package包/类
/**
 * @param authenticator
 * @param authoritiesPopulator
 */
public LdapProvider(LdapAuthenticator authenticator, LdapAuthoritiesPopulator authoritiesPopulator) {
    super(authenticator, authoritiesPopulator);

    try {
        md = MessageDigest.getInstance("MD5");
    } catch (NoSuchAlgorithmException e) {
        throw new RuntimeException("Failed to init Message Digest ", e);
    }
}
 
开发者ID:KylinOLAP,项目名称:Kylin,代码行数:14,代码来源:LdapProvider.java


示例3: ldapAuthenticator

import org.springframework.security.ldap.authentication.LdapAuthenticator; //导入依赖的package包/类
@Bean
public LdapAuthenticator ldapAuthenticator() {
	BindAuthenticator authenticator = new BindAuthenticator(ldapContextSource());
	authenticator.setUserAttributes(new String[] {ldapUserIdAttr});
	if (!"".equals(ldapSearchFilter)) {
		logger.debug("ldapSearch: {} {}", ldapSearchBase, ldapSearchFilter);
		authenticator.setUserSearch(new FilterBasedLdapUserSearch(ldapSearchBase, ldapSearchFilter, ldapContextSource()));
	} else {
		logger.debug("ldapUserDn: {}", ldapUserDn);
		authenticator.setUserDnPatterns(new String[] {ldapUserDn});
	}

	return authenticator;
}
 
开发者ID:thm-projects,项目名称:arsnova-backend,代码行数:15,代码来源:SecurityConfig.java


示例4: SpringLdapAuthenticationProvider

import org.springframework.security.ldap.authentication.LdapAuthenticator; //导入依赖的package包/类
public SpringLdapAuthenticationProvider(LdapAuthenticator authenticator) {
	super(authenticator);
}
 
开发者ID:Jenner4S,项目名称:unitimes,代码行数:4,代码来源:SpringLdapAuthenticationProvider.java


示例5: MidPointLdapAuthenticationProvider

import org.springframework.security.ldap.authentication.LdapAuthenticator; //导入依赖的package包/类
public MidPointLdapAuthenticationProvider(LdapAuthenticator authenticator) {
	super(authenticator);
}
 
开发者ID:Pardus-Engerek,项目名称:engerek,代码行数:4,代码来源:MidPointLdapAuthenticationProvider.java


示例6: OsiamLdapAuthenticationProvider

import org.springframework.security.ldap.authentication.LdapAuthenticator; //导入依赖的package包/类
public OsiamLdapAuthenticationProvider(LdapAuthenticator authenticator,
        LdapAuthoritiesPopulator authoritiesPopulator, OsiamLdapUserContextMapper osiamLdapUserContextMapper) {
    super(authenticator, authoritiesPopulator);
    this.osiamLdapUserContextMapper = osiamLdapUserContextMapper;
}
 
开发者ID:osiam,项目名称:auth-server,代码行数:6,代码来源:OsiamLdapAuthenticationProvider.java


示例7: LdapAuthenticationProviderProxy

import org.springframework.security.ldap.authentication.LdapAuthenticator; //导入依赖的package包/类
public LdapAuthenticationProviderProxy(LdapAuthenticator authenticator) {
    super(authenticator);
}
 
开发者ID:gravitee-io,项目名称:gravitee-management-rest-api,代码行数:4,代码来源:LdapAuthenticationProviderProxy.java


示例8: getAuthenticator

import org.springframework.security.ldap.authentication.LdapAuthenticator; //导入依赖的package包/类
public LdapAuthenticator getAuthenticator() {
	return authenticator;
}
 
开发者ID:nate-rcl,项目名称:irplus,代码行数:4,代码来源:UpdateUserAccount.java


示例9: setAuthenticator

import org.springframework.security.ldap.authentication.LdapAuthenticator; //导入依赖的package包/类
public void setAuthenticator(LdapAuthenticator authenticator) {
	this.authenticator = authenticator;
}
 
开发者ID:nate-rcl,项目名称:irplus,代码行数:4,代码来源:UpdateUserAccount.java


示例10: setAuthenticator

import org.springframework.security.ldap.authentication.LdapAuthenticator; //导入依赖的package包/类
private void setAuthenticator(LdapAuthenticator authenticator) {
    Assert.notNull(authenticator, "An LdapAuthenticator must be supplied");
    this.authenticator = authenticator;
}
 
开发者ID:nate-rcl,项目名称:irplus,代码行数:5,代码来源:UrLdapAuthenticationProvider.java


示例11: getAuthenticator

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


示例12: MidPointLdapAuthenticationProvider

import org.springframework.security.ldap.authentication.LdapAuthenticator; //导入依赖的package包/类
public MidPointLdapAuthenticationProvider(LdapAuthenticator authenticator) {
    super(authenticator);
}
 
开发者ID:Evolveum,项目名称:midpoint,代码行数:4,代码来源:MidPointLdapAuthenticationProvider.java


示例13: UrLdapAuthenticationProvider

import org.springframework.security.ldap.authentication.LdapAuthenticator; //导入依赖的package包/类
/**
 * Create an instance with the supplied authenticator and authorities populator implementations.
 *
 * @param authenticator the authentication strategy (bind, password comparison, etc)
 *          to be used by this provider for authenticating users.
 * @param authoritiesPopulator the strategy for obtaining the authorities for a given user after they've been
 *          authenticated.
 */
public UrLdapAuthenticationProvider(LdapAuthenticator authenticator, LdapAuthoritiesPopulator authoritiesPopulator) {
    this.setAuthenticator(authenticator);
    this.setAuthoritiesPopulator(authoritiesPopulator);
}
 
开发者ID:nate-rcl,项目名称:irplus,代码行数:13,代码来源:UrLdapAuthenticationProvider.java



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java Version类代码示例发布时间:2022-05-21
下一篇:
Java ThreadMonitoring类代码示例发布时间:2022-05-21
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap