Class IdentityStorePermission
- java.lang.Object
- 
- java.security.Permission
- 
- java.security.BasicPermission
- 
- jakarta.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:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description IdentityStorePermission(String name)Create an IdentityStorePermission with the specified name.IdentityStorePermission(String name, String action)Create an IdentityStorePermission with the specified name.
 - 
Method Summary- 
Methods inherited from class java.security.BasicPermissionequals, getActions, hashCode, implies, newPermissionCollection
 - 
Methods inherited from class java.security.PermissioncheckGuard, getName, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
IdentityStorePermissionpublic 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.
 
 - 
IdentityStorePermissionpublic 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.
 
 
- 
 
-