Hi Pranab,

you need to unsubscribe from the list. You can find more information how to do that here:

http://cocoon.apache.org/mail-lists.html

Regards,

Jeroen

[EMAIL PROTECTED] wrote:
Can someone plz remove me from this email list.

Warm Regards,

Pranab Das

Senior Software Engineer
BirlaSoft

H - 9, Sector - 63, Noida 201306, India

+91 120 662 9367 Phone
+91 981 050 9123 Cell

[EMAIL PROTECTED]

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 12, 2008 10:57 PM
To: users@cocoon.apache.org
Subject: RE: Cocoon Authentication
Importance: High


Hello Team,

I tried to un-subscribe from this email list, but got mail could not be
delivered could someone un-subscribe from this email list, so that I
could use or subscribe with my new email ID.

Please help me.

Thanks in advance.

Warm Regards,

Pranab Das

Senior Software Engineer
BirlaSoft

H - 9, Sector - 63, Noida 201306, India

+91 120 662 9367 Phone
+91 981 050 9123 Cell

[EMAIL PROTECTED]
-----Original Message-----
From: Magnus Haraldsen Amundsen
[mailto:[EMAIL PROTECTED] Sent: Tuesday, August 12, 2008 8:23 PM
To: users@cocoon.apache.org
Subject: RE: Cocoon Authentication

The stacktrace can be found at: http://pastebin.com/m37c106d

- Magnus

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alessandro Vincelli
Sent: 12. august 2008 14:45
To: users@cocoon.apache.org
Subject: re: Cocoon Authentication

Magnus,
I'm using a very similar code, but I haven't your problem.
Try to post the stacktrace.
Bye
Alessandro
----- Original Message -----
Da : "Magnus Haraldsen Amundsen"
<[EMAIL PROTECTED]>
A : <users@cocoon.apache.org>
Oggetto : Cocoon Authentication
Data : Tue, 12 Aug 2008 13:29:05 +0200

Hi,

We use the Coocoon authentication block in our web app
through the following dependency in our pom.xml:

<dependency>
  <groupId>org.apache.cocoon</groupId>
  <artifactId>cocoon-auth-impl</artifactId>
  <version>1.0.0</version>
</dependency>

In our Spring configuration we have declated a simple
security handler and a standard application:

<bean
name="org.apache.cocoon.auth.SecurityHandler/Sublima"
class="com.computas.sublima.app.controller.admin.LoginCont
roller"
      scope="singleton">
</bean>

<bean name="org.apache.cocoon.auth.Application/Sublima"
class="org.apache.cocoon.auth.impl.StandardApplication"
      scope="singleton">
  <property name="securityHandler"
ref="org.apache.cocoon.auth.SecurityHandler/Sublima"/>
</bean>

This is used in the sitemap in the following way:

<map:match pattern="do-login">
  <map:act type="cauth-login">
    <map:parameter name="application" value="Sublima"/>
    <map:parameter name="name"
value="{request-param:username}"/>
    <map:parameter name="password"
value="{request-param:password}"/>
    <map:redirect-to uri="admin"/>
  </map:act>
  <map:redirect-to uri="{request:contextPath}/login"/>
</map:match>

The Java code to handle the login is as follows (snippet):
http://pastebin.com/m77ef2312

When ie. the username does not exist, the code throws an
AuthenticationException and the stacktrace is presented to
the user. We want the user to be directed back to the
login page with the exception message as an text
explaining what went wrong. How do we do this?

- Magnus




IMPORTANT NOTICE:
This message may contain confidential information. If you have received this e-mail in error, do not use,
copy or  distribute it. Do not open any attachments.
Delete it immediately from your system and notify the
sender promptly by e-mail that you  have done so. Thank
you.



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

__________ Information from ESET NOD32 Antivirus, version of virus
signature database 3348 (20080812) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
__________ Information from ESET NOD32 Antivirus, version of virus
signature database 3348 (20080812) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
IMPORTANT NOTICE: This message may contain confidential information. If you have received this e-mail in error, do not use, copy or distribute it. Do not open any attachments. Delete it immediately from your system and notify the sender promptly by e-mail that you have done so. Thank you.


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


************************************************************************
************************************************************************
*********************
"This message and any attachments are solely for the intended recipient
and may contain Birlasoft confidential or privileged information. If you
are not the intended recipient,any disclosure,copying, use, or
distribution of the information included in this message and any
attachments is prohibited. If you have received this communication in error, please
notify us by reply e-mail at ([EMAIL PROTECTED]) and
permanently delete this message and any attachments. Thank you."
************************************************************************
************************************************************************
*********************

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


*********************************************************************************************************************************************************************
"This message and any attachments are solely for the intended recipient and may contain Birlasoft confidential or privileged information. If you are not the intended recipient,any disclosure,copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail at ([EMAIL PROTECTED]) and permanently delete this message and any attachments. Thank you."
*********************************************************************************************************************************************************************

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


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

Reply via email to