RE: Configured JDBCRealm

2014-09-02 Thread Felix Schumacher
On 3. September 2014 04:31:45 MESZ, "Dalecki, Janusz" wrote: > > >-Original Message- >From: Mark Eggers [mailto:its_toas...@yahoo.com.INVALID] >Sent: Wednesday, 3 September 2014 1:21 AM >To: Tomcat Users List >Subject: Re: Configured JDBCRealm > >-BEGIN PGP SIGNED MESSAGE- >Hash

RE: Configured JDBCRealm

2014-09-02 Thread Dalecki, Janusz
-Original Message- From: Mark Eggers [mailto:its_toas...@yahoo.com.INVALID] Sent: Wednesday, 3 September 2014 1:21 AM To: Tomcat Users List Subject: Re: Configured JDBCRealm -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 9/2/2014 5:04 AM, Daniel Mikusa wrote: > On Tue, Sep 2, 2014 at

RE: Configured JDBCRealm

2014-09-02 Thread Dalecki, Janusz
-Original Message- From: Daniel Mikusa [mailto:dmik...@pivotal.io] Sent: Tuesday, 2 September 2014 10:04 PM To: Tomcat Users List Subject: Re: Configured JDBCRealm On Tue, Sep 2, 2014 at 7:00 AM, Dalecki, Janusz wrote: > Hi, > I have configured JDBCRealm Tomcat with the following: > >

Re: Manager app + RemoteAddrValve + 403 Access Denied

2014-09-02 Thread Daniel Mikusa
On Tue, Sep 2, 2014 at 4:41 PM, Shanti Suresh wrote: > Hi Dan, > > > On Tue, Sep 2, 2014 at 12:19 PM, Daniel Mikusa wrote: > > > > > > > I tried adding this to my manager app and it was triggering a 403. A > quick > > investigation showed the 403 was coming from the CRF filter (i.e. 403 > with

Re: Question on Thread Local

2014-09-02 Thread Leon Rosenberg
no :-) Allow me to provide an example. This class : MoSKitoWebUIContext.java ( https://github.com/anotheria/moskito/blob/master/moskito-webui/src/main/java/net/anotheria/moskito/webui/MoSKitoWebUIContext.java ) Is a ThreadLocal that is used to store some information, for example HttpSession. In the

Re: Question on Thread Local

2014-09-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Leo, On 9/2/14, 4:22 PM, Leo Donahue wrote: > On Tue, Sep 2, 2014 at 3:00 PM, Leon Rosenberg > wrote: > >> From practical point of view ThreadLocal is a huge hashmap >> directly in the ThreadClass where you can store a map of >> variables. Somethi

Re: Manager app + RemoteAddrValve + 403 Access Denied

2014-09-02 Thread Shanti Suresh
Hi Dan, On Tue, Sep 2, 2014 at 12:19 PM, Daniel Mikusa wrote: > > > I tried adding this to my manager app and it was triggering a 403. A quick > investigation showed the 403 was coming from the CRF filter (i.e. 403 with > direct access, success with nonce in the URL). Maybe you're seeing the

Re: Question on Thread Local

2014-09-02 Thread Leo Donahue
On Tue, Sep 2, 2014 at 3:00 PM, Leon Rosenberg wrote: > From practical point of view ThreadLocal is a huge hashmap directly in the > ThreadClass where you can store a map of variables. > Something like Thread.Map>, in which you can > access variables that are 'attached' logically to the current T

Re: Question on Thread Local

2014-09-02 Thread Leon Rosenberg
>From practical point of view ThreadLocal is a huge hashmap directly in the ThreadClass where you can store a map of variables. Something like Thread.Map>, in which you can access variables that are 'attached' logically to the current Thread. In practice its a nice way to pass information through l

Question on Thread Local

2014-09-02 Thread Leo Donahue
I've been reading about using Thread Local in web applications and the general use case is to generate a transaction id in a filter so that the rest of the web application running in the thread local will have access to that transaction id. Thread Local is essentially a way to create a global vari

Re: Does APR/tomcat-native support TLS 1.2?

2014-09-02 Thread Sanaullah
I face the same issue with tomcat 7.0.47. you can find the details below, how i apply the patches and things get worked. By default there is no support for TLSv1.1 or TLSv1.2 in Tomcat 7.0.47. you have to apply these two patches in order to run TLSv1.1 and tlsv1.2 https://issues.apache.org/bugzill

Does APR/tomcat-native support TLS 1.2?

2014-09-02 Thread Amos Anderson
Hello Tomcat Users -- I posted this question elsewhere yesterday and then realized I should have sent it to this mailing list. I'm trying to configure tomcat7 to support TLS 1.2 (which was released 6 years ago). I can get TLS 1.0 to work, but NIST [says][1] that I "shall not" use TLS 1.0. I k

Re: Manager app + RemoteAddrValve + 403 Access Denied

2014-09-02 Thread Daniel Mikusa
On Tue, Sep 2, 2014 at 10:53 AM, Shanti Suresh wrote: > Hi Dan, > > > On Tue, Sep 2, 2014 at 7:50 AM, Daniel Mikusa wrote: > > > > > > > > > So using a RemoteAddrValve will allow you to restrict access by IP > address, > > but the manager application is still configured to require > authenticati

Re: Client certificate keystore configuration

2014-09-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Javier, On 8/28/14, 3:14 PM, Javier Conti wrote: > On 28 August 2014 13:50, Konstantin Kolinko > wrote: > >> 2014-08-28 14:46 GMT+04:00 Javier Conti >> : >>> Hi all, >>> >>> in a Tomcat 7.0.53 container we are running an application >>> which nee

Re: Release plans of Tomcat 6.0.42/6.0.43

2014-09-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Utkarsh, On 9/1/14, 7:34 AM, Utkarsh Dave wrote: > Thanks for your response. And I am sorry i cannot respond quickly. > We were waiting for the fix for > https://issues.apache.org/bugzilla/show_bug.cgi?id=56560 > > error - > > /java.lang.NoClass

Re: Configured JDBCRealm

2014-09-02 Thread Mark Eggers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 9/2/2014 5:04 AM, Daniel Mikusa wrote: > On Tue, Sep 2, 2014 at 7:00 AM, Dalecki, Janusz > wrote: > >> Hi, I have configured JDBCRealm Tomcat with the following: >> >> >> >> > driverName="org.postgresql.Driver" >> connectionURL="jdbc:postgresq

Re: Manager app + RemoteAddrValve + 403 Access Denied

2014-09-02 Thread Shanti Suresh
Hi Dan, On Tue, Sep 2, 2014 at 7:50 AM, Daniel Mikusa wrote: > > > > So using a RemoteAddrValve will allow you to restrict access by IP address, > but the manager application is still configured to require authentication. > See this note from the link I sent previously. > > "It would be quite

Re: Configured JDBCRealm

2014-09-02 Thread Daniel Mikusa
On Tue, Sep 2, 2014 at 7:00 AM, Dalecki, Janusz wrote: > Hi, > I have configured JDBCRealm Tomcat with the following: > > > > driverName="org.postgresql.Driver" > connectionURL="jdbc:postgresql://localhost:5432/df_Scheduler?user=postgres&password=admin" > userTable="users" userN

Re: Manager app + RemoteAddrValve + 403 Access Denied

2014-09-02 Thread Daniel Mikusa
On Mon, Sep 1, 2014 at 12:36 PM, Shanti Suresh wrote: > Hi Dan, > > > > On Fri, Aug 29, 2014 at 12:34 PM, Daniel Mikusa > wrote: > > > > > Can you access the JMXProxy servlet directly? > > > > > > > > > http://tomcat.apache.org/tomcat-7.0-doc/manager-howto.html#Using_the_JMX_Proxy_Servlet > > >

Re: Uploading Large Files in Tomcat 8.0.9+

2014-09-02 Thread Clint Shank
Setting maxSwallowSize="-1" worked. I didn't need maxPostSize at all. Thanks Konstantin. On Fri, Aug 29, 2014 at 2:52 PM, Konstantin Kolinko wrote: > 2014-08-29 20:19 GMT+04:00 Clint Shank : > > I was wondering whether anyone out there is seeing a problem uploading > > large files using Tomc

Configured JDBCRealm

2014-09-02 Thread Dalecki, Janusz
Hi, I have configured JDBCRealm Tomcat with the following: I have a few questions: 1) How can I get hold of this realm object within my Java app? 2) Even if I get the instance of the JDBCRealm - how do I get the list of all roles available? Regards, Janusz