public void auditAccessDenied(String resource,String action,String authzModule,SSOToken token){
  init();
  if (authzLogger != null && msgProvider != null) {
    final LogRecord record=msgProvider.createLogRecord("ACCESS_DENY",new String[]{"DENY > " + resource,action,authzModule},token);
    if (record != null) {
      authzLogger.log(record,AccessController.doPrivileged(AdminTokenAction.getInstance()));
    }
  }
}

public void auditAccessDenied ( String resource , String action , String authzModule , SSOToken token ) { init ( ) ; if ( authzLogger != null && msgProvider != null ) { final LogRecord record = msgProvider . createLogRecord ( "ACCESS_DENY" , new String [ ] { "DENY > " + resource , action , authzModule } , token ) ; if ( record != null ) { authzLogger . log ( record , AccessController . doPrivileged ( AdminTokenAction . getInstance ( ) ) ) ; } } }
audits a failed rest request , indicating which resource was accessed using which method linked to the ssotoken of the accessing user .
