[jboss-jira] [JBoss JIRA] Assigned: (JBAS-1537) When Tomcat error handler is invoked, JBossGenericPrincipal is returned instead of custom principal

Scott M Stark (JIRA) jira-events at jboss.com
Thu Jan 25 06:34:58 EST 2007


     [ http://jira.jboss.com/jira/browse/JBAS-1537?page=all ]

Scott M Stark reassigned JBAS-1537:
-----------------------------------

    Assignee: Scott M Stark  (was: Anil Saldhana)

> 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: Scott M Stark
>             Fix For: JBossAS-4.2.0.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