Class AuditInformation
java.lang.Object
com.broadleafcommerce.common.audit.event.AuditInformation
- All Implemented Interfaces:
Serializable
Represents some contextual information for an audit event. This serves to inform a number of the
values for
AuditEventHeader
. Values are generally harvested from a combination of Spring
Security Authentication and any available ContextInfo
instance.- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
The account id associated with the current flow.The application id associated with the current flow.The catalog id associated with the current flow.The customer id associated with the current flow.The primary user associated with the current flow.The secondary user associated with the current flow (acting on behalf of the primary user).The tenant id associated with the current flow.int
hashCode()
toString()
-
Constructor Details
-
AuditInformation
-
-
Method Details
-
builder
-
getPrimary
The primary user associated with the current flow. May be null if unknown. Represented by thesub
attribute of the JWT token. -
getSecondary
The secondary user associated with the current flow (acting on behalf of the primary user). May be null if unknown. Represented by thecsr_sub
attribute of the JWT token. -
getCustomerId
The customer id associated with the current flow. May be null if unknown. Represented by thecustomer_id
attribute of the JWT token. -
getAccountId
The account id associated with the current flow. May be null if unknown. Represented by theacct_id
attribute of the JWT token. -
getTenantId
The tenant id associated with the current flow. May be null if unknown. Harvested from theContextInfo
instance (if available). -
getCatalogId
The catalog id associated with the current flow. May be null if unknown. Harvested from theContextInfo
instance (if available). -
getApplicationId
The application id associated with the current flow. May be null if unknown. Harvested from theContextInfo
instance (if available). -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-