Top Description Constructors Methods
javax.security.enterprise.identitystore

public Class IdentityStorePermission

extends BasicPermission
Class Inheritance
Imports
java.security.BasicPermission

Class for IdentityStore permissions.

Currently defined permission names are:

No actions are defined.

Constructor Summary

AccessConstructor and Description
public
IdentityStorePermission(String
Name of the permission.
name
)

Create an IdentityStorePermission with the specified name.

public
IdentityStorePermission(String
Name of the permission.
name
,
String
Action for the permission; always null.
action
)

Create an IdentityStorePermission with the specified name.

Method Summary

Inherited from java.security.BasicPermission:
equalsgetActionshashCodeimpliesnewPermissionCollection

Constructor Detail

IdentityStorePermissionback to summary
public IdentityStorePermission(String name)

Create an IdentityStorePermission with the specified name.

Parameters
name:String

Name of the permission.

Exceptions
NullPointerException:
If name is null.
IllegalArgumentException:
If name is empty.
IdentityStorePermissionback to summary
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:String

Name of the permission.

action:String

Action for the permission; always null.

Exceptions
NullPointerException:
If name is null.
IllegalArgumentException:
If name is empty.