elements() Returns an enumeration of all AllPermission objects stored in this
collection.
public boolean
implies(Permission permission) Iterates through the AllPermission objects stored by this
AllPermissionCollection and determines if any of them imply a supplied
Permission.
Iterates through the AllPermission objects stored by this
AllPermissionCollection and determines if any of them imply a supplied
Permission. If the Permission is not of type
AllPermission ,
PagePermission or
WikiPermission , this method will
return false. If none of the AllPermissions stored in
this collection imply the permission, the method returns
false; conversely, if one of the AllPermission objects
implies the permission, the method returns true.
Parameters: permission - the Permission to test. It may be any Permission type,but only the AllPermission, PagePermission or WikiPermission types areactually evaluated. See Also:java.security.PermissionCollection.implies(java.security.Permission)