RE: Any way to "forward" to j_security_check?

2001-02-23 Thread michael . kaufman
Thanks to everyone for the replies, useful info on Orion apart from anything else ! Main ideas seem to be: a). Programmatic login using RoleManager - Had looked at this, very useful but the authentication isn't really the problem. What's needed after some code of our own is the normal j_security

RE: Any way to "forward" to j_security_check?

2001-02-22 Thread Juan Lorandi (Chile)
It works, just like MCB said. JP > -Original Message- > From: Mike Cannon-Brookes [mailto:[EMAIL PROTECTED]] > Sent: Jueves, 22 de Febrero de 2001 11:23 > To: Orion-Interest > Subject: RE: Any way to "forward" to j_security_check? > > > This is very

RE: Any way to "forward" to j_security_check?

2001-02-22 Thread Jeff Schnitzer
Yes, this works, and is how I perform user authentication. It's not app server portable though. :-( Jeff >-Original Message- >From: Andre Vanha [mailto:[EMAIL PROTECTED]] >Sent: Thursday, February 22, 2001 8:52 AM >To: Orion-Interest >Subject: RE: Any

RE: Any way to "forward" to j_security_check?

2001-02-22 Thread cybermaster
Which version of the server are you using? FORM based authentication works for me on 1.4.5 - have not tried to forward to j_security_check, though (and can't find any file named like this in the jars). >From what you describe, you probably may want to catch any request before it's regular dispat

RE: Any way to "forward" to j_security_check?

2001-02-22 Thread Andre Vanha
It might be possible to achieve this without forwarding. I haven't tried it, but using Orion's role manager might do the trick. First you can retrieve the role manager using RoleManager manager = (RoleManager)new InitialContext().lookup("java:comp/RoleManager"); The you can call login on the Ro

RE: Any way to "forward" to j_security_check?

2001-02-22 Thread Mike Cannon-Brookes
This is very simple to do. Just grab the RoleManager from java:comp/env/RoleManager I think and then the method if just RoleManager.login(username, password) - see the Orion API docs for more info. Alas there is no standard way to do this defined in the spec. -mike > -Original Message-