This method of the IPermission Interface determines whether the permission object allows the specified action. The request parameter represents a request to perform a particular action. The type of the request parameter depends on the type of the permission object that is being checked.
void check(Object request) throws SecurityException ;
request | The object that represents the action for which permission is being checked. |
SecurityException if the state of the permission object indicates that the action is not allowed.