- public class AclEntry
- extends klentry
Represents an entry in an ACL. It is a reference to
another ACL or to a user.
Warning: the key field is used to store part of the reference
and should not be modified directly; it is set by the
constructor.
AclEntry(Acl)
- Creates a new entry which refers to the specified ACL.
AclEntry(User)
- Creates a new entry which refers to the specified user.
isAcl()
- Returns true if the ACL entry refers to an ACL or false if it
refers to a user.
refersTo()
- Returns the ACL or user to which the ACL entry refers.
save(vqos)
- Writes the ACL entry to the output stream specified in vqServer .cfg file format.
AclEntry
public AclEntry(User theUser)
Creates a new entry which refers to the specified user.
AclEntry
public AclEntry(Acl theACL)
Creates a new entry which refers to the specified ACL.
isAcl
public boolean isAcl()
Returns true if the ACL entry refers to an ACL or false if it
refers to a user.
refersTo
public klentry refersTo()
Returns the ACL or user to which the ACL entry refers.
save
public void save(vqos os) throws java.io.IOException
Writes the ACL entry to the output stream specified in vqServer .cfg file format.
- Overrides:
- save in class klentry