|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.glite.security.voms.service.ACLEntry
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.
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 |
public ACLEntry()
Method Detail |
public java.lang.String getAdminDN()
public java.lang.String getAdminCA()
public void setAdminDN(java.lang.String dn)
public void setAdminCA(java.lang.String ca)
public java.lang.String getOperationName()
public void setOperationName(java.lang.String operation)
public boolean isAllow()
public void setAllow(boolean allow)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |