org.ocap.system
Class RegisteredApiUserPermission
java.lang.Object
java.security.Permission
java.security.BasicPermission
org.ocap.system.RegisteredApiUserPermission
- All Implemented Interfaces:
- Serializable, Guard
public final class RegisteredApiUserPermission
- extends BasicPermission
The RegisteredApiUserPermission class represents permission for an
application to use a specific registered API. When granted one of
these permissions is created for each registered API the application
is given access to based on a "registeredapi.user" entry in the
application's PRF and where the name matches an
ocap_j_registered_api_descriptor.
- See Also:
- Serialized Form
RegisteredApiUserPermission
public RegisteredApiUserPermission(String name)
- Creates a new RegisteredApiUserPermission with the specified name.
- Parameters:
name
- The name of the registered API.
RegisteredApiUserPermission
public RegisteredApiUserPermission(String name,
String actions)
- Creates a new RegisteredApiUserPermission with the specified name.
- Parameters:
name
- The name of the registered API.actions
- This parameter is ignored.