Mirror of github.com/nicolabs/script-realm-plugin
Go to file
2015-04-27 00:46:35 +02:00
src + groovy snippet to delete all users from local Jenkins (for tests) 2015-04-26 02:26:18 +02:00
.gitignore
pom.xml + added email and user name resolving capabilities 2015-04-26 02:17:53 +02:00
README.md Update README.md 2015-04-27 00:46:35 +02:00

Modular Script Realm plugin for Jenkins

This fork of the "Script Realm" plugin for Jenkins adds e-mail and display name resolution support.

The original plugin allows to use a user-written custom script to authenticate the username and password (also supports groups). This is useful if you need to plug into a custom authentication scheme, but don't want to write your own plugin. Find more about the original plugin at https://wiki.jenkins-ci.org/display/JENKINS/Script+Security+Realm.

By default this fork triggers any MailAddressResolver and UserNameResolver installed on the Jenkins instance. You can disable resolution for e-mail and/or display name or use a specific resolver.

For instance, the LDAP Email Plugin provides a MailAddressResolver. If installed, you may configure "Modular Script Realm" to use a custom script to authenticate users and the "LDAP Email Plugin" to resolve their e-mail.

Since this plugin does not know how resolvers from external plugins are to be configured, using a random resolver might not work at all.

You will soon find here a list of known working configurations.