Hello Geert,

Thanks for your replies (both of them)
As you can see in my previous posts I seem to have solved my problem, for
now.
For testing/evaluation it is good enough.

As you posted, the magic was in the ChildTriggers.
I think I went ahead thinking to complicated......

Now that I implemented this myself, and read the other info, I understand a
lot more.
Thanks for your time and input.


Mit freundlichen Grüßen / With kind regards

Huibert Gill


> -----Ursprüngliche Nachricht-----
> Von: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Im Auftrag von Geert Bevin
> Gesendet: Mittwoch, 26. Juli 2006 15:29
> An: RIFE users list : questions,bug reports and suggestions.
> Betreff: Re: [Rife-users] Can't get "flexible authentication" to work
> 
> Hi Henk,
> 
> I think you pinpointed his problem exactly, though it's difficult to  
> tell without seeing any code. He probably overlooked child triggers  
> and the old childTriggered method is still called.
> 
> Take care,
> 
> Geert
> 
> On 25 Jul 2006, at 06:21, henk wrote:
> 
> > Hi,
> >
> > I too am very new to Rife, but do you have a call to 'child()' in  
> > your code in order to propagate the request to the child ?
> >
> > Henk
> >
> > Gill Huibert wrote:
> >> Hi ,
> >> Since last week I've been evaluating Rife for use in my 
> next project.
> >> So far I'm very exited about the features Rife offers.
> >> I have tried the examples, and understood them so far (I think)
> >> Now it's time to try the first steps for my own project with Rife.
> >> First thing I wanted to try out was the abbility to 
> authenticate a  
> >> User.
> >> We have a custom class which wrapps all userinfo for all of our
> >> webapplications.
> >> I can fetch an user class instance from a service for a givven  
> >> username.
> >> In the cookbook I read about the flexible authentication.
> >> (http://rifers.org/wiki/display/RIFE/Flexible+authentication)
> >> So I implemented my own class which implements the  
> >> RolesuerCredentials
> >> interface.
> >> (my auth element extends rife/authenticated/memory.xml, and a  
> >> property
> >> "credentials_class" points to my class)
> >> Here I wrote a lengthy validate() Method, which fetches a user,  
> >> and compared
> >> passwords.
> >> (it was just a mockup or prrof of concept, nothing fancy)
> >> The validate() method returns false for wrong password, and true if
> >> everything is correct.
> >> This works, in so far that my codes gets called, and the username/ 
> >> password
> >> is evaluated, and the correct boolean values are returned.
> >> But regardless if I type in the correct username/password, 
> or if I  
> >> give a
> >> wrong login,
> >> I get redirected back to the login form...
> >> Is there something I'm missing? (there obviously is :-)
> >> Or am I completly onto the wrong track?
> >> Any help would be apriciated.
> > \ /
> >  -    marsman
> >
> > contact me : henk at marsman-it.be
> > _______________________________________________
> > Rife-users mailing list
> > [email protected]
> > http://lists.uwyn.com/mailman/listinfo/rife-users
> >
> 
> --
> Geert Bevin
> Uwyn "Use what you need" - http://uwyn.com
> RIFE Java application framework - http://rifers.org
> Music and words - http://gbevin.com
> 
> 
> _______________________________________________
> Rife-users mailing list
> [email protected]
> http://lists.uwyn.com/mailman/listinfo/rife-users
> 
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to