org.LexGrid.LexBIG.cagrid.LexEVSGridService.LexBIGServiceMetadata.service.globus
Class LexBIGServiceMetadataAuthorization

java.lang.Object
  extended by org.LexGrid.LexBIG.cagrid.LexEVSGridService.LexBIGServiceMetadata.service.globus.LexBIGServiceMetadataAuthorization
All Implemented Interfaces:
java.io.Serializable, org.globus.wsrf.security.authorization.Interceptor, org.globus.wsrf.security.authorization.PDP

public class LexBIGServiceMetadataAuthorization
extends java.lang.Object
implements org.globus.wsrf.security.authorization.PDP

DO NOT EDIT: This class is autogenerated! This is a PDP for use with the globus authorization callout. This class will have a authorize method for each method on this grid service. The method is responsibe for making any authorization callouts required to satisfy the authorization requirements placed on each method call. Each method will either return apon a successful authorization or will throw an exception apon a failed authorization.

See Also:
Serialized Form

Field Summary
static java.lang.String SERVICE_NAMESPACE
           
 
Constructor Summary
LexBIGServiceMetadataAuthorization()
           
 
Method Summary
static void authorizeDestroy()
           
static void authorizeGetMultipleResourceProperties()
           
static void authorizeGetResourceProperty()
           
static void authorizeGetServiceSecurityMetadata()
           
static void authorizeListCodingSchemes()
           
static void authorizeQueryResourceProperties()
           
static void authorizeResolve()
           
static void authorizeRestrictToCodingScheme()
           
static void authorizeRestrictToProperties()
           
static void authorizeRestrictToPropertyParents()
           
static void authorizeRestrictToValue()
           
static void authorizeSetTerminationTime()
           
 void close()
           
static java.lang.String getCallerIdentity()
           
static org.globus.gsi.GlobusCredential getInvocationCredential()
           
 org.w3c.dom.Node getPolicy(org.w3c.dom.Node query)
           
 java.lang.String[] getPolicyNames()
           
protected  java.lang.String getServiceNamespace()
           
 void initialize(org.globus.wsrf.security.authorization.PDPConfig config, java.lang.String name, java.lang.String id)
           
 boolean isPermitted(javax.security.auth.Subject peerSubject, javax.xml.rpc.handler.MessageContext context, javax.xml.namespace.QName operation)
           
 org.w3c.dom.Node setPolicy(org.w3c.dom.Node policy)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVICE_NAMESPACE

public static final java.lang.String SERVICE_NAMESPACE
See Also:
Constant Field Values
Constructor Detail

LexBIGServiceMetadataAuthorization

public LexBIGServiceMetadataAuthorization()
Method Detail

getServiceNamespace

protected java.lang.String getServiceNamespace()

getCallerIdentity

public static java.lang.String getCallerIdentity()

getInvocationCredential

public static org.globus.gsi.GlobusCredential getInvocationCredential()

authorizeGetServiceSecurityMetadata

public static void authorizeGetServiceSecurityMetadata()
                                                throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

authorizeGetMultipleResourceProperties

public static void authorizeGetMultipleResourceProperties()
                                                   throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

authorizeGetResourceProperty

public static void authorizeGetResourceProperty()
                                         throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

authorizeQueryResourceProperties

public static void authorizeQueryResourceProperties()
                                             throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

authorizeListCodingSchemes

public static void authorizeListCodingSchemes()
                                       throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

authorizeRestrictToCodingScheme

public static void authorizeRestrictToCodingScheme()
                                            throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

authorizeRestrictToProperties

public static void authorizeRestrictToProperties()
                                          throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

authorizeRestrictToPropertyParents

public static void authorizeRestrictToPropertyParents()
                                               throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

authorizeRestrictToValue

public static void authorizeRestrictToValue()
                                     throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

authorizeResolve

public static void authorizeResolve()
                             throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

authorizeDestroy

public static void authorizeDestroy()
                             throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

authorizeSetTerminationTime

public static void authorizeSetTerminationTime()
                                        throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

isPermitted

public boolean isPermitted(javax.security.auth.Subject peerSubject,
                           javax.xml.rpc.handler.MessageContext context,
                           javax.xml.namespace.QName operation)
                    throws org.globus.wsrf.impl.security.authorization.exceptions.AuthorizationException
Specified by:
isPermitted in interface org.globus.wsrf.security.authorization.PDP
Throws:
org.globus.wsrf.impl.security.authorization.exceptions.AuthorizationException

getPolicy

public org.w3c.dom.Node getPolicy(org.w3c.dom.Node query)
                           throws org.globus.wsrf.impl.security.authorization.exceptions.InvalidPolicyException
Specified by:
getPolicy in interface org.globus.wsrf.security.authorization.PDP
Throws:
org.globus.wsrf.impl.security.authorization.exceptions.InvalidPolicyException

getPolicyNames

public java.lang.String[] getPolicyNames()
Specified by:
getPolicyNames in interface org.globus.wsrf.security.authorization.PDP

setPolicy

public org.w3c.dom.Node setPolicy(org.w3c.dom.Node policy)
                           throws org.globus.wsrf.impl.security.authorization.exceptions.InvalidPolicyException
Specified by:
setPolicy in interface org.globus.wsrf.security.authorization.PDP
Throws:
org.globus.wsrf.impl.security.authorization.exceptions.InvalidPolicyException

close

public void close()
           throws org.globus.wsrf.impl.security.authorization.exceptions.CloseException
Specified by:
close in interface org.globus.wsrf.security.authorization.Interceptor
Throws:
org.globus.wsrf.impl.security.authorization.exceptions.CloseException

initialize

public void initialize(org.globus.wsrf.security.authorization.PDPConfig config,
                       java.lang.String name,
                       java.lang.String id)
                throws org.globus.wsrf.impl.security.authorization.exceptions.InitializeException
Specified by:
initialize in interface org.globus.wsrf.security.authorization.Interceptor
Throws:
org.globus.wsrf.impl.security.authorization.exceptions.InitializeException