now using the simplified user management interface.
[utils] / security / impl / src / test / java / org / wamblee / security / authorization / TestAuthorizationRule.java
index 26cb4738c77a1bbec6754257232a7bc71e08020f..2cae273264ea86f705bb8f34d382ab3be46d27f9 100644 (file)
@@ -22,7 +22,7 @@ import javax.persistence.DiscriminatorValue;
 import javax.persistence.Entity;
 import javax.persistence.Transient;
 
-import org.wamblee.usermgt.User;
+import org.wamblee.security.authentication.User;
 
 /**
  * Test authorization rule that also counts the number of times the rule
@@ -69,17 +69,9 @@ public class TestAuthorizationRule extends UrlAuthorizationRule {
         return ((TestResource) aResource).getPath();
     }
 
-    /*
-     * (non-Javadoc)
-     * 
-     * @see
-     * org.wamblee.security.authorization.UrlAuthorizationRule#isAllowed(java
-     * .lang.Object, org.wamblee.security.authorization.Operation,
-     * org.wamblee.usermgt.UserAccessor)
-     */
     @Override
     public AuthorizationResult isAllowed(Object aResource,
-        Operation aOperation, User aUser) {
+        Operation aOperation, String aUser) {
         AuthorizationResult result = super.isAllowed(aResource, aOperation,
             aUser);