public class AuthenticationModuleEventAuditor extends AbstractAuthenticationEventAuditor
eventFactory, eventPublisher
Constructor and Description |
---|
AuthenticationModuleEventAuditor(AuditEventPublisher eventPublisher,
AuditEventFactory eventFactory)
Constructor for
AuthenticationModuleEventAuditor . |
Modifier and Type | Method and Description |
---|---|
void |
auditModuleFailure(LoginState loginState,
Principal principal,
AuthenticationAuditEntry auditEntryDetail)
Log an authentication module failure completion event.
|
void |
auditModuleSuccess(LoginState loginState,
Principal principal,
AuthenticationAuditEntry auditEntryDetail)
Log an authentication module successful completion event.
|
getFailedPrincipal, getRealmFromState, getRealmFromToken, getTrackingIds, getUserId
@Inject public AuthenticationModuleEventAuditor(AuditEventPublisher eventPublisher, AuditEventFactory eventFactory)
AuthenticationModuleEventAuditor
.eventPublisher
- The publisher responsible for logging the events.eventFactory
- The factory that can be used to create the events.public void auditModuleSuccess(LoginState loginState, Principal principal, AuthenticationAuditEntry auditEntryDetail)
loginState
- The login state object.principal
- The principal for this module.auditEntryDetail
- A map containing audit entry details.public void auditModuleFailure(LoginState loginState, Principal principal, AuthenticationAuditEntry auditEntryDetail)
loginState
- The login state object.principal
- The principal for this module.auditEntryDetail
- A map containing audit entry details.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.