RE: Problem authentication with new user

"Jeroen Reijn" <[email protected]>
Newsgroups gmane.comp.jakarta.slide.user
Message-ID <[email protected]>
Hi David,

I'm not 100% sure, but I think you can't nest users, so you will have to
keep them at the top level. That is: /slide/users/

So you will get /slide/users/fox and /slide/users/MSN

Kind regards,

Jeroen Reijn
Hippo

-----Original Message-----
From: David Chapelet [mailto:[email protected]] 
Sent: vrijdag 8 september 2006 18:38
To: [email protected]
Subject: Problem authentication with new user

Hi,

 

I use Jakarta Slide 2.1 with Tomcat 5.0.28.

 

I want created a collection called 'MSN' under /slide/users/fox ('fox'
is a
new collection too).

 

So,

 

First of all, I created a new user called 'fox' with password 'vdm'
under
the directory 'users' (uri="/users/fox") assigned with the role 'users'.

 

The test logon is successfully at http://127.0.0.1:8080/slide/users/fox
with
login:fox and password:vdm.

 

Then, I create a new user called 'MSN' with password 'vdm' under the
directory 'fox' (uri="/users/fox/MSN") assigned with a new role 'fox'

(user 'MSN' added to the list of users allowed in the role 'fox')

 

When I try connect to the directory
http://127.0.0.1:8080/slide/users/fox/MSN with login:MSN and
password:vdm,
the logon failed !

 

8 sept. 2006 17:05:42 org.apache.catalina.realm.JAASRealm authenticate

ATTENTION: Exception lors de l'authentification par login du nom
d'utilisateur M

SN

javax.security.auth.login.LoginException: No such user

        at
org.apache.slide.jaas.spi.SlideLoginModule.login(SlideLoginModule.jav

a:183)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:39)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:324)

        at
javax.security.auth.login.LoginContext.invoke(LoginContext.java:675)

        at
javax.security.auth.login.LoginContext.access$000(LoginContext.java:1

29)

        at
javax.security.auth.login.LoginContext$4.run(LoginContext.java:610)

        at java.security.AccessController.doPrivileged(Native Method)

        at
javax.security.auth.login.LoginContext.invokeModule(LoginContext.java

:607)

        at
javax.security.auth.login.LoginContext.login(LoginContext.java:534)

        at
org.apache.catalina.realm.JAASRealm.authenticate(JAASRealm.java:316)

        at
org.apache.catalina.authenticator.BasicAuthenticator.authenticate(Bas

icAuthenticator.java:129)

        at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica

torBase.java:504)

        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv

eContext.java:102)

        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav

a:520)

        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j

ava:137)

        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv

eContext.java:104)

        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j

ava:118)

        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv

eContext.java:102)

        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav

a:520)

        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal

ve.java:109)

        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv

eContext.java:104)

        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav

a:520)

        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)

 

        at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16

0)

        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java

:799)

        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce

ssConnection(Http11Protocol.java:705)

        at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java

:577)

        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP

ool.java:683)

        at java.lang.Thread.run(Thread.java:534)

 

 

Thank you for your help.

Regards.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.