geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rbaumhof <>
Subject How to use JACC with JAAS in Geronimo
Date Tue, 08 Jul 2008 11:20:07 GMT


i have problems to notify the ejb container about my authentication. Beacuse
of some special application requirements i can not use the standard servlet
authentication with j_security_check. Therfore i perform login by myself
using jaas with a geronimo sql security realm. This works fine. However
after the login SessionContext.getCallerPrincipal().getName() returns
"Unauthenticated". The try to use (hint of
David Jencks, see
returns null. Because i use my own filter servlet to watch the web sites, i
don't use any declarative role mapping in web.xml. I had to remove this
because tomcat was not notified about the login. 

My question is "what do i have to do to make
SessionContext.getCallerPrincipal().getName() work. It should not return

much thanks in advance
View this message in context:
Sent from the Apache Geronimo - Users mailing list archive at

View raw message