[JBoss-user] [Security & JAAS/JBoss] - Re: Switching from Tomcat 4.x to Jboss 4 for deployment.. LD

2005-01-21 Thread lostvagueness
Er - that entry is in server.xml right now. Forgot to mention that. And the 
subject got cut off, it's sposed to say LDAP/JNDI. Ah well.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3863150#3863150

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3863150


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Switching from Tomcat 4.x to Jboss 4 for deployment.. LDAP/J

2005-01-21 Thread lostvagueness
We have an application that runs fine on Tomcat 4.x that we are trying to get 
running in JBoss. 

Most of the issues have been pretty minor. But I can't figure out how to use 
our existing LDAP code. In the current setup, we have an entry for Resource and 
ResourceParams in server.xml for the LDAP server under Host.Context. 

anonymous wrote : (Resource name="ldap/Foo" scope="Shareable" 
type="com.example.LDAPDataSource" /)
  | 
  | (ResourceParams name="ldap/Foo")
  |  (parameter)
  |   (name)factory(/name)
  |   (value)com.example.LDAPDataSourceFactory(/value)
  |  (/parameter)
  |   (!-- other params follow --)
  | (/ResourceParams)
  | 

Basically - we use our own factory to spit back our LDAPDataSource. The reason 
we do this is so that we can encrypt the password to the LDAP machine so it 
does not sit in plain text. 

So right now, when our application uses j_security_check, the "final" JBoss 
authentication module (the one with users.properties and roles.properties) gets 
triggered, and it says that users.properties isn't there. So I need to add an 
auth module. But I'm just not sure how I am supposed to plumb this thing up. If 
it was just LDAP that's one thing, but I want to be able to use the custom LDAP 
classes.

Thanks!

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3863149#3863149

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3863149


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user