Permission.implies

Returns {@code true} if this current instance <em>implies</em> all the functionality and/or resource access described by the specified {@code Permission} argument, {@code false} otherwise. <p/> <p>That is, this current instance must be exactly equal to or a <em>superset</em> of the functionality and/or resource access described by the given {@code Permission} argument. Yet another way of saying this would be: <p/> <p>If &quot;permission1 implies permission2&quot;, i.e. <code>permission1.implies(permission2)</code> , then any Subject granted {@code permission1} would have ability greater than or equal to that defined by {@code permission2}.

@param p the permission to check for behavior/functionality comparison. @return {@code true} if this current instance <em>implies</em> all the functionality and/or resource access described by the specified {@code Permission} argument, {@code false} otherwise.

interface Permission
bool
implies

Meta