Class IdentityStorePermission
java.lang.Object
java.security.Permission
java.security.BasicPermission
javax.security.enterprise.identitystore.IdentityStorePermission
- All Implemented Interfaces:
Serializable
,Guard
Class for IdentityStore permissions.
Currently defined permission names are:
- getGroups
No actions are defined.
- See Also:
-
Constructor Summary
ConstructorDescriptionCreate 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 Details
-
IdentityStorePermission
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
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.
-