static void clearSecurityContext() {
        if (WildFlySecurityManager.isChecking()) {
            WildFlySecurityManager.doUnchecked(new PrivilegedAction<Void>() {
                public Void run() {
                    SecurityContextAssociation.clearSecurityContext();
                    return null;
                }
            });
        } else {
            SecurityContextAssociation.clearSecurityContext();
        }
    }
static void clearSecurityContext() {
        if (WildFlySecurityManager.isChecking()) {
            WildFlySecurityManager.doUnchecked(new PrivilegedAction<Void>() {
                public Void run() {
                    SecurityContextAssociation.clearSecurityContext();
                    return null;
                }
            });
        } else {
            SecurityContextAssociation.clearSecurityContext();
        }
    }
static void clearSecurityContext ( ) { if ( WildFlySecurityManager . isChecking ( ) ) { WildFlySecurityManager . doUnchecked ( new PrivilegedAction < Void > ( ) { public Void run ( ) { SecurityContextAssociation . clearSecurityContext ( ) ; return null ; } } ) ; } else { SecurityContextAssociation . clearSecurityContext ( ) ; } }
Clears current {@code SecurityContext}
Clears current {