public class Mod extends FortEntity implements Serializable
The auditModify Structural object class is used to store Fortress update and delete events that can later be queried via ldap API.
The deletions can be recorded in this manner and associated with Fortress context because deletions will perform a modification first
if audit is enabled.
The Modify operation contains a description of modifications in the
reqMod attribute, which was already described above in the Add
operation. It may optionally contain the previous contents of any
modified attributes in the reqOld attribute, using the same format as
described above for the Delete operation. The reqOld attribute is only
populated if the entry being modified matches the configured logold
filter.
objectclass ( 1.3.6.1.4.1.4203.666.11.5.2.9
NAME 'auditModify'
DESC 'Modify operation'
SUP auditWriteObject STRUCTURAL
MAY reqOld MUST reqMod )
Note this class uses descriptions pulled from man pages on slapd access log.
adminSession, contextId, modCode, modId
Constructor and Description |
---|
Mod() |
Modifier and Type | Method and Description |
---|---|
String |
getObjectClass()
Get the object class name of the audit record.
|
String |
getReqAuthzID()
The reqAuthzID attribute is the distinguishedName of the user that
performed the operation.
|
String |
getReqDN()
The reqDN attribute is the distinguishedName of the target of the
operation.
|
String |
getReqEnd()
reqEnd provide the end time of the operation.
|
List<String> |
getReqMod()
The reqMod attribute carries all of the attributes of the original entry being added.
|
String |
getReqResult()
The reqResult attribute is the numeric LDAP result code of the
operation, indicating either success or a particular LDAP error code.
|
String |
getReqSession()
The reqSession attribute is an implementation-specific identifier that
is common to all the operations associated with the same LDAP session.
|
String |
getReqStart()
reqStart provide the start of the operation, They use generalizedTime syntax.
|
String |
getReqType()
The reqType attribute is a simple string containing the type of
operation being logged, e.g.
|
long |
getSequenceId()
Sequence id is used internal to Fortress.
|
void |
setObjectClass(String objectClass)
Set the object class name of the audit record.
|
void |
setReqAuthzID(String reqAuthzID)
The reqAuthzID attribute is the distinguishedName of the user that
performed the operation.
|
void |
setReqDN(String reqDN)
The reqDN attribute is the distinguishedName of the target of the
operation.
|
void |
setReqEnd(String reqEnd)
reqEnd provide the end time of the operation.
|
void |
setReqMod(List<String> reqMod)
The reqMod attribute carries all of the attributes of the original entry being added.
|
void |
setReqResult(String reqResult)
The reqResult attribute is the numeric LDAP result code of the
operation, indicating either success or a particular LDAP error code.
|
void |
setReqSession(String reqSession)
The reqSession attribute is an implementation-specific identifier that
is common to all the operations associated with the same LDAP session.
|
void |
setReqStart(String reqStart)
reqStart provide the start of the operation, They use generalizedTime syntax.
|
void |
setReqType(String reqType)
The reqType attribute is a simple string containing the type of
operation being logged, e.g.
|
void |
setSequenceId(long sequenceId)
Sequence id is used internal to Fortress
|
getAdminSession, getContextId, getModCode, getModId, setAdminSession, setContextId, setModCode
public List<String> getReqMod()
public void setReqMod(List<String> reqMod)
reqMod
- contains collection of Strings that map to 'reqMod' attribute on 'auditModify' object class.public String getReqEnd()
public void setReqEnd(String reqEnd)
reqEnd
- value that maps to same name on 'auditModify' object class.public String getReqSession()
public void setReqSession(String reqSession)
reqSession
- maps to same name on 'auditModify' object class.public String getObjectClass()
public void setObjectClass(String objectClass)
objectClass
- value that maps to same name on 'auditModify' obejct class.public String getReqAuthzID()
User.userId
public void setReqAuthzID(String reqAuthzID)
User.userId
public String getReqDN()
public void setReqDN(String reqDN)
reqDN
- maps to 'reqDN' attribute on 'auditModify' object class.public String getReqResult()
public void setReqResult(String reqResult)
reqResult
- maps to same name on 'auditModify' object class.public String getReqStart()
public void setReqStart(String reqStart)
reqStart
- maps to same name on 'auditModify' object class.public String getReqType()
public void setReqType(String reqType)
reqType
- maps to same name on 'auditModify' object class.public long getSequenceId()
getSequenceId
in class FortEntity
public void setSequenceId(long sequenceId)
setSequenceId
in class FortEntity
sequenceId
- contains sequence to use.Copyright © 2003-2016, The Apache Software Foundation. All Rights Reserved. Generated 20160718-1621