juergen 2002/10/30 01:48:42
Modified: src/share/org/apache/slide/security SecurityImpl.java
Log:
added acl semantic switch
Revision Changes Path
1.34 +9 -9
jakarta-slide/src/share/org/apache/slide/security/SecurityImpl.java
Index: SecurityImpl.java
===================================================================
RCS file:
/home/cvs/jakarta-slide/src/share/org/apache/slide/security/SecurityImpl.java,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- SecurityImpl.java 25 Oct 2002 06:16:01 -0000 1.33
+++ SecurityImpl.java 30 Oct 2002 09:48:42 -0000 1.34
@@ -80,7 +80,7 @@
* @author <a href="mailto:remm@;apache.org">Remy Maucherat</a>
* @version $Revision$
*/
-public final class SecurityImpl implements Security {
+public class SecurityImpl implements Security {
// ----------------------------------------------------------- Constructors
@@ -105,20 +105,20 @@
/**
* Namespace.
*/
- private Namespace namespace;
+ protected Namespace namespace;
/**
* Namespace configuration.
*/
- private NamespaceConfig namespaceConfig;
+ protected NamespaceConfig namespaceConfig;
/**
* Roles cache.
* Role name -> Role interface.
*/
- private Hashtable rolesCache;
+ protected Hashtable rolesCache;
// ------------------------------------------------------- Security Methods
@@ -466,7 +466,7 @@
Enumeration permissions = courUri.getStore()
.enumeratePermissions(courUri);
- while (!granted && !denied && permissions.hasMoreElements()) {
+ while (permissions.hasMoreElements()) {
boolean oldGranted = granted;
boolean oldDenied = denied;
--
To unsubscribe, e-mail: <mailto:slide-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:slide-dev-help@;jakarta.apache.org>