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

Reply via email to