public class AllPermission extends Object implements Permission, Serializable
impliesmethod always returns true.
You should be very careful about the users, roles, and/or groups to which this permission is assigned since those respective entities will have the ability to do anything. As such, an instance of this class is typically only assigned only to "root" or "administrator" users or roles.
|Constructor and Description|
|Modifier and Type||Method and Description|
Always returns true, indicating any Subject granted this permission can do anything.
public boolean implies(Permission p)
Copyright © 2004–2019 The Apache Software Foundation. All rights reserved.