1

是否可以使用 GSSAPI 验证 Spring LDAP 上下文(LdapContextSource)源

   Map<String, Object> baseEnvironmentProperties = new HashMap<String,Object>();
LdapContextSource contextSource= new LdapContextSource();
    .....
baseEnvironmentProperties.put( Context.SECURITY_AUTHENTICATION, "GSSAPI");
contextSource.setBaseEnvironmentProperties(baseEnvironmentProperties);

Spring 文档仅讨论 DefaultTlsDirContextAuthenticationStrategy 和 ExternalDirContextAuthenticationStrategy-EXTERNAL SASL TLS

4

0 回答 0