org.wamblee.security.authorization
Class StartsWithPathCondition

java.lang.Object
  extended by org.wamblee.security.authorization.AbstractPathCondition
      extended by org.wamblee.security.authorization.RegexpPathCondition
          extended by org.wamblee.security.authorization.StartsWithPathCondition
All Implemented Interfaces:
PathCondition

@Entity
public class StartsWithPathCondition
extends RegexpPathCondition

Condition to check whether a path starts with a given string.

Author:
Erik Brakkee

Constructor Summary
protected StartsWithPathCondition()
          For OR mapping.
  StartsWithPathCondition(java.lang.String aPath)
          Constructs the condition.
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class org.wamblee.security.authorization.RegexpPathCondition
getPattern, matches, setPattern
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StartsWithPathCondition

public StartsWithPathCondition(java.lang.String aPath)
Constructs the condition.

Parameters:
aPath - String the path must start with.

StartsWithPathCondition

protected StartsWithPathCondition()
For OR mapping.

Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class RegexpPathCondition


Copyright © 2022. All Rights Reserved.