X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=security%2Fsrc%2Fmain%2Fjava%2Forg%2Fwamblee%2Fsecurity%2Fauthorization%2FStartsWithPathCondition.java;h=a6c68b4e725a7f5d66ce720eb9e3b6399b770931;hb=f7fc25fbfd96a245bb09e14242107ed633d86dd8;hp=3096430e5994c9c45a7a36eae1d9fc41ee880637;hpb=955ee3a4f180b31a9c0161d91ff6e517aac44c6f;p=utils diff --git a/security/src/main/java/org/wamblee/security/authorization/StartsWithPathCondition.java b/security/src/main/java/org/wamblee/security/authorization/StartsWithPathCondition.java index 3096430e..a6c68b4e 100644 --- a/security/src/main/java/org/wamblee/security/authorization/StartsWithPathCondition.java +++ b/security/src/main/java/org/wamblee/security/authorization/StartsWithPathCondition.java @@ -1,5 +1,5 @@ /* - * 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. @@ -13,32 +13,35 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.wamblee.security.authorization; - /** - * Condition to check whether a path starts with a given string. + * Condition to check whether a path starts with a given string. + * + * @author Erik Brakkee */ public class StartsWithPathCondition extends RegexpPathCondition { - /** - * Constructs the condition. - * @param aPath String the path must start with. + * Constructs the condition. + * + * @param aPath + * String the path must start with. */ - public StartsWithPathCondition(String aPath) { - super( aPath + ".*"); + public StartsWithPathCondition(String aPath) { + super(aPath + ".*"); } - + /** - * For OR mapping. - * + * For OR mapping. + * */ - protected StartsWithPathCondition() { - super(); + protected StartsWithPathCondition() { + super(); } - - /* (non-Javadoc) + + /* + * (non-Javadoc) + * * @see java.lang.Object#toString() */ @Override