[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-3629) Since Seam v2.1.0, httpServletRequest.getUserPrincipal() is always returning null when using plain J2EE security
Dan Allen (JIRA)
jira-events at lists.jboss.org
Thu Nov 27 01:35:49 EST 2008
[ https://jira.jboss.org/jira/browse/JBSEAM-3629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12440048#action_12440048 ]
Dan Allen commented on JBSEAM-3629:
-----------------------------------
You could also just disable the filter.
<web:identity-filter disabled="true"/>
But that is not a truly elegant solution, which is why I made the fix that I did.
> Since Seam v2.1.0, httpServletRequest.getUserPrincipal() is always returning null when using plain J2EE security
> ----------------------------------------------------------------------------------------------------------------
>
> Key: JBSEAM-3629
> URL: https://jira.jboss.org/jira/browse/JBSEAM-3629
> Project: Seam
> Issue Type: Bug
> Components: Security
> Affects Versions: 2.1.0.GA
> Environment: Seam v2.1.0GA, WebSphere v6.1.0.17 (Without EJB3 FP), RF v3.2.2, facelets 1.1.14, JSF RI 1.2_09
> Reporter: Denis Forveille
> Assignee: Dan Allen
> Priority: Critical
> Fix For: 2.1.1.GA
>
>
> Since v2.1.GA, it is not possible to use plain J2EE security.
> Now, httpServletRequest.getUserPrincipal() always return null and also
> @In
> UserPrincipal principal;
> does not work
> This is not working because the http request is wrapped in IdentityRequestWrapper (in IdentityFilter) and its getUserPrincipal() method is reading principal variable on Identity component.
> httpServletRequest.getUserPrincipal() should work when seam security is not use, and so we should have a way to "disable" Seam security
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list