tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Remy Maucherat" <r...@exoffice.com>
Subject [Catalina] [Patch] Role resolution broken
Date Wed, 03 May 2000 17:02:09 GMT
Fixes the following bug :
Authorization was only given if principal.getName() was equal to the
authorized role name, because of a bug during the initialization of the
roles Hashtable in MemoryRealm.

===================================================================
RCS file:
/home/cvspublic/jakarta-tomcat/proposals/catalina/src/share/org/apache/tomca
t/realm/MemoryRealm.java,v
retrieving revision 1.3
diff -r1.3 MemoryRealm.java
368c373
< users.addElement(role);
---
> users.addElement(username);

Remy


Mime
View raw message