directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vte...@apache.org
Subject svn commit: r111501 - incubator/directory/janus/trunk/core/impl/src/java/org/apache/janus/authorization/effect
Date Fri, 10 Dec 2004 13:25:06 GMT
Author: vtence
Date: Fri Dec 10 05:24:58 2004
New Revision: 111501

URL: http://svn.apache.org/viewcvs?view=rev&rev=111501
Log:
Implemented toString() to clarify test output
Modified:
   incubator/directory/janus/trunk/core/impl/src/java/org/apache/janus/authorization/effect/DenyEffect.java
   incubator/directory/janus/trunk/core/impl/src/java/org/apache/janus/authorization/effect/DenyOverridesEffect.java
   incubator/directory/janus/trunk/core/impl/src/java/org/apache/janus/authorization/effect/FirstApplicableEffect.java
   incubator/directory/janus/trunk/core/impl/src/java/org/apache/janus/authorization/effect/GrantEffect.java
   incubator/directory/janus/trunk/core/impl/src/java/org/apache/janus/authorization/effect/LastApplicableEffect.java
   incubator/directory/janus/trunk/core/impl/src/java/org/apache/janus/authorization/effect/NotApplicableEffect.java
   incubator/directory/janus/trunk/core/impl/src/java/org/apache/janus/authorization/effect/PermitOverridesEffect.java

Modified: incubator/directory/janus/trunk/core/impl/src/java/org/apache/janus/authorization/effect/DenyEffect.java
Url: http://svn.apache.org/viewcvs/incubator/directory/janus/trunk/core/impl/src/java/org/apache/janus/authorization/effect/DenyEffect.java?view=diff&rev=111501&p1=incubator/directory/janus/trunk/core/impl/src/java/org/apache/janus/authorization/effect/DenyEffect.java&r1=111500&p2=incubator/directory/janus/trunk/core/impl/src/java/org/apache/janus/authorization/effect/DenyEffect.java&r2=111501
==============================================================================
--- incubator/directory/janus/trunk/core/impl/src/java/org/apache/janus/authorization/effect/DenyEffect.java
(original)
+++ incubator/directory/janus/trunk/core/impl/src/java/org/apache/janus/authorization/effect/DenyEffect.java
Fri Dec 10 05:24:58 2004
@@ -51,4 +51,9 @@
     {
         return this;
     }
+
+    public String toString()
+    {
+        return "Deny";
+    }
 }

Modified: incubator/directory/janus/trunk/core/impl/src/java/org/apache/janus/authorization/effect/DenyOverridesEffect.java
Url: http://svn.apache.org/viewcvs/incubator/directory/janus/trunk/core/impl/src/java/org/apache/janus/authorization/effect/DenyOverridesEffect.java?view=diff&rev=111501&p1=incubator/directory/janus/trunk/core/impl/src/java/org/apache/janus/authorization/effect/DenyOverridesEffect.java&r1=111500&p2=incubator/directory/janus/trunk/core/impl/src/java/org/apache/janus/authorization/effect/DenyOverridesEffect.java&r2=111501
==============================================================================
--- incubator/directory/janus/trunk/core/impl/src/java/org/apache/janus/authorization/effect/DenyOverridesEffect.java
(original)
+++ incubator/directory/janus/trunk/core/impl/src/java/org/apache/janus/authorization/effect/DenyOverridesEffect.java
Fri Dec 10 05:24:58 2004
@@ -47,4 +47,10 @@
     {
         return Effects.DENY;
     }
+
+
+    public String toString()
+    {
+        return "Deny Overrides";
+    }
 }

Modified: incubator/directory/janus/trunk/core/impl/src/java/org/apache/janus/authorization/effect/FirstApplicableEffect.java
Url: http://svn.apache.org/viewcvs/incubator/directory/janus/trunk/core/impl/src/java/org/apache/janus/authorization/effect/FirstApplicableEffect.java?view=diff&rev=111501&p1=incubator/directory/janus/trunk/core/impl/src/java/org/apache/janus/authorization/effect/FirstApplicableEffect.java&r1=111500&p2=incubator/directory/janus/trunk/core/impl/src/java/org/apache/janus/authorization/effect/FirstApplicableEffect.java&r2=111501
==============================================================================
--- incubator/directory/janus/trunk/core/impl/src/java/org/apache/janus/authorization/effect/FirstApplicableEffect.java
(original)
+++ incubator/directory/janus/trunk/core/impl/src/java/org/apache/janus/authorization/effect/FirstApplicableEffect.java
Fri Dec 10 05:24:58 2004
@@ -47,4 +47,9 @@
     {
         return Effects.DENY;
     }
+
+    public String toString()
+    {
+        return "First Applicable";
+    }
 }

Modified: incubator/directory/janus/trunk/core/impl/src/java/org/apache/janus/authorization/effect/GrantEffect.java
Url: http://svn.apache.org/viewcvs/incubator/directory/janus/trunk/core/impl/src/java/org/apache/janus/authorization/effect/GrantEffect.java?view=diff&rev=111501&p1=incubator/directory/janus/trunk/core/impl/src/java/org/apache/janus/authorization/effect/GrantEffect.java&r1=111500&p2=incubator/directory/janus/trunk/core/impl/src/java/org/apache/janus/authorization/effect/GrantEffect.java&r2=111501
==============================================================================
--- incubator/directory/janus/trunk/core/impl/src/java/org/apache/janus/authorization/effect/GrantEffect.java
(original)
+++ incubator/directory/janus/trunk/core/impl/src/java/org/apache/janus/authorization/effect/GrantEffect.java
Fri Dec 10 05:24:58 2004
@@ -51,4 +51,9 @@
     {
         return this;
     }
+
+    public String toString()
+    {
+        return "Grant";
+    }
 }

Modified: incubator/directory/janus/trunk/core/impl/src/java/org/apache/janus/authorization/effect/LastApplicableEffect.java
Url: http://svn.apache.org/viewcvs/incubator/directory/janus/trunk/core/impl/src/java/org/apache/janus/authorization/effect/LastApplicableEffect.java?view=diff&rev=111501&p1=incubator/directory/janus/trunk/core/impl/src/java/org/apache/janus/authorization/effect/LastApplicableEffect.java&r1=111500&p2=incubator/directory/janus/trunk/core/impl/src/java/org/apache/janus/authorization/effect/LastApplicableEffect.java&r2=111501
==============================================================================
--- incubator/directory/janus/trunk/core/impl/src/java/org/apache/janus/authorization/effect/LastApplicableEffect.java
(original)
+++ incubator/directory/janus/trunk/core/impl/src/java/org/apache/janus/authorization/effect/LastApplicableEffect.java
Fri Dec 10 05:24:58 2004
@@ -47,4 +47,10 @@
     {
         return new LastApplicableEffect( Effects.DENY );
     }
+
+
+    public String toString()
+    {
+        return "Last Applicable";
+    }
 }

Modified: incubator/directory/janus/trunk/core/impl/src/java/org/apache/janus/authorization/effect/NotApplicableEffect.java
Url: http://svn.apache.org/viewcvs/incubator/directory/janus/trunk/core/impl/src/java/org/apache/janus/authorization/effect/NotApplicableEffect.java?view=diff&rev=111501&p1=incubator/directory/janus/trunk/core/impl/src/java/org/apache/janus/authorization/effect/NotApplicableEffect.java&r1=111500&p2=incubator/directory/janus/trunk/core/impl/src/java/org/apache/janus/authorization/effect/NotApplicableEffect.java&r2=111501
==============================================================================
--- incubator/directory/janus/trunk/core/impl/src/java/org/apache/janus/authorization/effect/NotApplicableEffect.java
(original)
+++ incubator/directory/janus/trunk/core/impl/src/java/org/apache/janus/authorization/effect/NotApplicableEffect.java
Fri Dec 10 05:24:58 2004
@@ -51,4 +51,9 @@
     {
         return this;
     }
+
+    public String toString()
+    {
+        return "Not Applicable";
+    }
 }

Modified: incubator/directory/janus/trunk/core/impl/src/java/org/apache/janus/authorization/effect/PermitOverridesEffect.java
Url: http://svn.apache.org/viewcvs/incubator/directory/janus/trunk/core/impl/src/java/org/apache/janus/authorization/effect/PermitOverridesEffect.java?view=diff&rev=111501&p1=incubator/directory/janus/trunk/core/impl/src/java/org/apache/janus/authorization/effect/PermitOverridesEffect.java&r1=111500&p2=incubator/directory/janus/trunk/core/impl/src/java/org/apache/janus/authorization/effect/PermitOverridesEffect.java&r2=111501
==============================================================================
--- incubator/directory/janus/trunk/core/impl/src/java/org/apache/janus/authorization/effect/PermitOverridesEffect.java
(original)
+++ incubator/directory/janus/trunk/core/impl/src/java/org/apache/janus/authorization/effect/PermitOverridesEffect.java
Fri Dec 10 05:24:58 2004
@@ -47,4 +47,10 @@
     {
         return new PermitOverridesEffect( Effects.DENY );
     }
+
+
+    public String toString()
+    {
+        return "Permit Overrides";
+    }
 }

Mime
View raw message