Class SymlinkAllowedResourceAliasChecker
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.server.AllowedResourceAliasChecker
org.eclipse.jetty.server.SymlinkAllowedResourceAliasChecker
- All Implemented Interfaces:
ContextHandler.AliasCheck, LifeCycle
An extension of
AllowedResourceAliasChecker which will allow symlinks alias to arbitrary
targets, so long as the symlink file itself is an allowed resource.-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListenerNested classes/interfaces inherited from interface LifeCycle
LifeCycle.Listener -
Field Summary
FieldsFields inherited from class AllowedResourceAliasChecker
_base, FOLLOW_LINKS, NO_FOLLOW_LINKS -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AllowedResourceAliasChecker
check, doStart, doStop, getContextHandler, getPath, initialize, isAllowed, isSameFile, toStringMethods inherited from class AbstractLifeCycle
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stop
-
Field Details
-
LOG
-
-
Constructor Details
-
SymlinkAllowedResourceAliasChecker
- Parameters:
contextHandler- the context handler to use.
-
-
Method Details
-
check
- Overrides:
checkin classAllowedResourceAliasChecker
-