eu.xtreemos.xosd.utilities.security
Class ResourceAttributes

java.lang.Object
  extended by eu.xtreemos.xosd.utilities.security.ResourceAttributes

public class ResourceAttributes
extends java.lang.Object

The helper class for representing the attributes of a resource that originate in the resource's description and will be stored in a resource attribute certificate.

Author:
matej.artac@xlab.si

Nested Class Summary
static class ResourceAttributes.Attribute
           
 class ResourceAttributes.AttributeValuePair
           
 
Field Summary
 java.util.ArrayList<ResourceAttributes.AttributeValuePair> attributes
          A collection containing the attributes and their respective values that will be incorporated into the resource certificate.
static java.lang.String base
          The string representing the base (prefix) of the OID for the attributes.
(package private)  java.lang.String DELIM
           
 
Constructor Summary
ResourceAttributes(ResourceDescriptorRecord resource)
           
ResourceAttributes(ResourceDescriptorRecord resourceDescriptor, java.lang.String vo)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

base

public static final java.lang.String base
The string representing the base (prefix) of the OID for the attributes. Currently simply incremented Ian's base for VO.

See Also:
Constant Field Values

DELIM

final java.lang.String DELIM
See Also:
Constant Field Values

attributes

public java.util.ArrayList<ResourceAttributes.AttributeValuePair> attributes
A collection containing the attributes and their respective values that will be incorporated into the resource certificate. TODO can attributes repeat themselves (same attribute multiple times with different values?)

Constructor Detail

ResourceAttributes

public ResourceAttributes(ResourceDescriptorRecord resource)

ResourceAttributes

public ResourceAttributes(ResourceDescriptorRecord resourceDescriptor,
                          java.lang.String vo)
                   throws BadResourceException
Throws:
BadResourceException