org.edg.security.info
Class VOMSInfo

java.lang.Object
  |
  +--java.util.Dictionary
        |
        +--java.util.Hashtable
              |
              +--java.util.Properties
                    |
                    +--org.edg.security.info.VOMSInfo
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable

Deprecated. This is to warn any developer that this code will be replaced by org.edg.security.voms.VOMSInfo in the near-term future.

public class VOMSInfo
extends java.util.Properties

Author:
Olle Mulmo, stealing code from Lory Karoly
See Also:
Serialized Form

Field Summary
static java.lang.String ROLE_NAME
          Deprecated.  
static java.lang.String VO_NAME
          Deprecated.  
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
VOMSInfo(byte[] raw)
          Deprecated.  
VOMSInfo(java.lang.String vo, java.util.Set roles)
          Deprecated.  
 
Method Summary
 java.util.Set getRoles()
          Deprecated.  
 java.lang.String getVO()
          Deprecated.  
 byte[] toByteArray()
          Deprecated.  
 
Methods inherited from class java.util.Properties
getProperty, getProperty, list, list, load, propertyNames, save, setProperty, store
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

VO_NAME

public static final java.lang.String VO_NAME
Deprecated. 
See Also:
Constant Field Values

ROLE_NAME

public static final java.lang.String ROLE_NAME
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

VOMSInfo

public VOMSInfo(java.lang.String vo,
                java.util.Set roles)
Deprecated. 

VOMSInfo

public VOMSInfo(byte[] raw)
         throws java.lang.Exception
Deprecated. 
Method Detail

toByteArray

public byte[] toByteArray()
Deprecated. 
Returns:
byte[] the VOMSInfo encoded

getVO

public java.lang.String getVO()
Deprecated. 
Returns:
String the VO name

getRoles

public java.util.Set getRoles()
Deprecated. 
Returns:
Set of String of the VOMS-approved roles