Class w3c.jigsaw.resources.PassDirectory
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class w3c.jigsaw.resources.PassDirectory

java.lang.Object
   |
   +----w3c.jigsaw.resources.AttributeHolder
           |
           +----w3c.jigsaw.resources.Resource
                   |
                   +----w3c.jigsaw.resources.HTTPResource
                           |
                           +----w3c.jigsaw.resources.ContainerResource
                                   |
                                   +----w3c.jigsaw.resources.FilteredResource
                                           |
                                           +----w3c.jigsaw.resources.DirectoryResource
                                                   |
                                                   +----w3c.jigsaw.resources.PassDirectory

public class PassDirectory
extends DirectoryResource
A directory resource able to pass (jump) into some non-related directory. This resource provides something similar to the PASSS rule of the CERN server: it allows you to export a directory that is not strictly under the server physicall space (e.g. none of its parent directory is the server space directory).

Using this resource means that your exported space is no more restrained to the server space directory, which can be considered as a security problem.


Variable Index

 o ATTR_PASSTARGET
Attribute index - The target physicall directory of this resource.

Constructor Index

 o PassDirectory()

Method Index

 o getDirectory()
The getDirectory method now returns the pass-directory.

Variables

 o ATTR_PASSTARGET
  protected static int ATTR_PASSTARGET
Attribute index - The target physicall directory of this resource.

Constructors

 o PassDirectory
  public PassDirectory()

Methods

 o getDirectory
  public File getDirectory()
The getDirectory method now returns the pass-directory.
Overrides:
getDirectory in class DirectoryResource

All Packages  Class Hierarchy  This Package  Previous  Next  Index