public class PLLAuditor extends Object
Constructor and Description |
---|
PLLAuditor(Debug debug,
AuditEventPublisher auditEventPublisher,
AuditEventFactory auditEventFactory,
javax.servlet.http.HttpServletRequest httpServletRequest)
Create a new Auditor.
|
Modifier and Type | Method and Description |
---|---|
void |
auditAccessAttempt()
Publishes an audit event with details of the attempted CREST operation, if the 'access' topic is audited.
|
void |
auditAccessFailure(String message)
Publishes an event with details of the failed CREST operation, if the 'access' topic is audited.
|
void |
auditAccessFailure(String errorCode,
String message)
Publishes an event with details of the failed CREST operation, if the 'access' topic is audited.
|
void |
auditAccessSuccess()
Publishes an event with details of the successfully completed CREST operation, if the 'access' topic is audited.
|
void |
setComponent(AuditConstants.Component component) |
void |
setMethod(String method) |
void |
setRealm(String realm) |
void |
setSsoToken(SSOToken ssoToken)
Provide SSOToken of originating client in order to lookup session trackingId and realm.
|
void |
setTrackingId(String trackingId) |
void |
setUserId(String userId) |
public static final String PLL
public PLLAuditor(Debug debug, AuditEventPublisher auditEventPublisher, AuditEventFactory auditEventFactory, javax.servlet.http.HttpServletRequest httpServletRequest)
debug
- Debug instance.auditEventPublisher
- AuditEventPublisher to which publishing of events can be delegated.auditEventFactory
- AuditEventFactory for audit event builders.httpServletRequest
- public void auditAccessAttempt()
org.forgerock.audit.AuditException
- If an exception occurred that prevented the audit event from being published.public void auditAccessSuccess()
public void auditAccessFailure(String message)
message
- A human-readable description of the error that occurred.public void auditAccessFailure(String errorCode, String message)
errorCode
- A unique code that identifies the error condition.message
- A human-readable description of the error that occurred.public void setComponent(AuditConstants.Component component)
component
- Identifies the functional area of OpenAM with which this PLL service interacts.public void setMethod(String method)
method
- Identifies the RequestHandler
operation invoked.public void setSsoToken(SSOToken ssoToken)
ssoToken
- SSOToken of the originating client from which the session trackingId and realm are obtained.public void setTrackingId(String trackingId)
trackingId
- Unique alias of session.public void setUserId(String userId)
userId
- Identifies Subject of authentication.public void setRealm(String realm)
realm
- The realm for which the event is being logged.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.