RE: Possible to Authenticate from Servlet/Webapp Code?

2004-12-08 Thread Sawlor . TM
Thanks for the info Yoav; however, I've tried what you suggested, and everything I can think of myself, and no luck. I don't know of anything in the declarative security that would help with this. Most of my apps use the standard for security, but there's one app that uses it's own login from a da

Possible to Authenticate from Servlet/Webapp Code?

2004-12-07 Thread Sawlor . TM
Question: - Is there a way to authenticate a user to the container (including SSO) from within a servlet? Something like: protected void service(HttpServletRequest req, HttpServletResponse resp) { Realm tomcatRealm = //how to get the realm??? tomcatRealm.authenticate("dauser", "d