Actually I have tried to use users defined in tomcat-users.xml, such as
"tomcat/tomcat", but it's run into the same problem too.
Fortunately, I got an idea to solve the problem, that is: I modified
tomcat's server.xml, add specific Realm setting for the context "slide" as
shown below(of course before that, I created tables and add authentiction
information into them), then any thing seems to work well(:-). Here, what
I'm think is: maybe Slide v1.0.16 can't set the authentication info
successfully when the default security Realm class be used by Tomcat is
"org.apache.catalina.realm.MemoryRealm". Anyway, the issue be solved!
<Context path="/slide" docBase="slide" debug="0" reloadable="true">
<Realm className="org.apache.catalina.realm.JDBCRealm"
debug="99"
driverName="oracle.jdbc.driver.OracleDriver"
connectionURL="jdbc:oracle:thin:@eng215:1521:ora817"
connectionName="hongyu"
connectionPassword="hongyu"
userTable="users" userNameCol="user_name"
userCredCol="user_pass"
userRoleTable="user_roles" roleNameCol="role_name" />
</Context>
Hong
>-----Original Message-----
>From: Praveen [mailto:[EMAIL PROTECTED]]
>Sent: Monday, January 07, 2002 8:24 PM
>To: Slide Users List
>Subject: Re: Authentication problem on v1.0.16
>
>
>Hi Dear
>
>You can try with Users in tomcat-users.xml,i hope it will work
>
>Praveen
>----- Original Message -----
>From: "Yu, Hong (Frank)" <[EMAIL PROTECTED]>
>To: "'Slide Users List'" <[EMAIL PROTECTED]>
>Sent: Tuesday, January 08, 2002 1:35 AM
>Subject: Authentication problem on v1.0.16
>
>
>> Hi, all:
>> I have installed Tomcat 4.0.2 and Slide 1.0.16. When I
>uncomment the
>> authentication part in web.xml under the slide's
>sub-directory, I can't
>use
>> the username and password defined in it's Domain.xml to
>login into the
>> server! Was that a configuration problem? Can anyone give me
>an answer
>> please?!
>>
>> thanks,
>>
>> Hong
>>
>
>
>--
>To unsubscribe, e-mail:
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail:
><mailto:[EMAIL PROTECTED]>
>