This content has been marked as final.
Show 2 replies
-
1. Re: JAAS login not visible when Servlet secure using BASIC H
danl_thompson Sep 20, 2004 9:12 AM (in response to leathurman)not the expected behavior. It sounds like sessions are not being kept somehow. Are cookies enabled?
-
2. Re: JAAS login not visible when Servlet secure using BASIC H
starksm64 Sep 20, 2004 11:57 AM (in response to leathurman)No, this is the expected behavior. A filter initiated login does nothing for the security context in terms of subsequent web requests. It simply establishes the security context for other calls into the app server. You need to use the servlet declarative security model using the web.xml descriptor if you want getUserPrincipal, and isUserInRole calls to work in the web tier.