eu.xtreemos.xosd.security.vops.xacml.utils
Class VOPSAccessControl

java.lang.Object
  extended by eu.xtreemos.xosd.security.vops.xacml.utils.VOPSAccessControl

public class VOPSAccessControl
extends java.lang.Object


Field Summary
private static CVOPSConfig vopsConfig
           
 
Constructor Summary
VOPSAccessControl()
           
 
Method Summary
static boolean isPermitted(java.security.cert.X509Certificate userCtx)
          Access control is handled through VOPS's property file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

vopsConfig

private static CVOPSConfig vopsConfig
Constructor Detail

VOPSAccessControl

public VOPSAccessControl()
Method Detail

isPermitted

public static boolean isPermitted(java.security.cert.X509Certificate userCtx)
                           throws java.lang.Exception
Access control is handled through VOPS's property file. The list of possible roles that are permitted. If Access Control is disabled, permit access to all (does not take userCtx into account).

Parameters:
userCtx - certificate to check the access control.
Returns:
Throws:
java.lang.Exception