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 booleanbooleanThe 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.inthashCode()toString()
-
Constructor Details
-
AuditInformation
-
-
Method Details
-
builder
-
getPrimary
The primary user associated with the current flow. May be null if unknown. Represented by thesubattribute 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_subattribute of the JWT token. -
getCustomerId
The customer id associated with the current flow. May be null if unknown. Represented by thecustomer_idattribute of the JWT token. -
getAccountId
The account id associated with the current flow. May be null if unknown. Represented by theacct_idattribute of the JWT token. -
getTenantId
The tenant id associated with the current flow. May be null if unknown. Harvested from theContextInfoinstance (if available). -
getCatalogId
The catalog id associated with the current flow. May be null if unknown. Harvested from theContextInfoinstance (if available). -
getApplicationId
The application id associated with the current flow. May be null if unknown. Harvested from theContextInfoinstance (if available). -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-