Hi Gill,
I think you probably forgot to take child triggers into account. I
don't have the time to fully explain them to you, but you can find a
lot of information about them and custom authentication on the
mailinglist:
http://www.nabble.com/Re%3A-RIFE-and-Authentication-p4314165.html
http://www.nabble.com/forum/Search.jtp?
forum=9331&local=y&query=authentication
Hope this helps,
Geert
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.
Greetings from Germany
Huibert Gill
_______________________________________________
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