|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.globus.ogsa.impl.base.cas.server.CasQueryPortImpl
Implementation of CAS Query interface
| Constructor Summary | |
CasQueryPortImpl()
|
|
| Method Summary | |
CasObjectData[] |
findApplicablePolicy(java.lang.String type,
java.lang.String name)
Method to get all applicable policies |
org.globus.ogsa.base.cas.casTypes.SAMLAssertion |
getAssertion(SAMLAuthzQueryType[] queries,
int lifetimeInSeconds)
Method that generated an assertion with a list of AuthzDecisionStmt that represent the list of actions that are permitted. |
CasObjectData |
getCasObject(java.lang.String type,
java.lang.String name)
Method to get an object given its identifier |
java.lang.String[] |
getGroupMembers(java.lang.String groupType,
java.lang.String groupName)
Method that returns the group members as an array of string |
QName[] |
getOperations()
Called during initialization when the Grid service needs to find out what operations are supported by this provider. |
void |
initialize(GridServiceBase base)
Called when the operation provider is added to a grid service. |
java.lang.String[] |
list(java.lang.String type)
Method to get a list of objects |
java.lang.String |
whoami()
Method to get nickname of the user invoking the method |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CasQueryPortImpl()
| Method Detail |
public void initialize(GridServiceBase base)
throws GridServiceException
OperationProvider
initialize in interface OperationProviderbase - the service this provider is being associated with
GridServiceException - if the initialization (and service creation
is to be aborted)public QName[] getOperations()
OperationProvider
getOperations in interface OperationProvidernew QName[] {new QName("","*")}, will result in all
incoming operations being redirected to this provider (apart from the
OGSI defined GridService interface operations provided by the
GridServiceBase implementation. Note that individual
operations in the OGSI namespace could still be overridded with this
approach, but not using the 'all namespaces and all operation' wildcard.
public java.lang.String whoami()
throws CasFault
CasFault - if any other error occurs.
public CasObjectData[] findApplicablePolicy(java.lang.String type,
java.lang.String name)
throws CasFault,
NoPermissionFault
type - type of object whose policy is needed
trustAnchor/namespace/user/userGroup/object/objectGroup/
serviceType, serviceTypeAction/serviceActionGroupname - identifier for the object
trustAnchorNickname/namespaceNickname/userNickname/userGroupName/
object(namespace|name)/objectGroupName/serviceTypeName/
serviceTypeAction(serviceType/action)/serviceActionGroupName
NoPermissionFault - if the client does not have
permission to perform this operation.
CasFault - if any other error occurs.
public java.lang.String[] list(java.lang.String type)
throws CasFault,
NoPermissionFault
type - type of object
"user" or "userGroup" or "object" or "objectGroup" or
"serviceAction" or "serviceActionGroup" or "serviceType"
or "namespace" or "trustAnchor" or "policy"
NoPermissionFault - if the client does not have
permission to perform this operation.
CasFault - if any other error occurs.
public CasObjectData getCasObject(java.lang.String type,
java.lang.String name)
throws CasFault,
NoPermissionFault
type - type of object
"user" or "userGroup" or "object" or "objectGroup" or
"serviceType" or "trustAnchor" or "namespace" or "policy"name - name that identifies the object
userName, userGroupName, object(objectNamespace|objectName),
objectGroupName, serviceTypeName, trustAnchorNick,
namespaceNick, policyId
NoPermissionFault - if the client does not have
permission to perform this operation.
CasFault - if any other error occurs.
public java.lang.String[] getGroupMembers(java.lang.String groupType,
java.lang.String groupName)
throws CasFault,
NoPermissionFault
groupType - Type of group. Should be "user" or "object" or "serviceAction"groupName - Name of the group whose members are to be retrieved
NoPermissionFault - if the client does not have
permission to perform this operation.
CasFault - if any other error occurs.
public org.globus.ogsa.base.cas.casTypes.SAMLAssertion getAssertion(SAMLAuthzQueryType[] queries,
int lifetimeInSeconds)
throws CasFault,
NoPermissionFault
lifetimeInSeconds - Requested lifetime on the assertion in seconds
NoPermissionFault - if the client does not have
permission to perform this operation.
CasFault - if any error occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||