undertow/src/main/java/org/wildfly/extension/undertow/deployment/UndertowDeploymentInfoService.java
private void handleJACCAuthorization(final DeploymentInfo deploymentInfo) {
        // TODO make the authorization manager implementation configurable in Undertow or jboss-web.xml
        ApplicationPolicy applicationPolicy = SecurityConfiguration.getApplicationPolicy(this.securityDomain);
        if (applicationPolicy != null) {
            AuthorizationInfo authzInfo = applicationPolicy.getAuthorizationInfo();
            if (authzInfo != null) {
                for (AuthorizationModuleEntry entry : authzInfo.getModuleEntries()) {
                    if (JACCAuthorizationModule.class.getName().equals(entry.getPolicyModuleName())) {
                        deploymentInfo.setAuthorizationManager(JACCAuthorizationManager.INSTANCE);
                        break;
                    }
                }
            }
        }
    }
private void handleJACCAuthorization(final DeploymentInfo deploymentInfo) {
        // TODO make the authorization manager implementation configurable in Undertow or jboss-web.xml
        ApplicationPolicy applicationPolicy = SecurityConfiguration.getApplicationPolicy(this.securityDomain);
        if (applicationPolicy != null) {
            AuthorizationInfo authzInfo = applicationPolicy.getAuthorizationInfo();
            if (authzInfo != null) {
                for (AuthorizationModuleEntry entry : authzInfo.getModuleEntries()) {
                    if (JACCAuthorizationModule.class.getName().equals(entry.getPolicyModuleName())) {
                        deploymentInfo.setAuthorizationManager(JACCAuthorizationManager.INSTANCE);
                        break;
                    }
                }
            }
        }
    }
private void handleJACCAuthorization ( final DeploymentInfo deploymentInfo ) { // TODO make the authorization manager implementation configurable in Undertow or jboss-web.xml ApplicationPolicy applicationPolicy = SecurityConfiguration . getApplicationPolicy ( this . securityDomain ) ; if ( applicationPolicy != null ) { AuthorizationInfo authzInfo = applicationPolicy . getAuthorizationInfo ( ) ; if ( authzInfo != null ) { for ( AuthorizationModuleEntry entry : authzInfo . getModuleEntries ( ) ) { if ( JACCAuthorizationModule . class . getName ( ) . equals ( entry . getPolicyModuleName ( ) ) ) { deploymentInfo . setAuthorizationManager ( JACCAuthorizationManager . INSTANCE ) ; break ; } } } } }
<p>
Sets the {@link JACCAuthorizationManager} in the specified {@link DeploymentInfo} if the webapp security domain
has defined a JACC authorization module.
</p>

@param deploymentInfo the {@link DeploymentInfo} instance.
<p > Sets the { @link JACCAuthorizationManager } in the specified { @link DeploymentInfo } if the webapp security domain has defined a JACC authorization module . < / p >