Class SecurityItem
Class SecurityItem
java.lang.Object
|
+----SecurityItem
- class SecurityItem
- extends Object
A class for holding the name and current state of a
Security property.
-
name
- The name of the resource this security item is protecting.
-
state
- Set to true if the access to this resource is ALLOWED.
-
SecurityItem(String, boolean)
- constructor - force the user to initialize the name and
state of this property.
name
public String name
- The name of the resource this security item is protecting.
state
public boolean state
- Set to true if the access to this resource is ALLOWED.
SecurityItem
public SecurityItem(String label,
boolean initState)
- constructor - force the user to initialize the name and
state of this property.
- Parameters:
- label - The name of this property.
- initState - The initial state of this property.