Re: Host appBase vs Context docBase

2014-07-05 Thread Neeraj Sinha
Normally,we configure docBase when we want the application to be resided on a separate directory and not inside tomcat. So, when you use docBase I don't think you need to configure host/appbase as well. Appbase folders go under tomcat directory parallel to default appbase webapps. Each appbase is m

Getting host name inside tomcat realm implementation

2014-06-24 Thread Neeraj Sinha
I am using form based authentication (tomcat 7.0.34) and I have the implementation of custom realm class which extends RealmBase class. Inside the getPrincipal() method implementation, I am calling backend service to save some login details. I need to pass host name to backend (I have 2 application

Re: Catalina start problem

2014-04-08 Thread Neeraj Sinha
Guys, On 4 April 2014 20:05, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Neeraj, > > On 4/4/14, 3:46 AM, Neeraj Sinha wrote: > > On 3 April 2014 23:06, Christopher Schultz > > wrote: > > > > Neeraj, > > >

Re: Catalina start problem

2014-04-04 Thread Neeraj Sinha
Chris, On 3 April 2014 23:06, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Neeraj, > > On 4/2/14, 4:23 AM, Neeraj Sinha wrote: > > I am trying to start tomcat on linux and I am getting > > LifecycleException exception whose s

Catalina start problem

2014-04-02 Thread Neeraj Sinha
I am trying to start tomcat on linux and I am getting LifecycleException exception whose snippet is below: Apr 2, 2014 8:33:53 AM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not

Re: Passing additional parameters using j_security_check (Form based authentication)

2014-03-25 Thread Neeraj Sinha
On 12 March 2014 20:40, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Neeraj, > > On 3/12/14, 10:47 AM, Neeraj Sinha wrote: > Thanks. Actually in the realm implementation, I make a call to backend > authenticate () method which valid

Re: Passing additional parameters using j_security_check (Form based authentication)

2014-03-12 Thread Neeraj Sinha
Hi Chris, On 12 March 2014 00:37, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Neeraj, > > On 3/8/14, 2:06 AM, Neeraj Sinha wrote: > > Chris, > > > > On 7 March 2014 21:43, Christopher Schultz > > wrote: > >

Re: Passing additional parameters using j_security_check (Form based authentication)

2014-03-07 Thread Neeraj Sinha
Chris, On 7 March 2014 21:43, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Neeraj, > > On 3/6/14, 4:34 AM, Neeraj Sinha wrote: > > I have a jsp application and my tomcat version is 7.0.34. > > Authentication is done us

Passing additional parameters using j_security_check (Form based authentication)

2014-03-06 Thread Neeraj Sinha
I have a jsp application and my tomcat version is 7.0.34. Authentication is done using *Form based authentication.* My requirement is as follows: When user's account gets locked, he has to send a unlock request and he gets a link in his registered email id clicking on which takes him to unlocking