The Fascinator - Plugin - Roles - LDAP


License

License

GroupId

GroupId

com.googlecode.the-fascinator.plugins
ArtifactId

ArtifactId

plugin-roles-ldap
Last Version

Last Version

1.2
Release Date

Release Date

Type

Type

jar
Description

Description

The Fascinator - Plugin - Roles - LDAP
Source Code Management

Source Code Management

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

Download plugin-roles-ldap

How to add to project

<!-- 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"]

Dependencies

compile (5)

Group / Artifact Type Version
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)

Group / Artifact Type Version
junit : junit jar 4.10

Project Modules

There are no modules declared in this project.

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

Versions

Version
1.2
1.1
1.0