[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-2523) Identity component should be scoped to the WAR module

Reind D (JIRA) jira-events at lists.jboss.org
Tue Jan 29 17:55:59 EST 2008

     [ http://jira.jboss.com/jira/browse/JBSEAM-2523?page=all ]

Reind D closed JBSEAM-2523.

    Resolution: Rejected

I was able to avoid this issue by removing the MyFacesExtensionsFilter:

				Set the size limit for uploaded files. Format: 10 - 10
				bytes 10k - 10 KB 10m - 10 MB 1g - 1 GB
		<servlet-name>Faces Servlet</servlet-name>

Authentication works as expected after removing these lines from web.xml.

> Identity component should be scoped to the WAR module
> -----------------------------------------------------
>                 Key: JBSEAM-2523
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2523
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: Security
>    Affects Versions: 2.0.1.CR1
>         Environment: JBoss 4.2.2.GA (also tested on 4.2.0.GA)
>            Reporter: Reind D
> I have an EAR with two web modules. I have configured the 'Identity authenticateMethod' in components.xml to use a different a method for each WAR (authA.authenticate, authB.authenticate). When attempting to login to the 'b' webapp it invokes the authenticateMethod defined in a.war. Attempting to login to the 'a' webapp works as expected. It appears as though the Identity component is not scoped to the WAR. 
> The EAR is packaged as follows:
> my-application.ear/
>     a.war/
>         WEB-INF/
>             components.xml
>         ...
>     b.war/
>         WEB-INF/
>             components.xml
>         ...
>     web.jar
> Congure authentication as follows in both components.xml files:
> a.war/WEB-INF/components.xml
> <security:identity authenticate-method="#{authA.authenticate}" /> 
> b.war/WEB-INF/components.xml
> <security:identity authenticate-method="#{authB.authenticate}" /> 

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list