Re: Passing parameter upon login using j_security_check

2005-08-25 Thread Mark Thomas

Mark Goking wrote:


There was someone who posted 2 yrs ago about a fix for this. But it
involved modifying the source code of SavedRequest.class in the
catalina.jar

Here is the url of that post

http://sourceforge.net/tracker/?group_id=59484&atid=491164&func=detail&a
id=766413

I went to tomcat site but I couldn't find any source code for the files
of catalina.jar

If anyone finds the url, pls post it here, thanks..


http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/
and specifically
http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/authenticator/SavedRequest.java?rev=1.4&view=log

Mark


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Passing parameter upon login using j_security_check

2005-08-24 Thread Mark Goking


There was someone who posted 2 yrs ago about a fix for this. But it
involved modifying the source code of SavedRequest.class in the
catalina.jar

Here is the url of that post

http://sourceforge.net/tracker/?group_id=59484&atid=491164&func=detail&a
id=766413

I went to tomcat site but I couldn't find any source code for the files
of catalina.jar

If anyone finds the url, pls post it here, thanks..

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Passing parameter upon login using j_security_check

2005-08-21 Thread Mark Goking


Hi wade, yeah I read in some post that only j_username and j_password
gets passed in the form. Nothing else..

Even auto-login is not possible by passing the username and password as
http parameters.. I had to at least go to the login page, and then
executing the same url with the username/password will make the
autologin work. But, on the opening of the browser and executing that
url, wont work.

By the way, have you made this work using your own filter? If you don't
mind, a sample? thanks



-Original Message-
From: Wade Chandler [mailto:[EMAIL PROTECTED] 
Sent: Sunday, August 21, 2005 9:20 PM
To: Tomcat Users List
Subject: Re: Passing parameter upon login using j_security_check


--- Mark Goking <[EMAIL PROTECTED]> wrote:

> 
> 
> Is it possible to pass a parameter upon login using
> j_security_check and
> passing that parameter to index.jsp?
> 
> thanks
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 

I don't think anything gets forwarded when the post is
handed off.  I tried printing all variables once and
nothing.  I was asking about this before.  You can
create your own filter and do the same thing however. 
Should be straight forward.  Then you can even
customize your security mechanism.  Just set a session
variable and if it is not set then you know to bounce
back to the security, otherwise allow the http call to
go through.

Wade

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Passing parameter upon login using j_security_check

2005-08-21 Thread Wade Chandler
--- Mark Goking <[EMAIL PROTECTED]> wrote:

> 
> 
> Is it possible to pass a parameter upon login using
> j_security_check and
> passing that parameter to index.jsp?
> 
> thanks
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 

I don't think anything gets forwarded when the post is
handed off.  I tried printing all variables once and
nothing.  I was asking about this before.  You can
create your own filter and do the same thing however. 
Should be straight forward.  Then you can even
customize your security mechanism.  Just set a session
variable and if it is not set then you know to bounce
back to the security, otherwise allow the http call to
go through.

Wade

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Passing parameter upon login using j_security_check

2005-08-21 Thread Mark Goking


Is it possible to pass a parameter upon login using j_security_check and
passing that parameter to index.jsp?

thanks

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]