if (applicationPolicy != null) {
AuthorizationInfo authzInfo = applicationPolicy.getAuthorizationInfo();
if (authzInfo != null) {
for (AuthorizationModuleEntry entry : authzInfo.getModuleEntries()) {
if (JACCAuthorizationModule.class.getName().equals(entry.getPolicyModuleName())) {
deploymentInfo.setAuthorizationManager(new JACCAuthorizationManager());
break;
}
}
}
}