public class Bind extends FortEntity implements Serializable
The auditBind Structural object class is used to store authentication events that can later be queried via ldap API.
# The Bind class includes the reqVersion attribute which contains the LDAP
# protocol version specified in the Bind as well as the reqMethod attribute
# which contains the Bind Method used in the Bind. This will be the string
# SIMPLE for LDAP Simple Binds or SASL(mech) for SASL Binds. Note that unless
# configured as a global overlay, only Simple Binds using DNs that reside in
# the current database will be logged:
------------------------------------------ objectclass ( 1.3.6.1.4.1.4203.666.11.5.2.6 NAME 'auditBind' DESC 'Bind operation' SUP auditObject STRUCTURAL MUST ( reqVersion $ reqMethod ) ) ------------------------------------------
Note this class used descriptions pulled from man pages on slapd access log.
adminSession, contextId, modCode, modId
Constructor and Description |
---|
Bind() |
Modifier and Type | Method and Description |
---|---|
String |
getCreateTimestamp()
Get the attribute that maps to 'reqStart' which provides the start time of the operation which is also the rDn for the node.
|
String |
getCreatorsName()
Return the user dn containing the identity of log user who added the audit record.
|
String |
getEntryCSN()
Return the Change Sequence Number (CSN) containing sequence number that is used for OpenLDAP synch replication functionality.
|
String |
getEntryDN()
Get the entry dn for bind object stored in directory.
|
String |
getEntryUUID()
Get the attribute that contains the Universally Unique ID (UUID) of the corresponding 'auditBind' record.
|
String |
getHasSubordinates()
Get the attribute that corresponds to the boolean value hasSubordinates.
|
String |
getModifiersName()
Return the user dn containing the identity of log user who last modified the audit record.
|
String |
getModifyTimestamp()
Get the attribute that maps to 'modifyTimestamp' which provides the last time audit record was changed.
|
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 |
getReqControls()
The reqControls and reqRespControls attributes carry any controls sent
by the client on the request and returned by the server in the
response, respectively.
|
String |
getReqDN()
The reqDN attribute is the distinguishedName of the target of the
operation.
|
String |
getReqEnd()
reqEnd provide the end time of the operation.
|
String |
getReqMethod()
The reqMethod attribute contains the Bind Method used in the Bind.
|
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.
|
String |
getReqVersion()
The reqVersion attribute which contains the
LDAP protocol version specified in the Bind
|
long |
getSequenceId()
Sequence id is used internal to Fortress.
|
String |
getStructuralObjectClass()
Returns the name of the structural object class that is used to log the event.
|
void |
setCreateTimestamp(String createTimestamp)
Set the attribute that maps to 'reqStart' which provides the start time of the operation which is also the rDn for the node.
|
void |
setCreatorsName(String creatorsName)
Set the user dn containing the identity of log user who added the audit record.
|
void |
setEntryCSN(String entryCSN)
Set the Change Sequence Number (CSN) containing sequence number that is used for OpenLDAP synch replication functionality.
|
void |
setEntryDN(String entryDN)
Set the entry dn for bind object stored in directory.
|
void |
setEntryUUID(String entryUUID)
Set the attribute that contains the Universally Unique ID (UUID) of the corresponding 'auditBind' record.
|
void |
setHasSubordinates(String hasSubordinates)
Set the attribute that corresponds to the boolean value hasSubordinates.
|
void |
setModifiersName(String modifiersName)
Set the user dn containing the identity of log user who modified the audit record.
|
void |
setModifyTimestamp(String modifyTimestamp)
Set the attribute that maps to 'modifyTimestamp' which provides the last time audit record was changed.
|
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 |
setReqControls(String reqControls)
The reqControls and reqRespControls attributes carry any controls sent
by the client on the request and returned by the server in the
response, respectively.
|
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 |
setReqMethod(String reqMethod)
The reqMethod attribute contains the Bind Method used in the Bind.
|
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 |
setReqVersion(String reqVersion)
The reqVersion attribute which contains the
LDAP protocol version specified in the Bind
|
void |
setSequenceId(long sequenceId)
Sequence id is used internal to Fortress
|
void |
setStructuralObjectClass(String structuralObjectClass)
Returns the name of the structural object class that is used to log the event.
|
getAdminSession, getContextId, getModCode, getModId, setAdminSession, setContextId, setModCode
public String getCreateTimestamp()
public void setCreateTimestamp(String createTimestamp)
createTimestamp
- attribute that maps to 'reqStart' in 'auditBind' object class.public String getCreatorsName()
org.apache.directory.fortress.core.ldap.LdapDataProvider#LDAP_LOG_POOL_UID
contains the audit log system user id.public void setCreatorsName(String creatorsName)
org.apache.directory.fortress.core.ldap.LdapDataProvider#LDAP_LOG_POOL_UID
contains the audit log system user id.creatorsName
- maps to 'creatorsName' attribute on 'auditBind' object class.public String getEntryCSN()
public void setEntryCSN(String entryCSN)
entryCSN
- maps to 'entryCSN' attribute on 'auditBind' object class.public String getEntryDN()
public void setEntryDN(String entryDN)
entryDN
- attribute that maps to 'entryDN' on 'auditBind' object class.public String getEntryUUID()
public void setEntryUUID(String entryUUID)
entryUUID
- that maps to 'entryUUID' attribute on 'auditBind' object class.public String getHasSubordinates()
public void setHasSubordinates(String hasSubordinates)
hasSubordinates
- maps to same name on 'auditBind' object class.public String getModifiersName()
org.apache.directory.fortress.core.ldap.LdapDataProvider#LDAP_LOG_POOL_UID
contains the audit log system user id.public void setModifiersName(String modifiersName)
org.apache.directory.fortress.core.ldap.LdapDataProvider#LDAP_LOG_POOL_UID
contains the audit log system user id.modifiersName
- maps to 'modifiersName' attribute on 'auditBind' object class.public String getModifyTimestamp()
public void setModifyTimestamp(String modifyTimestamp)
modifyTimestamp
- attribute that maps to same name in 'auditBind' object class.public String getObjectClass()
public void setObjectClass(String objectClass)
objectClass
- value that maps to same name on 'auditBind' obejct class.public String getReqAuthzID()
User.userId
public void setReqAuthzID(String reqAuthzID)
User.userId
public String getReqControls()
public void setReqControls(String reqControls)
reqControls
- maps to same name attribute on 'auditBind' object class.public String getReqDN()
public void setReqDN(String reqDN)
reqDN
- maps to 'reqDN' attribute on 'auditBind' object class.public String getReqEnd()
public void setReqEnd(String reqEnd)
reqEnd
- value that maps to same name on 'auditBind' object class.public String getReqMethod()
public void setReqMethod(String reqMethod)
reqMethod
- maps to same name on 'auditBind' object class.public String getReqResult()
public void setReqResult(String reqResult)
reqResult
- maps to same name on 'auditBind' object class.public String getReqSession()
public void setReqSession(String reqSession)
reqSession
- maps to same name on 'auditBind' object class.public String getReqStart()
public void setReqStart(String reqStart)
reqStart
- maps to same name on 'auditBind' object class.public String getReqType()
public void setReqType(String reqType)
reqType
- maps to same name on 'auditBind' object class.public String getReqVersion()
public void setReqVersion(String reqVersion)
reqVersion
- maps to same name on 'auditBind' object class.public String getStructuralObjectClass()
public void setStructuralObjectClass(String structuralObjectClass)
structuralObjectClass
- maps to same name on 'auditBind' 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