I have configured my application in tomcat with a JDBC Realm.

 

When following these steps slide actions are performed using a cached user.

 

Slide Configuration

 

Context.xml

 

<Context path="/slide" docBase="${catalina.home}/webapps/slide" debug="100"
privileged="true">  

            <Realm className="org.apache.catalina.realm.JDBCRealm"
debug="99"

                  driverName="com.mysql.jdbc.Driver"

 
connectionURL="jdbc:mysql://localhost/slide_users?user=***&amp;password=***"

                   userTable="users" userNameCol="user_name"
userCredCol="user_pass"

               userRoleTable="user_roles" roleNameCol="role_name"/>

</Context>   

 

 

Domain.xml (Default)

 

Step 1: Create a new network place and login as john2 (this is the standard
user created in slide_users database and defaulted in domain.xml)

 

Step 2: Remove the network place created in step 1

 

Step 3: Create a new network place and login as john

 

Step 4: Attempt to move file to /files

 

Step 5: Examine stdout you will be authenticated as john but Windows XP or
Slide (not sure?) will cache john2 and use this user as the authenticated
user to access slide resources and perform slide actions.

 

This gives the user different permission in slide from the user
authenticated by the servlet container.  Is there a configuration setting to
resolve this?

 

Jerome

 

 

Reply via email to