i got a little Problem with RIFE Authentication and a Form Submission.
Scenario is that i want to Submit a Form to authenticate the user.
The Site has the following element :
<element id="authentication" file="rife/authenticated/database.xml" contenttype="text/xml" url=""
<property name="datasource"><datasource><config param="DATASOURCE"/></datasource></property>
<property name="password_encryption">SHA</property>
<property name="template_name">authentication</property>
<property name="template_type">enginexml</property>
<property name="role">admin</property>
<property name="authvar_type">cookie</property>
<submission name="credentials">
<param name="login"/>
<param name="password"/>
<param name="remember"/>
</submission>
<incookie name="rememberid"/>
<outcookie name="rememberid"/>
<childtrigger name="authid"/>
</element>
I tested it with an request in Firefox to get no side effects from other things:
http://localhost:8080/login?submission=credentials&login=admin&password=xxx&remeber=true
I debuged the com.uwyn.rife.authentication.elements.Authenticated class and everything looks fine.
The Credentials are validated correctly but i end in the refusedCredentials Method that sends me
<authenticate>
<url href=""> <errors>
<error>INVALID:credentials</error>
</errors>
</authenticate>
The User is in the database and i get an SessionId.
I hope that are enough infos ?!
Best Regards, odo
_______________________________________________ Rife-users mailing list [email protected] http://lists.uwyn.com/mailman/listinfo/rife-users
