0 Replies Latest reply on Dec 11, 2001 5:56 PM by Mark Hellkamp

    Accessing a custom Principal from Tomcat on JBoss-2.4.3_Tomc

    Mark Hellkamp Newbie

      My application uses a custom security module that has a custom principal implemented. I need to be able to access this custom principal from the web side (on Tomcat), but it appears that JBossSecurityMgrRealm creates and maintains a SimplePrincipal on the web side of the house. Other application servers return the principal created by the custom security module to the servlet container which places it into the request object (to be accessed via a call to request.getUserPrincipal()).

      Is there any way to get JBoss/Tomcat to do this via configuration, or do I have to subclass JBossSecurityMgrRealm to get the behavior that I need?