|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.globus.cas.impl.service.CasAdminPortImpl
Implementation of CAS Adminstrator interface
| Field Summary | |
private static I18n |
i18n
|
(package private) static Log |
logger
|
| Constructor Summary | |
CasAdminPortImpl()
|
|
| Method Summary | |
void |
addTrustAnchor(AddTrustAnchor addTrustAnchor)
Method to add trust anchor on this CAS Server |
void |
addUser(AddUser addUser)
Method to add user on this CAS Server |
private void |
checkUserGroupExists(java.lang.String userGpName,
java.lang.String baseErr)
|
void |
createGroup(CreateGroup createGroup)
Method to create new user, object or serviceAction group |
void |
createObject(CreateObject createObj)
Method to add an object |
void |
createObjectNamespace(CreateObjectNamespace createObjNS)
Method to add namespace |
void |
createServiceType(CreateServiceType createServiceType)
Method to create service type |
void |
deleteGroup(DeleteGroup deleteGroup)
Method to remove a user, object or serviceAction group |
void |
deleteObject(DeleteObject deleteObj)
Method to remove an object |
void |
deleteObjectNamespace(java.lang.String nickname)
Method to remove namespace |
void |
deleteServiceType(java.lang.String serviceTypeName)
Method to delete service type |
PolicyResponse |
grant(PolicyDetails policyDetails)
Method to grant permissions |
void |
manageObjectGroups(ManageObjectGroups manageObjGps)
Method to add or remove an object from object group |
void |
manageServiceAction(ManageServiceAction manageServiceAction)
Method to add or remove service type/action mapping |
void |
manageServiceActionGroups(ManageServiceActionGroups managerGp)
Method to add or remove serviceAction group entry |
void |
manageUserGroups(ManageUserGroups manageUserGps)
Method to add or remove a user from user group |
void |
removeTrustAnchor(java.lang.String nickname)
Method to remove trust anchor on this CAS Server |
void |
removeUser(java.lang.String nickname)
Method to remove user on this CAS Server |
void |
revoke(PolicyDetails policyDetails)
Method to revoke permissions |
void |
revokeForId(java.lang.String policyId)
Method to revoke permissions |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
static Log logger
private static I18n i18n
| Constructor Detail |
public CasAdminPortImpl()
| Method Detail |
public void addUser(AddUser addUser)
throws CasFault,
NoPermissionFault
To enroll user cas/enroll_User permission is needed.
NoPermissionFault - if the client does not have
permission to perform this operation.
CasFault - if any other error occurs.
public void addTrustAnchor(AddTrustAnchor addTrustAnchor)
throws CasFault,
NoPermissionFault
To enroll trust anchor cas/enroll_TrustAnchor permission is needed.
NoPermissionFault - if the client does not have
permission to perform this operation.
CasFault - if any other error occurs.
public void removeUser(java.lang.String nickname)
throws CasFault,
NoPermissionFault
This operation is permitted only if cas/unenroll permission on nickname has been granted
nickname - user nickname
NoPermissionFault - if the client does not have
permission to perform this operation.
CasFault - if any other error occurs.
public void removeTrustAnchor(java.lang.String nickname)
throws CasFault,
NoPermissionFault
This operation is permitted only if cas/unenroll permission on nickname has been granted
nickname - trust anchor nickname
NoPermissionFault - if the client does not have
permission to perform this operation.
CasFault - if any other error occurs.
public void createGroup(CreateGroup createGroup)
throws CasFault,
NoPermissionFault
This operation is permitted only if the requestor has cas/create_user_group or cas/create_object_group or create_serviceAction_group on casServer
NoPermissionFault - if the client does not have
permission to perform this operation.
CasFault - if any other error occurs.
public void deleteGroup(DeleteGroup deleteGroup)
throws CasFault,
NoPermissionFault
This operation is permitted only if the requestor has cas/delete_user_group or cas/delete_object_group or delete_serviceAction_group on casServer
NoPermissionFault - if the client does not have
permission to perform this operation.
CasFault - if any other error occurs.
public void createObjectNamespace(CreateObjectNamespace createObjNS)
throws CasFault,
NoPermissionFault
This operation is permitted only if the requestor has cas/enroll_namespace permissions on casServer
NoPermissionFault - if the client does not have
permission to perform this operation.
CasFault - if any other error occurs.
public void deleteObjectNamespace(java.lang.String nickname)
throws CasFault,
NoPermissionFault
This method is permitted only if the requestor has cas/unenroll_user permission on the namespace nickname
nickname - namespace nickname
NoPermissionFault - if the client does not have
permission to perform this operation.
CasFault - if any other error occurs.
public void createObject(CreateObject createObj)
throws CasFault,
NoPermissionFault
This operation is permitted only if the requestor has cas/enroll_object permissions on casServer
NoPermissionFault - if the client does not have
permission to perform this operation.
CasFault - if any other error occurs.
public void deleteObject(DeleteObject deleteObj)
throws CasFault,
NoPermissionFault
This operation is permitted only if the requestor has cas/unenroll permissions on objectId
NoPermissionFault - if the client does not have
permission to perform this operation.
CasFault - if any other error occurs.
public void manageObjectGroups(ManageObjectGroups manageObjGps)
throws CasFault,
NoPermissionFault
Add operation is permitted only if requestor has cas/create_group_entry
permission on the groupName
Remove operation is permitted only if requestor has
cas/delete_group_entry permission on the groupName
NoPermissionFault - if the client does not have
permission to perform this operation.
CasFault - if any other error occurs.
public void manageUserGroups(ManageUserGroups manageUserGps)
throws CasFault,
NoPermissionFault
Add operation is permitted only if reuqestor has cas/create_group_entry
permission on the groupName
Remove operation is permitted only if requestor has
cas/delete_group_entry permission on the groupName
NoPermissionFault - if the client does not have
permission to perform this operation.
CasFault - if any other error occurs.
public void createServiceType(CreateServiceType createServiceType)
throws CasFault,
NoPermissionFault
This operation is permitted only if the requestor has cas/create_serviceType permissions on the casServer.
NoPermissionFault - if the client does not have
permission to perform this operation.
CasFault - if any other error occurs.
public void deleteServiceType(java.lang.String serviceTypeName)
throws CasFault,
NoPermissionFault
This operation is permitted only if the requestor has cas/unenroll permissions on the serviceTypeName
serviceTypeName - name of service type
NoPermissionFault - if the client does not have
permission to perform this operation.
CasFault - if any other error occurs.
public void manageServiceAction(ManageServiceAction manageServiceAction)
throws CasFault,
NoPermissionFault
Add operation is permitted only if requestor has cas/create_group_entry
permission on the serviceTypeName
Remove operation is permitted only if requestor has
cas/delete_group_entry permission on the serviceTypeName
NoPermissionFault - if the client does not have
permission to perform this operation.
CasFault - if any other error occurs.
public void manageServiceActionGroups(ManageServiceActionGroups managerGp)
throws CasFault,
NoPermissionFault
Add operation is permitted only if requestor has cas/create_group_entry
permission on the groupName
Remove operation is permitted only if requestor has
cas/delete_group_entry permission on the groupName
NoPermissionFault - if the client does not have
permission to perform this operation.
CasFault - if any other error occurs.
public PolicyResponse grant(PolicyDetails policyDetails)
throws CasFault,
NoPermissionFault
NoPermissionFault - if the client does not have
permission to perform this operation.
CasFault - if any other error occurs.
public void revoke(PolicyDetails policyDetails)
throws CasFault,
NoPermissionFault
NoPermissionFault - if the client does not have
permission to perform this operation.
CasFault - if any other error occurs.
public void revokeForId(java.lang.String policyId)
throws CasFault,
NoPermissionFault
policyId - policyId that needs to be revoked
NoPermissionFault - if the client does not have
permission to perform this operation.
CasFault - if any other error occurs.
private void checkUserGroupExists(java.lang.String userGpName,
java.lang.String baseErr)
throws CasFault
CasFault
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||