org.glite.security.voms.services.attributes.VOMSAttributes Interface Reference

List of all members.

Public Member Functions

void createAttributeClass (String name, String description, boolean uniquenessChecked) throws VOMSException
void createAttributeClass (String name, String description) throws VOMSException
void createAttributeClass (String name) throws VOMSException
AttributeClass getAttributeClass (String name) throws VOMSException
void saveAttributeClass (AttributeClass attributeClass) throws VOMSException
void deleteAttributeClass (String name) throws VOMSException
void deleteAttributeClass (AttributeClass attributeClass) throws VOMSException
AttributeClass[] listAttributeClasses () throws VOMSException
AttributeValue[] listUserAttributes (User user) throws VOMSException
void setUserAttribute (User user, AttributeValue attributeValue) throws VOMSException
void deleteUserAttribute (User user, String attributeName) throws VOMSException
void deleteUserAttribute (User user, AttributeValue attributeValue) throws VOMSException
void setGroupAttribute (String groupName, AttributeValue attributeValue) throws VOMSException
void deleteGroupAttribute (String groupName, String attributeName) throws VOMSException
void deleteGroupAttribute (String groupName, AttributeValue attributeValue) throws VOMSException
AttributeValue[] listGroupAttributes (String groupName) throws VOMSException
void setRoleAttribute (String groupName, String roleName, AttributeValue attributeValue) throws VOMSException
void deleteRoleAttribute (String groupName, String roleName, String attrName) throws VOMSException
void deleteRoleAttribute (String groupName, String roleName, AttributeValue attributeValue) throws VOMSException
AttributeValue[] listRoleAttributes (String groupName, String roleName) throws VOMSException

Detailed Description

The VOMS Generic attributes management interface

Author:
Andrea Ceccanti

Definition at line 34 of file VOMSAttributes.java.


Member Function Documentation

void org.glite.security.voms.services.attributes.VOMSAttributes.createAttributeClass String  name  )  throws VOMSException
 

Creates a new attribute class.

Permission::ATTRIBUTES_READ,ATTRIBUTES_WRITE,CONTAINER_READ,CONTAINER_WRITE on the VO group.

Parameters:
name,the name of the attribute
Exceptions:
VOMSException 

void org.glite.security.voms.services.attributes.VOMSAttributes.createAttributeClass String  name,
String  description
throws VOMSException
 

Creates a new attribute class.

Permission::ATTRIBUTES_READ,ATTRIBUTES_WRITE,CONTAINER_READ,CONTAINER_WRITE on the VO group.

Parameters:
name,the name of the attribute
description,a description associated to the attribute
Exceptions:
VOMSException,if something goes wrong

void org.glite.security.voms.services.attributes.VOMSAttributes.createAttributeClass String  name,
String  description,
boolean  uniquenessChecked
throws VOMSException
 

Creates a new attribute class.

Permission::ATTRIBUTES_READ,ATTRIBUTES_WRITE,CONTAINER_READ,CONTAINER_WRITE on the VO group.

Parameters:
name,the name of the attribute
description,a description associated to the attribute
uniquenessChecked,a flag that enables the uniqueness checking of attribute values between users.
Exceptions:
VOMSException,if something goes wrong.

void org.glite.security.voms.services.attributes.VOMSAttributes.deleteAttributeClass AttributeClass  attributeClass  )  throws VOMSException
 

Deletes an Attribute class. All the related mappings are consequently deleted.

Parameters:
attributeClass,the AttributeClass object
Permission::ATTRIBUTES_READ,ATTRIBUTES_WRITE,CONTAINER_READ,CONTAINER_WRITE on the VO group.

Exceptions:
VOMSException,if something goes wrong

void org.glite.security.voms.services.attributes.VOMSAttributes.deleteAttributeClass String  name  )  throws VOMSException
 

Deletes an Attribute class. All the related mappings are consequently deleted.

Permission::ATTRIBUTES_READ,ATTRIBUTES_WRITE,CONTAINER_READ,CONTAINER_WRITE on the VO group.

Parameters:
name,the name of the attribute class
Exceptions:
VOMSException,if something goes wrong

void org.glite.security.voms.services.attributes.VOMSAttributes.deleteGroupAttribute String  groupName,
AttributeValue  attributeValue
throws VOMSException
 

Deletes an attribute from a group

Permission::ATTRIBUTES_READ, ATTRIBUTES_WRITE on the 'groupName' group.

Parameters:
groupName,the name of the group
attributeValue,the AttributeValue object
Exceptions:
VOMSException 

void org.glite.security.voms.services.attributes.VOMSAttributes.deleteGroupAttribute String  groupName,
String  attributeName
throws VOMSException
 

Deletes an attribute from a group

Permission::ATTRIBUTES_READ, ATTRIBUTES_WRITE on the 'groupName' group.

Parameters:
groupName,the name of the group
attributeName,the name of the attribute
Exceptions:
VOMSException 

void org.glite.security.voms.services.attributes.VOMSAttributes.deleteRoleAttribute String  groupName,
String  roleName,
AttributeValue  attributeValue
throws VOMSException
 

Deletes an attribute from a qualified role

Permission::ATTRIBUTES_READ, ATTRIBUTES_WRITE on the /groupName/Role=roleName context.

Parameters:
groupName the name of the group
roleName the name of the role
attributeValue the AttributeValue object
Exceptions:
VOMSException 

void org.glite.security.voms.services.attributes.VOMSAttributes.deleteRoleAttribute String  groupName,
String  roleName,
String  attrName
throws VOMSException
 

Deletes an attribute from a qualified role

Permission::ATTRIBUTES_READ, ATTRIBUTES_WRITE on the /groupName/Role=roleName context.

Parameters:
groupName the name of the group
roleName the name of the role
attrName the name of the attribute
Exceptions:
VOMSException 

void org.glite.security.voms.services.attributes.VOMSAttributes.deleteUserAttribute User  user,
AttributeValue  attributeValue
throws VOMSException
 

Deletes an attribute for a user

Permission::ATTRIBUTES_READ, ATTRIBUTES_WRITE on the VO group.

Parameters:
user,the User object
attributeVale,the AttributeValue object
Exceptions:
VOMSException 

void org.glite.security.voms.services.attributes.VOMSAttributes.deleteUserAttribute User  user,
String  attributeName
throws VOMSException
 

Deletes an attribute for a user

Permission::ATTRIBUTES_READ, ATTRIBUTES_WRITE on the VO group.

Parameters:
user,the User object
attributeName,the name of the attribute to delete
Exceptions:
VOMSException 

AttributeClass org.glite.security.voms.services.attributes.VOMSAttributes.getAttributeClass String  name  )  throws VOMSException
 

Retrives an AttributeClass object

Permission::ATTRIBUTES_READ, CONTAINER_READ on the VO group.

Parameters:
name,the name of the attribute class
Returns:
an AttributeClass object if the Attribute named name is defined fro this VO
Exceptions:
VOMSException,if something goes wrong

AttributeClass [] org.glite.security.voms.services.attributes.VOMSAttributes.listAttributeClasses  )  throws VOMSException
 

Gets currently defined attribute classes.

Permission::ATTRIBUTES_READ,CONTAINER_READ on the VO group.

Returns:
an array containing the AttributeClass objects defined for this VO.
Exceptions:
VOMSException 

AttributeValue [] org.glite.security.voms.services.attributes.VOMSAttributes.listGroupAttributes String  groupName  )  throws VOMSException
 

Retrieves attributes defined for a group

Parameters:
groupName,the name of the group

Permission::ATTRIBUTES_READ on the 'groupName' group.

Returns:
an array of AttributeValue objects
Exceptions:
VOMSException 

AttributeValue [] org.glite.security.voms.services.attributes.VOMSAttributes.listRoleAttributes String  groupName,
String  roleName
throws VOMSException
 

Retrieves attributes defined for a qualified role

Permission::ATTRIBUTES_READ on the /groupName/Role=roleName context.

Parameters:
groupName the name of the group
roleName the name of the role
Returns:
an array of AttributeValue objects
Exceptions:
VOMSException 

AttributeValue [] org.glite.security.voms.services.attributes.VOMSAttributes.listUserAttributes User  user  )  throws VOMSException
 

List attributes defined for user

Permission::ATTRIBUTES_READ on the VO group.

Parameters:
user,the User object
Returns:
an array of AttributeValue objects
Exceptions:
VOMSException 

void org.glite.security.voms.services.attributes.VOMSAttributes.saveAttributeClass AttributeClass  attributeClass  )  throws VOMSException
 

Saves updates to an AttributeClass object

Parameters:
attributeClass,the AttributeClass object

Permission::ATTRIBUTES_READ,ATTRIBUTES_WRITE,CONTAINER_READ,CONTAINER_WRITE on the VO group.

Exceptions:
VOMSException,if something goes wrong

void org.glite.security.voms.services.attributes.VOMSAttributes.setGroupAttribute String  groupName,
AttributeValue  attributeValue
throws VOMSException
 

Sets an attribute for a group

Parameters:
groupName,the name of the group
attributeValue,the AttributeValue object

Permission::ATTRIBUTES_READ, ATTRIBUTES_WRITE on the 'groupName' group.

Exceptions:
VOMSException 

void org.glite.security.voms.services.attributes.VOMSAttributes.setRoleAttribute String  groupName,
String  roleName,
AttributeValue  attributeValue
throws VOMSException
 

Sets an attribute on a qualified role (i.e. a role withing a group)

Permission::ATTRIBUTES_READ, ATTRIBUTES_WRITE on the /groupName/Role=roleName context.

Parameters:
groupName the name of the group
roleName the name of the role
attributeValue the AttributeValue object
Exceptions:
VOMSException 

void org.glite.security.voms.services.attributes.VOMSAttributes.setUserAttribute User  user,
AttributeValue  attributeValue
throws VOMSException
 

Sets an attribute for a user

Permission::ATTRIBUTES_READ, ATTRIBUTES_WRITE on the VO group.

Parameters:
user,the User object
attributeVale,the AttributeValue object
Exceptions:
VOMSException 


The documentation for this interface was generated from the following file:
Generated on Thu Apr 10 18:02:26 2008 for VOMS Admin by  doxygen 1.4.6