Class GuardedPath

java.lang.Object
org.dlese.dpc.schemedit.security.access.GuardedPath

public class GuardedPath extends Object
Wrapper for ActionMapping
Author:
ostwald
  • Field Details

    • description

      protected String description
    • matcher

      protected UrlPatternMatcher matcher
    • role

      protected Roles.Role role
    • df

      protected org.dom4j.DocumentFactory df
  • Constructor Details

    • GuardedPath

      public GuardedPath()
      Constructor for the GuardedPath object
      Parameters:
      mapping - Description of the Parameter
      description - Description of the Parameter
      role - Description of the Parameter
    • GuardedPath

      public GuardedPath(String path)
    • GuardedPath

      public GuardedPath(UrlPatternMatcher matcher)
  • Method Details

    • setMatcher

      public void setMatcher(UrlPatternMatcher matcher)
    • match

      public boolean match(String path)
    • getElementName

      protected String getElementName()
    • getPath

      public String getPath()
      Gets the path attribute of the GuardedPath object
      Returns:
      The path value
    • getActions

      public List getActions()
    • setActions

      public void setActions(List actions)
    • getRole

      public Roles.Role getRole()
      Gets the role attribute of the GuardedPath object
      Returns:
      The role value
    • setRole

      public void setRole(Roles.Role role)
      Sets the role attribute of the GuardedPath object
      Parameters:
      role - The new role value
    • getName

      public String getName()
    • getIsActionMapping

      public boolean getIsActionMapping()
      Returns true if this GuardedPath is aligned with a single actionMapping
    • setIsActionMapping

      public void setIsActionMapping(boolean b)
    • getDescription

      public String getDescription()
      Gets the description attribute of the GuardedPath object
      Returns:
      The description value
    • setDescription

      public void setDescription(String d)
      Sets the description attribute of the GuardedPath object
      Parameters:
      d - The new description value
    • asElement

      public org.dom4j.Element asElement()
    • prtln

      protected static void prtln(String s)