Class DelegatingAuditManager
java.lang.Object
com.inductiveautomation.ignition.gateway.audit.DelegatingAuditManager
- All Implemented Interfaces:
- AuditManager,- ExtensionPointManager
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidAdds a new type of audit profile to the system.voidRemoves the threadlocal AuditContextReturns a populatedAuditContextif the current thread is attached to a valid http session, ie aClientReqSessionorIgnitionSession.Return the list of audit profiles known to this manager.getExtensionPoint(String typeId) List<? extends ExtensionPointType>Returns the audit profile specified bySystemPropertiesRecord.GatewayAuditProfile, ornull.getProfile(String name) Returns the named audit profile, or null if none exists with that namegetProfileForProject(String projectName) Returns the audit profile for a given project.voidremoveAuditProfileType(String typeId) Remove an audit profile type with the given type ID.voidsetAuditContext(AuditContext auditContext) Sets an threadlocal for AuditContext that will be returned byAuditManager.getAuditContext()on the calling thread untilAuditManager.clearAuditContext()is invoked.
- 
Constructor Details- 
DelegatingAuditManager
 
- 
- 
Method Details- 
getProfileDescription copied from interface:AuditManagerReturns the named audit profile, or null if none exists with that name- Specified by:
- getProfilein interface- AuditManager
- Throws:
- Exception
 
- 
getProfileForProjectDescription copied from interface:AuditManagerReturns the audit profile for a given project. May be null- Specified by:
- getProfileForProjectin interface- AuditManager
 
- 
getGatewayAuditProfileDescription copied from interface:AuditManagerReturns the audit profile specified bySystemPropertiesRecord.GatewayAuditProfile, ornull.- Specified by:
- getGatewayAuditProfilein interface- AuditManager
 
- 
getAuditContextDescription copied from interface:AuditManagerReturns a populatedAuditContextif the current thread is attached to a valid http session, ie aClientReqSessionorIgnitionSession. Returns an empty optional if no contextual information could be found.- Specified by:
- getAuditContextin interface- AuditManager
 
- 
setAuditContextDescription copied from interface:AuditManagerSets an threadlocal for AuditContext that will be returned byAuditManager.getAuditContext()on the calling thread untilAuditManager.clearAuditContext()is invoked.- Specified by:
- setAuditContextin interface- AuditManager
 
- 
clearAuditContextpublic void clearAuditContext()Description copied from interface:AuditManagerRemoves the threadlocal AuditContext- Specified by:
- clearAuditContextin interface- AuditManager
 
- 
addAuditProfileTypeDescription copied from interface:AuditManagerAdds a new type of audit profile to the system. Also makes sure that the persistent settings record indicated in the type is known by the internal schema manager- Specified by:
- addAuditProfileTypein interface- AuditManager
- Parameters:
- type- The new type of audit profile to add.
- Throws:
- Exception- If automatic schema updating fails.
 
- 
removeAuditProfileTypeDescription copied from interface:AuditManagerRemove an audit profile type with the given type ID.- Specified by:
- removeAuditProfileTypein interface- AuditManager
- Parameters:
- typeId- The typeId associated with the audit profile to remove.
 
- 
getAvailableAuditProfilesDescription copied from interface:AuditManagerReturn the list of audit profiles known to this manager.- Specified by:
- getAvailableAuditProfilesin interface- AuditManager
 
- 
getExtensionPoint- Specified by:
- getExtensionPointin interface- ExtensionPointManager
- Returns:
- the ExtensionPointTypeidentified bytypeId, ornullif none exists for that name.
- See Also:
 
- 
getExtensionPoints- Specified by:
- getExtensionPointsin interface- ExtensionPointManager
- Returns:
- all ExtensionPointTypes managed by thisExtensionPointManager.
 
 
-