Hi,
I have defined an authentication database action:

1.
<map:components>
<map:actions>
<map:action name="authenticator" src="org.apache.cocoon.acting.DatabaseAuthenticatorAction" />
</map:actions>
</map:components>


2. descriptor file called auth-def.xml

<auth-descriptor>
<connection>postgresql</connection>
<table name="usertbl">
<select dbcol="username" request-param="user" to-session="user" />
<select dbcol="userpassword" request-param="pass" to-session="password" />
</table>
</auth-descriptor>


3. pipeline

<map:match pattern="login">

<map:act type="authenticator">
<map:parameter name="descriptor" value="context://beyarecords/content/defs/auth-def.xml"/>
<map:redirect-to uri="xsp/tickets2.xsp"/>
</map:act>
<map:redirect-to uri="xsp/tickets2b.xsp"/>

</map:match>


the problem I am having is that the map:act section is not being processed and whether you have entered the right or wrong or right username and password the logic jumps straight to <map:redirect-to uri="xsp/tickets2b.xsp"/>. any ideas?

regards


Uzo



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to