Site aware LDAPS Provider

Provides Site Aware LDAP server names, possibly using LDAPS.

Лицензия

Лицензия

MIT
Категории

Категории

IDE Инструменты разработки
Группа

Группа

com.github.marschall
Идентификатор

Идентификатор

site-aware-ldaps-provider
Последняя версия

Последняя версия

1.0.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

Site aware LDAPS Provider
Provides Site Aware LDAP server names, possibly using LDAPS.
Ссылка на сайт

Ссылка на сайт

https://github.com/marschall/site-aware-ldaps-provider
Система контроля версий

Система контроля версий

https://github.com/marschall/site-aware-ldaps-provider

Скачать site-aware-ldaps-provider

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.github.marschall/site-aware-ldaps-provider/ -->
<dependency>
    <groupId>com.github.marschall</groupId>
    <artifactId>site-aware-ldaps-provider</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.marschall/site-aware-ldaps-provider/
implementation 'com.github.marschall:site-aware-ldaps-provider:1.0.0'
// https://jarcasting.com/artifacts/com.github.marschall/site-aware-ldaps-provider/
implementation ("com.github.marschall:site-aware-ldaps-provider:1.0.0")
'com.github.marschall:site-aware-ldaps-provider:jar:1.0.0'
<dependency org="com.github.marschall" name="site-aware-ldaps-provider" rev="1.0.0">
  <artifact name="site-aware-ldaps-provider" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.marschall', module='site-aware-ldaps-provider', version='1.0.0')
)
libraryDependencies += "com.github.marschall" % "site-aware-ldaps-provider" % "1.0.0"
[com.github.marschall/site-aware-ldaps-provider "1.0.0"]

Зависимости

test (3)

Идентификатор библиотеки Тип Версия
org.junit.jupiter : junit-jupiter-api jar
org.junit.jupiter : junit-jupiter-engine jar
org.mockito : mockito-core jar 3.5.5

Модули Проекта

Данный проект не имеет модулей.

Site-aware LDAPS Provider

Provides LDAPS site awareness.

  • RFC 2782 only mentions LDAP and not LDAPS
  • Active Directory per default does not create SRV DNS records for LDAPS
  • site-awareness is a proprietary Active Directory feature

JDK-8192975

Currently requires the JNDI DNS client and Java 12.

Usage

Put the JAR in the classpath or module path.

<dependency>
  <groupId>com.github.marschall</groupId>
  <artifactId>site-aware-ldaps-provider</artifactId>
  <version>1.0.0</version>
</dependency>
Hashtable<String, String> env = new Hashtable<>();
env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory");
env.put(Context.PROVIDER_URL, "ldaps:///dc=example,dc=com"); // ldap also supported
env.put(ActiveDirectoryContext.SITE, "site-name"); // optional
DirContext ctx = new InitialDirContext(env);

WildFly

Dropping the JAR directly in $JBOSS_HOME/modules should add it to the Java module path (-mp)

Версии библиотеки

Версия
1.0.0