| org.apache.lenya.ac.impl.DefaultAccessController org.apache.lenya.ac.impl.BypassableAccessController
BypassableAccessController | public class BypassableAccessController extends DefaultAccessController (Code) | | AccessController that can be bypassed for certain URL patterns.
|
Method Summary | |
public boolean | authorize(Request request) | public void | configure(Configuration conf) | protected REProgram | preparePattern(String pattern) Compile the pattern in a org.apache.regexp.REProgram .
Parameters: pattern - The pattern to compile. | protected boolean | preparedMatch(REProgram preparedPattern, String match) Matches a string using a prepared pattern program.
Parameters: preparedPattern - The pattern program. Parameters: match - The string to match. |
BypassableAccessController | public BypassableAccessController()(Code) | | Ctor.
|
configure | public void configure(Configuration conf) throws ConfigurationException(Code) | | See Also: org.apache.avalon.framework.configuration.Configurable.configure(org.apache.avalon.framework.configuration.Configuration) |
preparePattern | protected REProgram preparePattern(String pattern) throws PatternException(Code) | | Compile the pattern in a org.apache.regexp.REProgram .
Parameters: pattern - The pattern to compile. A RE program representing the pattern. throws: PatternException - when something went wrong. |
preparedMatch | protected boolean preparedMatch(REProgram preparedPattern, String match)(Code) | | Matches a string using a prepared pattern program.
Parameters: preparedPattern - The pattern program. Parameters: match - The string to match. true if the string matched the pattern, false otherwise. |
|
|