Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 6.1.9
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
Having a native Jetty LDAP JAAS module would make it super easy to deploy secured webapplications that uses a common LDAP server. I would suggest copying Geronimo's implementation. The login module itself doesn't have any dependencies that Jetty doesn't already have from what I can tell.
Geronimo has an implementation that work just fine outside Geronimo, but it drags with it a whole bunch of unwanted dependencies.
For reference and other users that want to use Jetty+LDAP, this is how I configured the Geronimo JAAS login module:
<Call name="addUserRealm"> <Arg> <New class="org.mortbay.jetty.plus.jaas.JAASUserRealm"> <Set name="name">javabin realm</Set> <Set name="LoginModuleName">ldap</Set> <Set name="roleClassNames"> <Array type="java.lang.String"> <Item>org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal</Item> </Array> </Set> </New> </Arg> </Call>
Activity
Greg Wilkins
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Jan Bartel [ janb ] |
Jan Bartel
made changes -
| Assignee | Jan Bartel [ janb ] | Jesse McConnell [ jesse ] |
Frederic Nizery
made changes -
| Attachment | LdapPatchfile [ 32876 ] |
Frederic Nizery
made changes -
| Attachment | ldapPatch1 [ 32971 ] |
Frederic Nizery
made changes -
| Attachment | ldapPatch2 [ 33049 ] |
Jesse McConnell
made changes -
| Fix Version/s | 6.1.9 [ 14114 ] | |
| Status | Open [ 1 ] | Closed [ 6 ] |
| Resolution | Fixed [ 1 ] |
FYI here is Geronimo's (v 2.0.2) implementation: http://svn.apache.org/repos/asf/geronimo/server/tags/2.0.2/modules/geronimo-security/src/main/java/org/apache/geronimo/security/realm/providers/LDAPLoginModule.java