X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=security%2Fsrc%2Ftest%2Fjava%2Forg%2Fwamblee%2Fsecurity%2Fauthorization%2FTestAuthorizationRule.java;h=9d6000b9f4d6e78c6363df81181b254d83318751;hb=5e33a52ba36ac928b9863ddd79d2d09f6a308af6;hp=b3ee8a8bc05140bc1f633a46fbf79bc3d4f1cef5;hpb=8de36ff0206c996baf3ee4adc3e2293b12ff5f39;p=utils diff --git a/security/src/test/java/org/wamblee/security/authorization/TestAuthorizationRule.java b/security/src/test/java/org/wamblee/security/authorization/TestAuthorizationRule.java index b3ee8a8b..9d6000b9 100644 --- a/security/src/test/java/org/wamblee/security/authorization/TestAuthorizationRule.java +++ b/security/src/test/java/org/wamblee/security/authorization/TestAuthorizationRule.java @@ -1,18 +1,18 @@ /* - * Copyright 2005 the original author or authors. - * + * Copyright 2005-2010 the original author or authors. + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ + */ package org.wamblee.security.authorization; import static org.wamblee.security.authorization.AuthorizationResult.DENIED; @@ -72,8 +72,8 @@ public class TestAuthorizationRule extends UrlAuthorizationRule { */ @Override public AuthorizationResult isAllowed(Object aResource, - Operation anOperation, User aUser) { - AuthorizationResult result = super.isAllowed(aResource, anOperation, + Operation aOperation, User aUser) { + AuthorizationResult result = super.isAllowed(aResource, aOperation, aUser); if (result.equals(GRANTED) || result.equals(DENIED)) {