org.glite.security.voms.service
Class ACLEntry

java.lang.Object
  extended byorg.glite.security.voms.service.ACLEntry

public class ACLEntry
extends java.lang.Object

Represents access control list entries within the VOMS database.

Access control lists (ACLs) provide authorization information within the VOMS database. They consists of a list of principal-operation-allow/deny triplets called ACL entries. An entry allows or denies an operation to a client principal based on its third element. A client is allowed to perform an operation if she has no matching deny entry but at least one allow entry in the relevant ACL.

The principal of an ACL entry may be a VO group or role in this or in another VO, in which case that entry matches a set of clients instead of a single individual client.

The following operations are defined: CREATE, DELETE, ADD, REMOVE, SET_ACL, GET_ACL, SET_DEFAULT_ACL, GET_DEFAULT_ACL, LIST, plus a special wildcard operation ALL, which is a shorthand for all operations.

Author:
Akos Frohner

Constructor Summary
ACLEntry()
          Empty public constructor.
 
Method Summary
 java.lang.String getAdminCA()
          Returns the principal's CA for this ACL entry.
 java.lang.String getAdminDN()
          Returns the principal's DN for this ACL entry.
 java.lang.String getOperationName()
          Returns the operation field of this ACL entry.
 boolean isAllow()
          Returns the allow field of this ACL entry.
 void setAdminCA(java.lang.String ca)
          Sets the principal's CA for this ACL entry.
 void setAdminDN(java.lang.String dn)
          Sets the principal's DN for this ACL entry.
 void setAllow(boolean allow)
          Sets the allow field of this ACL entry.
 void setOperationName(java.lang.String operation)
          Sets the operation field of this ACL entry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ACLEntry

public ACLEntry()
Empty public constructor.

Method Detail

getAdminDN

public java.lang.String getAdminDN()
Returns the principal's DN for this ACL entry.


getAdminCA

public java.lang.String getAdminCA()
Returns the principal's CA for this ACL entry.


setAdminDN

public void setAdminDN(java.lang.String dn)
Sets the principal's DN for this ACL entry.


setAdminCA

public void setAdminCA(java.lang.String ca)
Sets the principal's CA for this ACL entry.


getOperationName

public java.lang.String getOperationName()
Returns the operation field of this ACL entry.


setOperationName

public void setOperationName(java.lang.String operation)
Sets the operation field of this ACL entry.


isAllow

public boolean isAllow()
Returns the allow field of this ACL entry.


setAllow

public void setAllow(boolean allow)
Sets the allow field of this ACL entry.



Copyright © 2004 EU-EGEE