Article View: fj.net.ldap
Article #76EJB security in WAS using OpenLDAP
From: Brian Hallkvist
Date: Mon, 17 Sep 2001 08:26
Date: Mon, 17 Sep 2001 08:26
40 lines
2495 bytes
2495 bytes
Hi, We have a problem with EJB security in Websphere Application Server when using OpenLDAP for authentfication. In the WAS admin console in the Advanced Global Security Settings we have changed the User Filter and User ID Map to use "person" instead of "InetOrgPerson". All other Global Security settings are pretty much as default. We have created a method group MyMG and have granted permissions to users in LDAP via the Assign Permissions Wizard. In the Configure Resource Security Wizard we have selected MyMG to protect our bean method. At this point we hoped that WAS would prompt the user for userID/password and authenticate it with OpenLDAP, when we try to access the protected bean method. But the case is, that WAS does not authenticate the entered userId/password with OpenLDAP. When the userID/password was entered as prompted, a "java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: com.ibm.websphere.csi.CSIException: Authorization failed for..." was thrown, and no LDAP authentication was actually done. We can see that because there is no log activity during this process, as there normally are. As far as we ca see, WAS has a connection to OpenLDAP as we are prompted for the manager userID/password when logging in to the admin console. And the LDAP users are also visible in the Assign Permissions Wizard. As we have spend hours to solve this problem, it seems that this task was not so basically after all :0) But someone must have tried to authenticate users with WAS/OpenLDAP with success before. What are we doing wrong? Have we missed some settings? Thank in advance... Brian Hallkvist brian@proactive.dk
Technical Details
Message-ID:
<e1a865c.0109170026.159dbe84@posting.google.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103627,45b480c6ec32e4bf,start X-Google-Attributes: gid103627,public X-Google-ArrivalTime: 2001-09-17 01:26:30 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail From: brian@proactive.dk (Brian Hallkvist) Newsgroups: fj.net.ldap Subject: EJB security in WAS using OpenLDAP Date: 17 Sep 2001 01:26:30 -0700 Organization: http://groups.google.com/ Lines: 40 Message-ID: <e1a865c.0109170026.159dbe84@posting.google.com> NNTP-Posting-Host: 130.227.187.4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1000715190 646 127.0.0.1 (17 Sep 2001 08:26:30 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 17 Sep 2001 08:26:30 GMT