org.cagrid.gridftp.authorization.plugin.gridgrouper
Class GridGrouperAuthCallout
java.lang.Object
org.cagrid.gridftp.authorization.plugin.AbstractAuthCallout
org.cagrid.gridftp.authorization.plugin.gridgrouper.GridGrouperAuthCallout
- All Implemented Interfaces:
- org.cagrid.gridftp.authorization.plugin.Authorize
public class GridGrouperAuthCallout
- extends org.cagrid.gridftp.authorization.plugin.AbstractAuthCallout
This authorization plug-in implements a grid grouper check. To use the
plug-in, you need to create an xml configuration file and put it on
the classpath at RESOURCE_LOCATION. The xml file needs to use the
gridgrouper-config schema.
For complete documentation, refer to the GridFTP with Java Authorization
User Documentation.
- Version:
- $Id: GridGrouperAuthCallout.java,v 1.1 2007/03/22 18:54:44 jpermar
Exp $
- Author:
- Justin Permar
- See Also:
RESOURCE_LOCATION
|
Field Summary |
static java.lang.String |
PARENT_SCHEMA
|
static java.lang.String |
RESOURCE_LOCATION
The xml gridgrouper auth config file that must be specified on the
classpath at this location. |
static java.lang.String |
SCHEMA_LOCATION
|
| Fields inherited from class org.cagrid.gridftp.authorization.plugin.AbstractAuthCallout |
_logger |
|
Method Summary |
boolean |
authorizeOperation(org.cagrid.gridftp.authorization.plugin.GridFTPTuple tuple)
|
static void |
main(java.lang.String[] args)
|
| Methods inherited from class org.cagrid.gridftp.authorization.plugin.AbstractAuthCallout |
authorize |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RESOURCE_LOCATION
public static final java.lang.String RESOURCE_LOCATION
- The xml gridgrouper auth config file that must be specified on the
classpath at this location.
- See Also:
- Constant Field Values
SCHEMA_LOCATION
public static final java.lang.String SCHEMA_LOCATION
- See Also:
- Constant Field Values
PARENT_SCHEMA
public static final java.lang.String PARENT_SCHEMA
- See Also:
- Constant Field Values
GridGrouperAuthCallout
public GridGrouperAuthCallout()
throws java.lang.Exception
- Throws:
java.lang.Exception
authorizeOperation
public boolean authorizeOperation(org.cagrid.gridftp.authorization.plugin.GridFTPTuple tuple)
- Specified by:
authorizeOperation in class org.cagrid.gridftp.authorization.plugin.AbstractAuthCallout
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Parameters:
args -
- Throws:
java.lang.Exception