use of org.wildfly.extension.undertow.security.AuditNotificationReceiver in project wildfly by wildfly.
the class UndertowDeploymentInfoService method handleIdentityManager.
private void handleIdentityManager(final DeploymentInfo deploymentInfo) {
if (securityDomain != null) {
SecurityDomainContext sdc = securityDomainContextValue.getValue();
deploymentInfo.setIdentityManager(new JAASIdentityManagerImpl(sdc));
AuditManager auditManager = sdc.getAuditManager();
if (auditManager != null && !mergedMetaData.isDisableAudit()) {
deploymentInfo.addNotificationReceiver(new AuditNotificationReceiver(auditManager));
}
}
}
Aggregations