The Fascinator - Plugin - Roles - LDAP


Лицензия

Лицензия

Группа

Группа

com.googlecode.the-fascinator.plugins
Идентификатор

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

plugin-roles-ldap
Последняя версия

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

1.2
Дата

Дата

Тип

Тип

jar
Описание

Описание

The Fascinator - Plugin - Roles - LDAP
Система контроля версий

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

https://github.com/the-fascinator-contrib/plugin-roles-ldap.git

Скачать plugin-roles-ldap

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

<!-- https://jarcasting.com/artifacts/com.googlecode.the-fascinator.plugins/plugin-roles-ldap/ -->
<dependency>
    <groupId>com.googlecode.the-fascinator.plugins</groupId>
    <artifactId>plugin-roles-ldap</artifactId>
    <version>1.2</version>
</dependency>
// https://jarcasting.com/artifacts/com.googlecode.the-fascinator.plugins/plugin-roles-ldap/
implementation 'com.googlecode.the-fascinator.plugins:plugin-roles-ldap:1.2'
// https://jarcasting.com/artifacts/com.googlecode.the-fascinator.plugins/plugin-roles-ldap/
implementation ("com.googlecode.the-fascinator.plugins:plugin-roles-ldap:1.2")
'com.googlecode.the-fascinator.plugins:plugin-roles-ldap:jar:1.2'
<dependency org="com.googlecode.the-fascinator.plugins" name="plugin-roles-ldap" rev="1.2">
  <artifact name="plugin-roles-ldap" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.googlecode.the-fascinator.plugins', module='plugin-roles-ldap', version='1.2')
)
libraryDependencies += "com.googlecode.the-fascinator.plugins" % "plugin-roles-ldap" % "1.2"
[com.googlecode.the-fascinator.plugins/plugin-roles-ldap "1.2"]

Зависимости

compile (5)

Идентификатор библиотеки Тип Версия
com.googlecode.the-fascinator : fascinator-common jar 1.1.2
com.googlecode.the-fascinator : fascinator-plugin-api jar 1.1.2
com.googlecode.the-fascinator : fascinator-vocabulary jar 1.1.2
commons-codec : commons-codec jar 1.3
com.googlecode.the-fascinator.plugins : plugin-authentication-ldap jar 1.1

test (1)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.10

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

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

LDAP Roles Plugin for The Fascinator

This plugin allows The Fascinator platform to query an LDAP server to determine user roles.

Configuration

"ldap": {  
	"baseURL": "ldap://localhost:389",  
	"baseDN": "ou=people,o=Sample org,c=AU",  
	"ldapSecurityPrincipal": "cn=JohnDoe,ou=Some Account,dc=sample,dc=edu,dc=au",
	"ldapSecurityCredentials": "******",
	"idAttribute": "uid",  
	"filterPrefix": "uniquemember=",
	"filterSuffix": ",ou=people,dc=adelaide,dc=edu,dc=au",
	"ldapRoleAttribute": "cn",
	"ldapRoleMap": [
		{
			"ldapRoleAttrValue": "TFREG"
			"roles": ["registered"]
		},
		{
			"ldapRoleAttrValue": "TFADM"
			"roles": ["admin"]
		}
	]
}

baseURL

The URL of the LDAP server.

baseDN

The base Distinguished Name to search under.

ldapSecurityPrincipal

The Security Principal of the service account used to bind to the LDAP server. (Leave empty to bind anonymously.)

ldapSecurityCredentials

Credentials for the service account used to bind to the LDAP server. (Leave empty to bind anonymously.)

idAttribute

The name of the attribute for which the username will be searched under. This will be appended to the end of the baseDN when querying the LDAP server. Using the example configuration above the query string will be:

ou=people,o=Sample org,c=AU,uid=specifiedUsername

filterPrefix

The prefix for the LDAP search filter that is used to determine LDAP role membership. This field is optional.

filterSuffix

The suffix for the LDAP search filter that is used to determine LDAP role membership. This field is optional.

ldapRoleAttribute

The name of the LDAP attribute that contains the role values. If omitted, defaults to "objectClass".

ldapRoleMap

Maps role attribute values from LDAP to roles within The Fascinator. One ldapRoleAttrValue value may map to many The Fascinator roles.

com.googlecode.the-fascinator.plugins

The Fascinator Contrib

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

Версия
1.2
1.1
1.0