Class IdentityStorePermission
java.lang.Object
java.security.Permission
java.security.BasicPermission
jakarta.security.enterprise.identitystore.IdentityStorePermission
- All Implemented Interfaces:
java.io.Serializable
,java.security.Guard
public class IdentityStorePermission
extends java.security.BasicPermission
Class for IdentityStore permissions.
Currently defined permission names are:
- getGroups
No actions are defined.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description IdentityStorePermission(java.lang.String name)
Create an IdentityStorePermission with the specified name.IdentityStorePermission(java.lang.String name, java.lang.String action)
Create an IdentityStorePermission with the specified name. -
Method Summary
-
Constructor Details
-
IdentityStorePermission
public IdentityStorePermission(java.lang.String name)Create an IdentityStorePermission with the specified name.- Parameters:
name
- Name of the permission.- Throws:
java.lang.NullPointerException
- If name is null.java.lang.IllegalArgumentException
- If name is empty.
-
IdentityStorePermission
public IdentityStorePermission(java.lang.String name, java.lang.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:
java.lang.NullPointerException
- If name is null.java.lang.IllegalArgumentException
- If name is empty.
-