geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgenen...@apache.org
Subject svn commit: r153368 - geronimo/trunk/modules/jetty/src/java/org/apache/geronimo/jetty/interceptor/SecurityContextBeforeAfter.java
Date Fri, 11 Feb 2005 06:12:58 GMT
Author: jgenender
Date: Thu Feb 10 22:12:58 2005
New Revision: 153368

URL: http://svn.apache.org/viewcvs?view=rev&rev=153368
Log:
Added roleName to the 'Role does not exist in this configuration' error message.

Modified:
    geronimo/trunk/modules/jetty/src/java/org/apache/geronimo/jetty/interceptor/SecurityContextBeforeAfter.java

Modified: geronimo/trunk/modules/jetty/src/java/org/apache/geronimo/jetty/interceptor/SecurityContextBeforeAfter.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/jetty/src/java/org/apache/geronimo/jetty/interceptor/SecurityContextBeforeAfter.java?view=diff&r1=153367&r2=153368
==============================================================================
--- geronimo/trunk/modules/jetty/src/java/org/apache/geronimo/jetty/interceptor/SecurityContextBeforeAfter.java
(original)
+++ geronimo/trunk/modules/jetty/src/java/org/apache/geronimo/jetty/interceptor/SecurityContextBeforeAfter.java
Thu Feb 10 22:12:58 2005
@@ -367,7 +367,7 @@
             Set principalSet = new HashSet();
 
             if (!securityRoles.contains(roleName)) {
-                throw new GeronimoSecurityException("Role does not exist in this configuration");
+                throw new GeronimoSecurityException("Role '" + roleName + "' does not exist
in this configuration");
             }
 
             Subject roleDesignate = new Subject();



Mime
View raw message