public void auditAccessMessage(String resource,String action,SSOToken token){
  init();
  if (accessLogger != null && msgProvider != null) {
    final LogRecord record=msgProvider.createLogRecord("ATTEMPT_ACCESS",new String[]{resource,action},token);
    if (record != null) {
      accessLogger.log(record,AccessController.doPrivileged(AdminTokenAction.getInstance()));
    }
  }
}

public void auditAccessMessage ( String resource , String action , SSOToken token ) { init ( ) ; if ( accessLogger != null && msgProvider != null ) { final LogRecord record = msgProvider . createLogRecord ( "ATTEMPT_ACCESS" , new String [ ] { resource , action } , token ) ; if ( record != null ) { accessLogger . log ( record , AccessController . doPrivileged ( AdminTokenAction . getInstance ( ) ) ) ; } } }
audits an attempted rest request , indicating which resource was accessed using which method linked to the ssotoken of the accessing user .
