Class SymlinkAllowedResourceAliasChecker

All Implemented Interfaces:
AliasCheck, LifeCycle

public class SymlinkAllowedResourceAliasChecker extends AllowedResourceAliasChecker
An extension of AllowedResourceAliasChecker which will allow symlinks alias to arbitrary targets, so long as the symlink file itself is an allowed resource. Non symlinked paths are never allowed by this AliasCheck.
  • Constructor Details

    • SymlinkAllowedResourceAliasChecker

      public SymlinkAllowedResourceAliasChecker(ContextHandler contextHandler)
      Parameters:
      contextHandler - the context handler to use.
    • SymlinkAllowedResourceAliasChecker

      public SymlinkAllowedResourceAliasChecker(ContextHandler contextHandler, Resource baseResource)
  • Method Details