@Named public class AdvancedBasicAuthAuditLogHandler extends Object implements BasicAuthAuditLogHandler
BasicAuthAuditLogHandler for the "advanced audit log" (from com.atlassian.audit).
The name is used to distinguish it from e.g. a "legacy audit log" support.| Modifier and Type | Field and Description |
|---|---|
static String |
BASIC_AUTH_ENABLED_TITLE_I18N_KEY |
| Constructor and Description |
|---|
AdvancedBasicAuthAuditLogHandler(com.atlassian.audit.api.AuditService auditService) |
| Modifier and Type | Method and Description |
|---|---|
<T> com.atlassian.audit.entity.ChangedValue |
getChangedValue(T oldValue,
T newValue,
String i18nKey) |
void |
logAllowedPathsChange(Set<String> currentAllowlist,
Set<String> updatedAllowlist)
Log when the list of allowed paths changes.
|
void |
logAllowedUsersChange(Set<String> currentAllowlist,
Set<String> updatedAllowlist)
Log when the list of allowed users changes.
|
void |
logBlockingBasicAuthRequests()
Log when blocking basic auth is turned on.
|
void |
logDoNotBlockBasicAuthRequests()
Log when blocking basic auth is turned off.
|
public static final String BASIC_AUTH_ENABLED_TITLE_I18N_KEY
@Inject public AdvancedBasicAuthAuditLogHandler(com.atlassian.audit.api.AuditService auditService)
public void logDoNotBlockBasicAuthRequests()
BasicAuthAuditLogHandlerlogDoNotBlockBasicAuthRequests in interface BasicAuthAuditLogHandlerpublic void logBlockingBasicAuthRequests()
BasicAuthAuditLogHandlerlogBlockingBasicAuthRequests in interface BasicAuthAuditLogHandlerpublic void logAllowedPathsChange(@Nonnull Set<String> currentAllowlist, @Nonnull Set<String> updatedAllowlist)
BasicAuthAuditLogHandlerlogAllowedPathsChange in interface BasicAuthAuditLogHandlerpublic void logAllowedUsersChange(@Nonnull Set<String> currentAllowlist, @Nonnull Set<String> updatedAllowlist)
BasicAuthAuditLogHandlerlogAllowedUsersChange in interface BasicAuthAuditLogHandlerpublic <T> com.atlassian.audit.entity.ChangedValue getChangedValue(T oldValue,
T newValue,
String i18nKey)
Copyright © 2023 Atlassian. All rights reserved.