You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Ridge Ren <ri...@yahoo.com> on 2002/09/29 20:57:47 UTC

Using Slide Realm

Hi All,

I know it's an old question but I really couldn't find
the answer in the archive.
I am a newbie and tring to use slide Realm. What I
did:
1. Uncommented the <security-constraint> in slide
web.xml
2. Modified Domain.xml to use MySQL DB.
3. Replace the Realm in Tomcat server.xml with:
<Realm className="wrappers.catalina.SlideRealm"
namespace="slide"/>
I didn't include the namespace parameter at first,
then got problem and added it.
4. Modified the slide.properties file in
slide-kernel.jar to fix the Domain.xml not found
problem.
5. Copied all the required JAR files to common\lib to
fix class not found problems.
6. Commented out the JMX MBean in server.xml to fix
MBean exception.

After all of these, I got Tomcat started without any
exceptions. But when I tried to connect to slide
through http://localhost:8080/slide, any account,
root, guest or john couldn't login at all. Also tried
8081, nothing there.

Please help me if you know what I missed.
Thanks a lot!
Ridge


__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Using Slide Realm

Posted by Ridge Ren <ri...@yahoo.com>.
Hi All,

I found the problem was caused by the value of namespace.
There are two constants in org.apache.slide.content.NodeProperty:
    public static final String DEFAULT_NAMESPACE = "DAV:";
    public static final String SLIDE_NAMESPACE =
"http://jakarta.apache.org/slide/";
It seems slide inserts the data into DB with DEFAUL_NAMESPACE, but the Realm
is using SLIDE_NAMESPACE to retrieve the password and always gets null
value. The slide admin also uses SLIDE_NAMESPACE.
Anyone here knows about these two contants? Any good solutions?

Thanks!
Ridge

----- Original Message -----
From: "Ridge Ren" <ri...@yahoo.com>
To: <sl...@jakarta.apache.org>
Sent: Sunday, September 29, 2002 2:57 PM
Subject: Using Slide Realm


> Hi All,
>
> I know it's an old question but I really couldn't find
> the answer in the archive.
> I am a newbie and tring to use slide Realm. What I
> did:
> 1. Uncommented the <security-constraint> in slide
> web.xml
> 2. Modified Domain.xml to use MySQL DB.
> 3. Replace the Realm in Tomcat server.xml with:
> <Realm className="wrappers.catalina.SlideRealm"
> namespace="slide"/>
> I didn't include the namespace parameter at first,
> then got problem and added it.
> 4. Modified the slide.properties file in
> slide-kernel.jar to fix the Domain.xml not found
> problem.
> 5. Copied all the required JAR files to common\lib to
> fix class not found problems.
> 6. Commented out the JMX MBean in server.xml to fix
> MBean exception.
>
> After all of these, I got Tomcat started without any
> exceptions. But when I tried to connect to slide
> through http://localhost:8080/slide, any account,
> root, guest or john couldn't login at all. Also tried
> 8081, nothing there.
>
> Please help me if you know what I missed.
> Thanks a lot!
> Ridge
>
>
> __________________________________________________
> Do you Yahoo!?
> New DSL Internet Access from SBC & Yahoo!
> http://sbc.yahoo.com
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>