public final class SecurityLabel
extends Object
Represents a security label used for mandatory access control.
- See Also:
-
-
Method Summary
Returns the label of this SecurityLabel.
boolean
Returns true if the security policy is being enforced.
-
Method Details
-
getLabel
Returns the label of this SecurityLabel.
- Returns:
- the security label string
-
isEnforced
public boolean isEnforced()
Returns true if the security policy is being enforced.
- Returns:
- true if the policy is enforced, false otherwise
-