public class UserAudit extends FortEntity implements Serializable
AuditMgr
APIs, down through the
AuditP
process layer and finally into the AuditDAO
data access layer. Once the data has been
retrieved from the directory it will be passed back to the caller using one of audit output entities.
All audit data is returned to user using one of the following:
adminSession, contextId, modCode, modId, sequenceId
Constructor and Description |
---|
UserAudit() |
Modifier and Type | Method and Description |
---|---|
Date |
getBeginDate()
Get the Date for search to begin.
|
String |
getDn()
Get the optional dn attribute can be used to constraint
AuditMgrImpl.searchUserSessions(UserAudit) . |
Date |
getEndDate() |
String |
getInternalUserId()
Get the optional internalUserId attribute which limits set by
User.internalId . |
String |
getObjId() |
String |
getObjName()
Get the optional objName attribute which limits set by
Permission.objName . |
String |
getOpName()
Get the optional opName attribute which limits
AuditMgrImpl.searchAdminMods(UserAudit) by AuditDAO.REQMOD . |
String |
getUserId()
Get the optional userId attribute which limits set by
User.userId . |
boolean |
isAdmin() |
boolean |
isFailedOnly()
The failedOnly flag will limit result set to include only authN or authZ events that have failed.
|
void |
setAdmin(boolean admin) |
void |
setBeginDate(Date beginDate)
Set the Date for search to begin.
|
void |
setDn(String dn)
Set the optional dn attribute can be used to constraint
AuditMgrImpl.searchUserSessions(UserAudit) . |
void |
setEndDate(Date endDate) |
void |
setFailedOnly(boolean failedOnly)
The failedOnly flag will limit result set to include only authN or authZ events that have failed.
|
void |
setInternalUserId(String internalUserId)
Set the optional internalUserId attribute which limits set by
User.internalId . |
void |
setObjId(String objId) |
void |
setObjName(String objName)
Set the optional objName attribute which limits set by
Permission.objName . |
void |
setOpName(String opName)
Set the optional opName attribute which limits
AuditMgrImpl.searchAdminMods(UserAudit) by AuditDAO.REQMOD . |
void |
setUserId(String userId)
Set the optional userId attribute which limits set by
User.userId . |
getAdminSession, getContextId, getModCode, getModId, getSequenceId, setAdminSession, setContextId, setModCode, setSequenceId
public String getObjName()
Permission.objName
.
For modification search, this attr maps to AuditDAO.REQMOD
. For authorization search, it will map to AuditDAO.REQDN
.
The object name is derived from another class name which represents targets for Fortress authorizations. For example AdminMgrImpl
or 'CustomerCheckOutPage'.public void setObjName(String objName)
Permission.objName
.
For modification search, this attr maps to AuditDAO.REQMOD
. For authorization search, it will map to AuditDAO.REQDN
.
The object name is derived from another class name which represents targets for Fortress authorizations. For example AdminMgrImpl
or 'CustomerCheckOutPage'.objName
- maps to 'reqDn' for 'auditSearch' target, or 'reqMod' for 'auditMod' search.public boolean isFailedOnly()
AuditMgrImpl.searchInvalidUsers(UserAudit)
maps to (AuditDAO.REQENTRIES
== 0)
AuditMgrImpl.searchAuthZs(UserAudit)
maps to (AuditDAO.REQENTRIES
== 0)
AuditMgrImpl.searchBinds(UserAudit)
maps to (AuditDAO.REQRESULT
>= 1)
public void setFailedOnly(boolean failedOnly)
AuditMgrImpl.searchInvalidUsers(UserAudit)
maps to (AuditDAO.REQENTRIES
== 0)
AuditMgrImpl.searchAuthZs(UserAudit)
maps to (AuditDAO.REQENTRIES
== 0)
AuditMgrImpl.searchBinds(UserAudit)
maps to (AuditDAO.REQRESULT
>= 1)
failedOnly
- if boolean true search will limit to failed only.public String getOpName()
AuditMgrImpl.searchAdminMods(UserAudit)
by AuditDAO.REQMOD
.
The operation name is derived from a method name of a class which represents targets for Fortress authorizations. For example 'read', 'search' or 'add'.public void setOpName(String opName)
AuditMgrImpl.searchAdminMods(UserAudit)
by AuditDAO.REQMOD
.
The operation name is derived from a method name of a class which represents targets for Fortress authorizations. For example 'read', 'search' or 'add'.opName
- attribute maps to 'reqMod' on 'auditMod' object class.public String getUserId()
User.userId
.
For authentication searchs, this attr maps to AuditDAO.REQDN
. For authorization search, it will map to AuditDAO.REQUAUTHZID
.
The userId for this search represents the end user.public void setUserId(String userId)
User.userId
.
For authentication searchs, this attr maps to AuditDAO.REQDN
. For authorization search, it will map to AuditDAO.REQUAUTHZID
.
The userId for this search represents the end user.userId
- maps to 'reqDn' for authentications or 'reqAuthzID' for authorization events.public String getInternalUserId()
User.internalId
.
For AuditMgrImpl.searchUserSessions(UserAudit)
this attr maps to AuditDAO.REQMOD
.
The internalUserId for this search represents the end user but is stored as its internal id.public void setInternalUserId(String internalUserId)
User.internalId
.
For AuditMgrImpl.searchUserSessions(UserAudit)
this attr maps to AuditDAO.REQMOD
.
The internalUserId for this search represents the end user but is stored as its internal id.internalUserId
- maps to 'reqMod' for 'auditModify' object class searches.public Date getBeginDate()
public void setBeginDate(Date beginDate)
beginDate
- attribute that maps to 'reqStart' in audit object classes.public Date getEndDate()
public void setEndDate(Date endDate)
endDate
- public String getDn()
AuditMgrImpl.searchUserSessions(UserAudit)
.
The dn for this search may represent any target entry in DIT that has been recently modified or deleted.public void setDn(String dn)
AuditMgrImpl.searchUserSessions(UserAudit)
.
The dn for this search may represent any target entry in DIT that has been recently modified or deleted.dn
- maps to 'reqDn' for 'auditModify' object class searches.public String getObjId()
public void setObjId(String objId)
public boolean isAdmin()
public void setAdmin(boolean admin)
Copyright © 2003-2016, The Apache Software Foundation. All Rights Reserved. Generated 20160718-1621