JNDIRealm and HTTP Digest authentication

2015-10-23 Thread Alexis Hassler
Hi Tomcat devs,

I've read an old mail (2007) about JNDIRealm and Digest authentication. I
had the same problem, and made my own workaround by implementing
getPAssword in a subclass. (see
https://github.com/Sewatech/swutils/blob/master/tc-utils/src/main/java/fr/sewatech/tcutils/realm/LdapRealm.java
).

Is there any reason why this has not be done in JNDIRealm ?

Shoul I propose a patch with my getPassword method ?

Alexis


Re: CoyoteAdapter

2016-01-31 Thread Alexis Hassler
Hi Roel,

Both classes are in the same package. That means that they're allowed to
access public+protected+package-private members.

Alexis

2016-01-31 15:34 GMT+01:00 Roel Storms :

> Hello Tomcat Devs,
>
> I am looking at CoyoteAdapter and Request classes in the trunk of Tomcat8:
>
>
> https://svn.apache.org/repos/asf/tomcat/tc8.0.x/trunk/java/org/apache/catalina/connector/CoyoteAdapter.java
>
> https://svn.apache.org/repos/asf/tomcat/tc8.0.x/trunk/java/org/apache/catalina/connector/Request.java
>
> In CoyoteAdapter I notice the usage of methods like
> B2CConverter getURIConverter();
> void addPathParameter(String name, String value)
> String getPathParameter(String name);
>
> However in Request these methods are marked protected. What am I missing
> here?
>
> Kind regards,
>
> Roel Storms
>