Class IdentityStorePermission

java.lang.Object
java.security.Permission
java.security.BasicPermission
javax.security.enterprise.identitystore.IdentityStorePermission
All Implemented Interfaces:
Serializable, Guard

public class IdentityStorePermission extends BasicPermission
Class for IdentityStore permissions.

Currently defined permission names are:

  • getGroups

No actions are defined.

See Also:
  • Constructor Details

    • IdentityStorePermission

      public IdentityStorePermission(String name)
      Create an IdentityStorePermission with the specified name.
      Parameters:
      name - Name of the permission.
      Throws:
      NullPointerException - If name is null.
      IllegalArgumentException - If name is empty.
    • IdentityStorePermission

      public IdentityStorePermission(String name, String action)
      Create an IdentityStorePermission with the specified name. No actions are defined for this permission; the action parameter should be specified as {code}null{code}.
      Parameters:
      name - Name of the permission.
      action - Action for the permission; always null.
      Throws:
      NullPointerException - If name is null.
      IllegalArgumentException - If name is empty.