public class BasicAuthConfigEntity extends Object
BasicAuthConfig.| Modifier and Type | Class and Description |
|---|---|
static interface |
BasicAuthConfigEntity.Config
REST API constants.
|
| Constructor and Description |
|---|
BasicAuthConfigEntity(Boolean blockRequests,
List<String> allowedPaths,
List<String> allowedUsers,
Boolean showWarningMessage) |
| Modifier and Type | Method and Description |
|---|---|
static BasicAuthConfigEntity |
fromConfig(BasicAuthConfig config) |
List<String> |
getAllowedPaths() |
List<String> |
getAllowedUsers() |
Boolean |
getBlockRequests() |
Boolean |
getShowWarningMessage() |
void |
setAllowedPaths(List<String> allowedPaths) |
void |
setAllowedUsers(List<String> allowedUsers) |
void |
setBlockRequests(Boolean blockRequests) |
void |
setShowWarningMessage(Boolean showWarningMessage) |
BasicAuthConfig |
toConfig(BasicAuthConfig current) |
@Nonnull public static BasicAuthConfigEntity fromConfig(@Nonnull BasicAuthConfig config)
@Nonnull public BasicAuthConfig toConfig(@Nonnull BasicAuthConfig current)
current - current config, as this DTO may contain partial datapublic Boolean getBlockRequests()
public void setBlockRequests(Boolean blockRequests)
public Boolean getShowWarningMessage()
public void setShowWarningMessage(Boolean showWarningMessage)
Copyright © 2023 Atlassian. All rights reserved.