public static void requireAccess ( ClientObject clobj , Permission perm , Object context ) throws InvocationException { String errmsg = clobj . checkAccess ( perm , context ) ; if ( errmsg != null ) { throw new InvocationException ( errmsg ) ; } }
Requires that the specified client have the specified permissions .