You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Shinobu Kawai <sh...@gmail.com> on 2004/10/18 03:59:21 UTC

DataSourceRealm + DIGEST authentication

Hi all,

I'm making a DataSourceRealm that works with DIGEST authentication.  I'm
planning to achieve this by extending DataSourceRealm and implementing
getPassword() and getPrincipal().  I would like to reuse the
credentials(Connection, String) and roles(Connection, String) methods,
but they are private.  Is is possible to make these methods protected?
Or, is there a better way to achieve this?

Relative bugzilla issues:
    http://issues.apache.org/bugzilla/show_bug.cgi?id=19767
    http://issues.apache.org/bugzilla/show_bug.cgi?id=29048

TIA.

Best regards,
-- Shinobu Kawai

--
Shinobu Kawai <sh...@gmail.com>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: DataSourceRealm + DIGEST authentication

Posted by Shinobu Kawai <sh...@gmail.com>.
Hi Mark,

> I was working on this as part of resolving the bugzilla items in this and
> related areas. I have 80% of this ready to commit (and for JDBCRealm as well).
> Once I commit this, are you in a position to test it? The plan is that if it
> works I will back-port the patch to TC4 and TC5.0.x (if 5.5.x isn't stable by
> then). I should be in a position to commit something in the next day or so.
If only you had answered yesterday.  I already made what I needed!  ;)
     http://sylow.no-ip.com/pub/apache/jakarta/tomcat/DigestableDataSourceRealm.java

Anyways, I need something working by the end of this month.  I
probably won't be able to test everything thoroughly, but I will test
what I need (which is DIGEST authentication).

Best regards,
-- Shinobu Kawai

-- 
Shinobu Kawai <sh...@gmail.com>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


RE: DataSourceRealm + DIGEST authentication

Posted by Mark Thomas <ma...@apache.org>.
Hi,

I was working on this as part of resolving the bugzilla items in this and
related areas. I have 80% of this ready to commit (and for JDBCRealm as well).
Once I commit this, are you in a position to test it? The plan is that if it
works I will back-port the patch to TC4 and TC5.0.x (if 5.5.x isn't stable by
then). I should be in a position to commit something in the next day or so.

Mark 

> -----Original Message-----
> From: Shinobu Kawai [mailto:shinobu.kawai@gmail.com] 
> Sent: Monday, October 18, 2004 2:59 AM
> To: tomcat-dev@jakarta.apache.org
> Subject: DataSourceRealm + DIGEST authentication
> 
> 
> Hi all,
> 
> I'm making a DataSourceRealm that works with DIGEST 
> authentication.  I'm
> planning to achieve this by extending DataSourceRealm and implementing
> getPassword() and getPrincipal().  I would like to reuse the
> credentials(Connection, String) and roles(Connection, String) methods,
> but they are private.  Is is possible to make these methods protected?
> Or, is there a better way to achieve this?
> 
> Relative bugzilla issues:
>     http://issues.apache.org/bugzilla/show_bug.cgi?id=19767
>     http://issues.apache.org/bugzilla/show_bug.cgi?id=29048
> 
> TIA.
> 
> Best regards,
> -- Shinobu Kawai
> 
> --
> Shinobu Kawai <sh...@gmail.com>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org