Checks whether the current user has permission to perform the RPC action;
throws an exception if not allowed by
com.ecyrd.jspwiki.auth.AuthorizationManager .
throws: AuthenticationFailed - A RuntimeException, if the authentication fails and the user has no permission. Parameters: perm - the Permission to check