4 Replies Latest reply on Feb 6, 2003 12:41 AM by Donald

    JAAS/Auth and getRemoteUser()

    Rocky Burt Newbie

      Ok... after spending all evening reading forums, docs, etc I finally have progmatic authentication working ala LoginContext.

      And... if I progmatically authenticate on the jsp side of things (not using web.xml configured login mechanism, but instead manually invoking the LoginContext.login() method within my jsp, it propagates over into my session bean such that declarative security is working for my ejbs.

      But, is it possible to get the web security to listen to that authorization? If I try to access a protected page it still tries to send me to a login page (after I've already done LoginContext.login()). Or is it just a limit to the system that there's no progmatic way to activate web.xml-based declarative security ?