ANTS v2.0 API

ants.core.security
Class AdminPermission

java.lang.Object
  |
  +--ants.core.security.Permission
        |
        +--ants.core.security.AdminPermission

public final class AdminPermission
extends Permission

Represents the "root" permission. Dangerous.

Author:
Andrew Whitaker
See Also:
Serialized Form

Constructor Summary
AdminPermission()
           
 
Method Summary
 boolean implies(Permission p)
          test whether this permission implies the given permission.
 
Methods inherited from class ants.core.security.Permission
equals, getAction, getName, toString
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AdminPermission

public AdminPermission()
Method Detail

implies

public boolean implies(Permission p)
Description copied from class: Permission
test whether this permission implies the given permission. For example, read/write implies the read permission. Names are case-insensitive.
Overrides:
implies in class Permission

ANTS v2.0 API

This documentation is Copyright (C) 1998-2001 The University of Utah and the University of Washington. All Rights Reserved. See the individual source files for distribution terms.
Documentation, software, and mailing lists for ANTS v2.0 can be found at the Janos Project: http://www.cs.utah.edu/flux/janos/