on 08-12-2004 2:18 PM
Hello,
I'm porting a WebApp Form <b>TomCat</b> to <b>WAS 6.20</b>.
I've problems figuring out how to set a JNDI-Realm in the application context.
The context in the TomCat Server.xml looks like this:
<b><Context docBase="C:\wert" path="/wert"
reloadable="false" workDir="C:\org\apache\jsp">
<Logger className="org.apache.catalina.logger.SystemOutLogger"
directory="logs" prefix="wert." suffix=".txt" timestamp="true" verbosity="5"/>
<Realm className="org.apache.catalina.realm.JNDIRealm"
connectionURL="ldap://wert.com:389" debug="99"
roleBase="ou=wert,ou=wert,o=wert,dc=wert,dc=com" roleName="cn"
roleSearch="(member=)" userBase="ou=wert,ou=wert,o=wert,dc=wert,dc=com" userSearch="(uid=)"/>
</Context></b>
How can I configure something similar on WAS 6.20?
<u>Any answer will be HIGHLY appreciated</u>
WALTER
Hi,
sorry, but I'm not a specialist for TomCat, what does this do?
Regards,
Benny
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Benny,
thanks for Your reply.
In the the XML-snippet I'm defining a Realm for a Web-Context. This is for userauthentication and -authorisation. In this case it is a LDAP datasource.
According to Your "How To Guide": "Working with Java Server Pages and Servlets" I'm doing nearly the same as You did on page 15 (Deploying the Web Application with Security Constraint). The difference is that I want to use my own datasource for the User/Role/Password thing.
If it is not possible to define a serperate datasource how can I connect my WAS 6.20 to SAP or LDAP to retrieve a userlist according your example?
Regards
Walter
Hello Walter,
I posted a similar question two weeks ago. However I have not tried the recommended reading yet.
Hello Walter,
this means you have to integrate the LDAP system to the server. This is not application specific, but done with the server.
There should be a way to configure an ldap server as security provider. Sorry I never done it. I definitely know that it works in 6.40 but it should have been in 6.20 already.
Thisd measn for you to go through manuals and notes...
Regards,
Benny
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.