Problem with auto-create-users

2006-12-19 Thread Ektor Ektor
Hi all, I need help, because I got a big problem with auto-create-user : I receive the exception "javax.security.auth.login.LoginException: No such user". *Context : *- I use the slide login module *from a Filter before the slide Servlet*. - I try to login with a user that doesn't exists in slid

auto-create-users

2005-06-21 Thread Carlos Proal
Im trying to test this feature but i have an issue I put this on the Domain.xml file true org.apache.slide.structure.SubjectNode then i log as through JDBC Realm, where as i see the user must already have a role, so the "auto" property only works to make it pesistent in slide right ?? The prob

auto-create-users

2005-06-09 Thread Kevin . Bombardier
Could someone give me more information on when to use auto-create-users and the .xml syntax. I am guessing you use it when you use LDAP or JAAS (nonSlide) authentication? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: auto-create-users

2005-04-07 Thread Laurent Michenaud
There is no domain.xml. You can send it directly at [EMAIL PROTECTED] -Message d'origine- De : Ethem YUKSEL [mailto:[EMAIL PROTECTED] Envoyé : jeudi 7 avril 2005 14:49 À : Slide Users Mailing List Objet : RE: auto-create-users seems to be correct but don't understand why not t

RE: auto-create-users

2005-04-07 Thread Ethem YUKSEL
seems to be correct but don't understand why not to work, it worked on me. i am sending my domain.xml. check there... -Original Message- From: Laurent Michenaud [mailto:[EMAIL PROTECTED] Sent: Thursday, April 07, 2005 3:43 PM To: Slide Users Mailing List Subject: RE: auto-create-

RE: auto-create-users

2005-04-07 Thread Laurent Michenaud
iling List Objet : RE: auto-create-users try this: true slideroles.basic.RootRoleImpl -Original Message- From: Laurent Michenaud [mailto:[EMAIL PROTECTED] Sent: Thursday, April 07, 2005 2:40 PM To: Slide Users Mailing List Subject: auto-create-users Hi,

RE: auto-create-users

2005-04-07 Thread Ethem YUKSEL
try this: true slideroles.basic.RootRoleImpl -Original Message- From: Laurent Michenaud [mailto:[EMAIL PROTECTED] Sent: Thursday, April 07, 2005 2:40 PM To: Slide Users Mailing List Subject: auto-create-users Hi, I have sucessfully created my jaas

auto-create-users

2005-04-07 Thread Laurent Michenaud
Hi, I have sucessfully created my jaas login module and it works great. Now, I would like the users to be created in Slide if they don't exist. How can i do that ? I have seen that I had to put in Domain.xml : true org.apache.slide.structure.SubjectNode but it doesnot

Re: auto-create-users problem

2005-01-25 Thread Oliver Zeigermann
TED]> wrote: > Hi, > > I am having trouble trying to use auto-create-users. > > It seems to work fine to start with, and everything works as expected > with an auto added user, but then after re-starting Tomcat I get the > following error: > >

auto-create-users problem

2005-01-25 Thread Luke Noel-Storr
Hi, I am having trouble trying to use auto-create-users. It seems to work fine to start with, and everything works as expected with an auto added user, but then after re-starting Tomcat I get the following error: java.lang.NoSuchMethodException: slideroles.basic.UserRoleImpl.(java.lang.String

RE: possible bug or misconfiguration with auto-create-users?

2005-01-23 Thread Sven Pfeiffer
Hi Paul I guess you should set true in configuration-element in Domain.xml. hth SVen >-Original Message- >From: Paul Hussein [mailto:[EMAIL PROTECTED] >Sent: Thursday, January 13, 2005 3:14 PM >To: Slide Users Mailing List >Subject: possible bug or misconfiguration w

possible bug or misconfiguration with auto-create-users?

2005-01-13 Thread Paul Hussein
I am trying to configure the development version of slide from cvs with tomcat 5 to use the auto-create-user option available in Domain.xml. I have changed Domain.xml as in wck Domain.xml to have true slideroles.basic.RootRoleImpl and have hardcoded a username

Auto Create Users is not working with BindingStore

2004-06-18 Thread Ritu Kedia
endedStore. But this still leaves me with the problem of auto-create-users. This functionality is not working with BindingStore. I observed that the new users are being created in the URI table but the BINDING and PARENT_BINDING tables are not being updated. Has anyone faced similar problem? I am u

Auto Create Users error.

2004-05-26 Thread Luke Noel-Storr
Hi, I'm using LDAP to authenticate users, and have enabled auto-add users in slide. It at first seems to work, however, after I restart Tomcat I get the following error when an auto-created user trys to access a file: org.apache.slide.common.ServiceAccessException: Service [EMAIL PROTECTED] ac

RE: patch for auto-create-users

2004-05-06 Thread Mortimore, Jamie [IT]
Attached is a patch for auto-create-users against version 2.0 of slide. I've added the following methods to the Macro interfasce: /** * Adds a user. * * @param root The token to use to create the user. * @param user The name of the user to create. * @t

Re: patch for auto-create-users

2004-04-27 Thread Ryan Rhodes
Martin Holz wrote: Don't use SlideRealm. The slide realm makes user/password combinations available to the servlet container. I am not grasping this part. You mean that slide realm becomes the store for usernames/passwords that the servlet container authenticates against? Any realm does not ha

Re: patch for auto-create-users

2004-04-27 Thread Martin Holz
"Ryan Rhodes" <[EMAIL PROTECTED]> writes: > Well, I should restate that. I do need roles. I was actually hoping > to use SlideRealm, because I want other parts of the webapp to use > Slide roles for access control. > > > The only reason I need LDAP is because usernames/passwords must all > co

Re: patch for auto-create-users

2004-04-27 Thread Ryan Rhodes
-Ryan From: Martin Holz <[EMAIL PROTECTED]> Reply-To: "Slide Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: patch for auto-create-users Date: 27 Apr 2004 17:32:51 +0200 "Ryan Rhodes" <[EMAIL PROTECTED]> writes: > I went through

Re: patch for auto-create-users

2004-04-27 Thread Martin Holz
"Ryan Rhodes" <[EMAIL PROTECTED]> writes: > I went through the same progression as Jamie with auto-create-users. > It would have been nice to have when I started, but it doesn't add > anything now since I ultimately need the LDAP sync'd setup as well. > >

Re: patch for auto-create-users

2004-04-27 Thread Ryan Rhodes
sical store. If LDAP provides some notification mechanism for informing slide about user/role updates additional user/role caching would be possible to achieve better performance. Regards, Daniel I went through the same progression as Jamie with auto-create-users. It would have been nice to

Re: Controlling Slide cache, was Re: patch for auto-create-users

2004-04-27 Thread Oliver Zeigermann
ExtendedStore allows you to invalidate entries. Subclass it and add your code that talks to your client store to find out which entries to delete. Use something like getTxCache().remove(null, [key to be invalidated] on objectsCache, permissionsCache, etc. Oliver Carlos Villegas wrote: Hi, Da

Controlling Slide cache, was Re: patch for auto-create-users

2004-04-27 Thread Carlos Villegas
Hi, Daniel Florey wrote: If LDAP provides some notification mechanism for informing slide about user/role updates additional user/role caching would be possible to achieve better performance. I have a custom store that gets user/role info from an external source. I set it up in the Domain.xml

Re: patch for auto-create-users

2004-04-27 Thread Daniel Florey
imply making sure no user had any write permissions? -Original Message- From: Martin Holz [mailto:[EMAIL PROTECTED] Sent: 26 April 2004 13:49 To: [EMAIL PROTECTED] Subject: Re: patch for auto-create-users Daniel Florey <[EMAIL PROTECTED]> writes: Hi, I'd propose to add the meth

RE: patch for auto-create-users

2004-04-27 Thread Mortimore, Jamie [IT]
slide and listen for updates on LDAP to keep the two in sync. Could you not make a store read-only by simply making sure no user had any write permissions? -Original Message- From: Martin Holz [mailto:[EMAIL PROTECTED] Sent: 26 April 2004 13:49 To: [EMAIL PROTECTED] Subject: Re: patch f

Re: patch for auto-create-users

2004-04-26 Thread Martin Holz
Daniel Florey <[EMAIL PROTECTED]> writes: > Hi, > I'd propose to add the methods regarding the user/role stuff to the > Security-Interface and the SecurityImpl-class. There already are some > methods regarding user/role management (hasRole()...) This is not possible, since the methods need access

Re: patch for auto-create-users

2004-04-26 Thread Martin Holz
Jamie Mortimore <[EMAIL PROTECTED]> writes: > Are you saying there is a way webdav methods are called that do not go > through AbstractWebdavMethod.run? Is there a more appropriate place to > call the createUser method (eg at the start of WebdavServlet.service)? I think, AbstractWebdavMethod.ru

Re: patch for auto-create-users

2004-04-26 Thread Daniel Florey
Hi, I'd propose to add the methods regarding the user/role stuff to the Security-Interface and the SecurityImpl-class. There already are some methods regarding user/role management (hasRole()...) In general I think it would be better to have only one place (e.g. LDAP) where users are managed and

Re: patch for auto-create-users

2004-04-26 Thread Jamie Mortimore
On Mon, 2004-04-26 at 10:52, Martin Holz wrote: > > I added a createUser method to the Content interface and implementation, > > ContentImpl. You may decide this is not the right place for a create > > user method if Content is only supposed to handle more low level > > operations. In which case th

Re: patch for auto-create-users

2004-04-26 Thread Martin Holz
Jamie Mortimore <[EMAIL PROTECTED]> writes: > The user would be created if the getPrincipal method was called from > within a transaction but the newly created user would not be setup with > the correct role. For example it would create the user if you perform a > PUT method with the new user but

Re: patch for auto-create-users

2004-04-26 Thread Jamie Mortimore
Hi Oliver, With the auto-create-users functionality enabled the SecurityImpl.getPrincipal method would try to create a user in slide if the current user was not set up in slide. There were a couple of problems with this. Firstly not all webdav methods require a transaction but the creation of a

Re: patch for auto-create-users

2004-04-26 Thread Oliver Zeigermann
wrote: In version 2.0rc1 of slide the auto-create-users functionality is not working. The attached patch fixes the problem. With the new functionality enabled users authenticated by the servlet container are added as users within slide. It is configured with the following properties in Domain.xml

patch for auto-create-users

2004-04-24 Thread Jamie Mortimore
In version 2.0rc1 of slide the auto-create-users functionality is not working. The attached patch fixes the problem. With the new functionality enabled users authenticated by the servlet container are added as users within slide. It is configured with the following properties in Domain.xml

RE: auto-create-user and auto-create-users-role

2004-04-22 Thread Mortimore, Jamie [IT]
users being created in a transaction. Is there any update on this problem? -Original Message- From: Mortimore, Jamie [IT] Sent: 22 April 2004 16:01 To: '[EMAIL PROTECTED]' Subject: auto-create-user and auto-create-users-role I'm new to slide but have been evaluating i

Re: auto-create-user and auto-create-users-role

2004-04-22 Thread Martin Holz
Hello, "Mortimore, Jamie [IT]" <[EMAIL PROTECTED]> writes: > In conclusion: > > Am I doing something wrong? > Do the auto-create-users and auto-create-users-role features work? AFAIK it is not working, at least not reliable. > If not is there any timeline for t

auto-create-user and auto-create-users-role

2004-04-22 Thread Mortimore, Jamie [IT]
o get rid of the previous exception but I'm guessing the user does not get added to any roles so slide is still forbidden: ExecuteThread: '14' for queue: 'weblogic.kernel.Default', 22-Apr-2004 15:41:23, jm16685, GET, 403 "Forbidden", 26 ms, / In conclusion:

Tomcat, LDAP, SlideRealm, JAAS, and auto-create-users?

2004-04-03 Thread ryan
I am trying to understand the difference between SlideRealm and JAAS. I would like to have authentication completely handled by Tomcat so that I can defer to an LDAP Directory, and I would like for Slide to create users automatically with default access. For additional access I would like for Tom

Re: auto create users

2004-01-23 Thread Marc Sommer
same problem. I also used the auto-create-users flag. Bogdan, unfortunately I can't open your attachment. could you post it again? regards marc Am Mon, 2004-01-19 um 19.01 schrieb Bogdan Ghidireac: > Hi, > > I am trying to setup Slide (cvs version) to auto create users if they

auto create users

2004-01-19 Thread Bogdan Ghidireac
Hi, I am trying to setup Slide (cvs version) to auto create users if they do not exist. I added true to Domain.xml but Slide was complaining about a transaction that is not started whenever a new user is about to be created. I looked at the code and I added few lines to SecurityImpl.java that

RE: Question about auto-create-users

2002-08-21 Thread Thamm, Russell
tion about auto-create-users Hi, I have managed to authenticate users with Tomcat's JNDI-Realm and configured Slide to automatically create users. So far I have seen no problems with this approach except that you get a RevisionDescriptorNotFoundException when trying to access the users dir

Question about auto-create-users

2002-08-21 Thread Ingo Brunberg
Hi, I have managed to authenticate users with Tomcat's JNDI-Realm and configured Slide to automatically create users. So far I have seen no problems with this approach except that you get a RevisionDescriptorNotFoundException when trying to access the users directory with a WebDAV client. Now I