@Deprecated
    public static AccessAuditContext currentAccessAuditContext() {
        if (WildFlySecurityManager.isChecking()) {
            System.getSecurityManager().checkPermission(ControllerPermission.GET_CURRENT_ACCESS_AUDIT_CONTEXT);
        }
        return contextThreadLocal.get();
    }
@ Deprecated public static AccessAuditContext currentAccessAuditContext ( ) { if ( WildFlySecurityManager . isChecking ( ) ) { System . getSecurityManager ( ) . checkPermission ( ControllerPermission . GET_CURRENT_ACCESS_AUDIT_CONTEXT ) ; } return contextThreadLocal . get ( ) ; }
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.