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 Summary
Constructors 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.BasicPermission
equals, getActions, hashCode, implies, newPermissionCollection
-
Methods inherited from class java.security.Permission
checkGuard, getName, toString
-
-
-
-
Constructor Detail
-
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.
-
-