gov.nih.nci.cagrid.gridgrouper.service.globus
Class GridGrouperAuthorization

java.lang.Object
  extended by gov.nih.nci.cagrid.gridgrouper.service.globus.GridGrouperAuthorization
All Implemented Interfaces:
java.io.Serializable, org.globus.wsrf.security.authorization.Interceptor, org.globus.wsrf.security.authorization.PDP

public class GridGrouperAuthorization
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
GridGrouperAuthorization()
           
 
Method Summary
static void authorizeAddChildGroup()
           
static void authorizeAddChildStem()
           
static void authorizeAddCompositeMember()
           
static void authorizeAddMember()
           
static void authorizeDeleteCompositeMember()
           
static void authorizeDeleteGroup()
           
static void authorizeDeleteMember()
           
static void authorizeDeleteStem()
           
static void authorizeGetChildGroups()
           
static void authorizeGetChildStems()
           
static void authorizeGetGroup()
           
static void authorizeGetGroupPrivileges()
           
static void authorizeGetMember()
           
static void authorizeGetMembers()
           
static void authorizeGetMembersGroups()
           
static void authorizeGetMemberships()
           
static void authorizeGetParentStem()
           
static void authorizeGetServiceSecurityMetadata()
           
static void authorizeGetStem()
           
static void authorizeGetStemPrivileges()
           
static void authorizeGetSubjectsWithGroupPrivilege()
           
static void authorizeGetSubjectsWithStemPrivilege()
           
static void authorizeGrantGroupPrivilege()
           
static void authorizeGrantStemPrivilege()
           
static void authorizeHasGroupPrivilege()
           
static void authorizeHasStemPrivilege()
           
static void authorizeIsMember()
           
static void authorizeIsMemberOf()
           
static void authorizeRevokeGroupPrivilege()
           
static void authorizeRevokeStemPrivilege()
           
static void authorizeUpdateGroup()
           
static void authorizeUpdateStem()
           
 void close()
           
static java.lang.String getCallerIdentity()
           
 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

GridGrouperAuthorization

public GridGrouperAuthorization()
Method Detail

getServiceNamespace

protected java.lang.String getServiceNamespace()

getCallerIdentity

public static java.lang.String getCallerIdentity()

authorizeGetServiceSecurityMetadata

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

authorizeGetStem

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

authorizeGetChildStems

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

authorizeGetParentStem

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

authorizeUpdateStem

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

authorizeGetSubjectsWithStemPrivilege

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

authorizeGetStemPrivileges

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

authorizeHasStemPrivilege

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

authorizeGrantStemPrivilege

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

authorizeRevokeStemPrivilege

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

authorizeAddChildStem

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

authorizeDeleteStem

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

authorizeGetGroup

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

authorizeGetChildGroups

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

authorizeAddChildGroup

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

authorizeDeleteGroup

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

authorizeUpdateGroup

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

authorizeAddMember

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

authorizeGetMembers

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

authorizeIsMemberOf

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

authorizeGetMemberships

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

authorizeDeleteMember

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

authorizeAddCompositeMember

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

authorizeDeleteCompositeMember

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

authorizeGrantGroupPrivilege

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

authorizeRevokeGroupPrivilege

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

authorizeGetSubjectsWithGroupPrivilege

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

authorizeGetGroupPrivileges

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

authorizeHasGroupPrivilege

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

authorizeIsMember

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

authorizeGetMember

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

authorizeGetMembersGroups

public static void authorizeGetMembersGroups()
                                      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