connector/src/main/java/org/jboss/as/connector/security/ElytronSubjectFactory.java
private ServiceContainer currentServiceContainer() {
        if(WildFlySecurityManager.isChecking()) {
            return AccessController.doPrivileged(CurrentServiceContainer.GET_ACTION);
        }
        return CurrentServiceContainer.getServiceContainer();
    }
private ServiceContainer currentServiceContainer() {
        if(WildFlySecurityManager.isChecking()) {
            return AccessController.doPrivileged(CurrentServiceContainer.GET_ACTION);
        }
        return CurrentServiceContainer.getServiceContainer();
    }
private ServiceContainer currentServiceContainer ( ) { if ( WildFlySecurityManager . isChecking ( ) ) { return AccessController . doPrivileged ( CurrentServiceContainer . GET_ACTION ) ; } return CurrentServiceContainer . getServiceContainer ( ) ; }
Get a reference to the current {@link ServiceContainer}.

@return a reference to the current {@link ServiceContainer}.
Get a reference to the current { @link ServiceContainer } .