code: @Deprecated
      public static AccessAuditContext currentAccessAuditContext() {
          if (WildFlySecurityManager.isChecking()) {
              System.getSecurityManager().checkPermission(ControllerPermission.GET_CURRENT_ACCESS_AUDIT_CONTEXT);
          }
          return contextThreadLocal.get();
      }
docs: Obtain the current {@link AccessAuditContext} or {@code null} if none currently set.
  
  @return The current {@link AccessAuditContext}
  @deprecated Internal use, will be changed without warning at any time.