[jboss-jira] [JBoss JIRA] Updated: (JBAS-1537) When Tomcat error handler is invoked, JBossGenericPrincipal is returned instead of custom principal
Dimitris Andreadis (JIRA)
jira-events at jboss.com
Wed Jul 26 09:56:11 EDT 2006
[ http://jira.jboss.com/jira/browse/JBAS-1537?page=all ]
Dimitris Andreadis updated JBAS-1537:
-------------------------------------
Fix Version/s: JBossAS-4.0.6.CR1
(was: JBossAS-4.0.5.CR1)
> When Tomcat error handler is invoked, JBossGenericPrincipal is returned instead of custom principal
> ---------------------------------------------------------------------------------------------------
>
> Key: JBAS-1537
> URL: http://jira.jboss.com/jira/browse/JBAS-1537
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Web (Tomcat) service
> Affects Versions: JBossAS-4.0.1 Final
> Environment: linux i386, jdk 1.4.2_07
> Reporter: Rick Wong
> Assigned To: Anil Saldhana
> Fix For: JBossAS-4.0.6.CR1
>
>
> Hi,
> I followed the instruction in the Wiki to set up a custom principal
> http://www.jboss.org/wiki/Wiki.jsp?page=UsingCustomPrincpalsWith
> Normally, this works perfectly such that the call to
> request.getUserPrincipal()
> returns my custom principal type. However, if a JSP error page is invoked either by the default error handler in the web.xml, or by the JSP declaration, a different Principal object is returned.
> A call to request.getUserPrincipal() in the error handler results in an object of type
> org.jboss.web.tomcat.security.JBossGenericPrincipal
> Is this by design? Shouldn't it also return my custom attribute?
> Thanks,
> --
> Rick
--
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 jboss-jira
mailing list