Re: UserRoleImpl missing 4 param constructor?
Seems you did understand my reply;) Changes are both CVS head as well as 2.1 branch. Oliver On Wed, 26 Jan 2005 16:18:13 -0800, Warwick Burrows <[EMAIL PROTECTED]> wrote: > > Sorry, I didn't understand the reply :-) Do you mean that you recently > added the 4 param ctor to UserRoleImpl and that I can pick up the > change? Which branch is it in? I compared my version of this file > against 2.1 and head and didn't see any changes to UserRoleImpl. Or is > there something else I'm missing here? > > I added a 4 parameter ctor to UserRoleImpl myself and (just like the > others) it calls its super class (SubjectNode) equivalent and this seems > to work. > > Warwick > > > -Original Message- > > From: Oliver Zeigermann [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, January 26, 2005 5:40 PM > > To: Slide Users Mailing List > > Subject: Re: UserRoleImpl missing 4 param constructor? > > > > > > Previously, I used SubjectNode as the role and now > > UserRoleImpl has this ctor. > > > > Oliver > > > > > > On Wed, 26 Jan 2005 14:27:01 -0800, Warwick Burrows > > <[EMAIL PROTECTED]> wrote: > > > Hi guys, > > > > > > Up until now I have had the authentication/security > > features of Slide > > > disabled. Now that I have to come to play with making use of users > > > I'm having a problem after slide server restart with loading users > > > from the db. The users were created using the auto-create-mechanism > > > and were created in the object table with class name > > UserRoleImpl and > > > when > > > SecurityImpl.getPrincipal() tries to retrieve a user from > > the store it > > > is getting an exception when trying to construct a > > UserRoleImpl class > > > because the code in StandardrDBMSAdapter expects a 4 parameter > > > constructor which UserRoleImpl doesn't have. Its super class > > > (SubjectNode) does have a 4 parameter constructor. > > > > > > So how is it possible that auto-create-users has worked and that > > > UserRoleImpl structures could ever have been successfully > > constructed > > > when there is no 4 parameter constructor? > > > > > > Thanks, > > > Warwick > > > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: UserRoleImpl missing 4 param constructor?
Sorry, I didn't understand the reply :-) Do you mean that you recently added the 4 param ctor to UserRoleImpl and that I can pick up the change? Which branch is it in? I compared my version of this file against 2.1 and head and didn't see any changes to UserRoleImpl. Or is there something else I'm missing here? I added a 4 parameter ctor to UserRoleImpl myself and (just like the others) it calls its super class (SubjectNode) equivalent and this seems to work. Warwick > -Original Message- > From: Oliver Zeigermann [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 26, 2005 5:40 PM > To: Slide Users Mailing List > Subject: Re: UserRoleImpl missing 4 param constructor? > > > Previously, I used SubjectNode as the role and now > UserRoleImpl has this ctor. > > Oliver > > > On Wed, 26 Jan 2005 14:27:01 -0800, Warwick Burrows > <[EMAIL PROTECTED]> wrote: > > Hi guys, > > > > Up until now I have had the authentication/security > features of Slide > > disabled. Now that I have to come to play with making use of users > > I'm having a problem after slide server restart with loading users > > from the db. The users were created using the auto-create-mechanism > > and were created in the object table with class name > UserRoleImpl and > > when > > SecurityImpl.getPrincipal() tries to retrieve a user from > the store it > > is getting an exception when trying to construct a > UserRoleImpl class > > because the code in StandardrDBMSAdapter expects a 4 parameter > > constructor which UserRoleImpl doesn't have. Its super class > > (SubjectNode) does have a 4 parameter constructor. > > > > So how is it possible that auto-create-users has worked and that > > UserRoleImpl structures could ever have been successfully > constructed > > when there is no 4 parameter constructor? > > > > Thanks, > > Warwick > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: UserRoleImpl missing 4 param constructor?
Previously, I used SubjectNode as the role and now UserRoleImpl has this ctor. Oliver On Wed, 26 Jan 2005 14:27:01 -0800, Warwick Burrows <[EMAIL PROTECTED]> wrote: > Hi guys, > > Up until now I have had the authentication/security features of Slide > disabled. Now that I have to come to play with making use of users I'm > having a problem after slide server restart with loading users from the > db. The users were created using the auto-create-mechanism and were > created in the object table with class name UserRoleImpl and when > SecurityImpl.getPrincipal() tries to retrieve a user from the store it > is getting an exception when trying to construct a UserRoleImpl class > because the code in StandardrDBMSAdapter expects a 4 parameter > constructor which UserRoleImpl doesn't have. Its super class > (SubjectNode) does have a 4 parameter constructor. > > So how is it possible that auto-create-users has worked and that > UserRoleImpl structures could ever have been successfully constructed > when there is no 4 parameter constructor? > > Thanks, > Warwick > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Bug 33068
Can I gently encourage one of the committers to look at (and apply the patch in) bug 33068? Thanks -John - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
UserRoleImpl missing 4 param constructor?
Hi guys, Up until now I have had the authentication/security features of Slide disabled. Now that I have to come to play with making use of users I'm having a problem after slide server restart with loading users from the db. The users were created using the auto-create-mechanism and were created in the object table with class name UserRoleImpl and when SecurityImpl.getPrincipal() tries to retrieve a user from the store it is getting an exception when trying to construct a UserRoleImpl class because the code in StandardrDBMSAdapter expects a 4 parameter constructor which UserRoleImpl doesn't have. Its super class (SubjectNode) does have a 4 parameter constructor. So how is it possible that auto-create-users has worked and that UserRoleImpl structures could ever have been successfully constructed when there is no 4 parameter constructor? Thanks, Warwick