Package org.jboss.security.audit
Class AuditEvent
- java.lang.Object
-
- org.jboss.security.audit.AuditEvent
-
public class AuditEvent extends Object
Holder of audit information- Since:
- Aug 21, 2006
- Version:
- $Revision$
- Author:
- Anil Saldhana
-
-
Constructor Summary
Constructors Constructor Description AuditEvent(String level)
AuditEvent(String level, Map<String,Object> map)
AuditEvent(String level, Map<String,Object> map, Exception ex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAuditLevel()
Return the Audit LevelMap<String,Object>
getContextMap()
Get the Contextual MapException
getUnderlyingException()
Get the Exception part of the auditvoid
setContextMap(Map<String,Object> cmap)
Set a non-modifiable Context Mapvoid
setUnderlyingException(Exception underlyingException)
Set the exception on which an audit is happeningString
toString()
-
-
-
Method Detail
-
getAuditLevel
public String getAuditLevel()
Return the Audit Level- Returns:
-
getContextMap
public Map<String,Object> getContextMap()
Get the Contextual Map- Returns:
- Map that is final
-
setContextMap
public void setContextMap(Map<String,Object> cmap)
Set a non-modifiable Context Map- Parameters:
cmap
- Map that is final
-
getUnderlyingException
public Exception getUnderlyingException()
Get the Exception part of the audit- Returns:
-
setUnderlyingException
public void setUnderlyingException(Exception underlyingException)
Set the exception on which an audit is happening- Parameters:
underlyingException
-
-
-