Class SharedClassPermissionCollection

java.lang.Object
java.security.PermissionCollection
com.ibm.oti.shared.SharedClassPermissionCollection
All Implemented Interfaces:
Serializable

public class SharedClassPermissionCollection extends PermissionCollection
SharedClassPermissionCollection provides permission collection to support SharedClassPermission.
See Also:
  • Constructor Details

    • SharedClassPermissionCollection

      @Deprecated public SharedClassPermissionCollection()
      Deprecated.
      Constructs a new instance of this class.
  • Method Details

    • add

      public void add(Permission perm)
      Adds a permission to this collection.
      Specified by:
      add in class PermissionCollection
      Parameters:
      perm - Permission the permission object to add
    • elements

      public Enumeration<Permission> elements()
      Returns permissions as an enumeration.
      Specified by:
      elements in class PermissionCollection
      Returns:
      Enumeration the permissions as an enumeration
      See Also:
    • implies

      public boolean implies(Permission perm)
      Returns true if the permission given is implied by any of the permissions in the collection.
      Specified by:
      implies in class PermissionCollection
      Parameters:
      perm - Permission the permission to check
      Returns:
      boolean whether the given permission is implied by any of the permissions in this collection