public class AccessDeniedResponse extends ResponseWithErrorCode
description, errorCode, httpStatusCode, referenceId| Constructor and Description |
|---|
AccessDeniedResponse()
Default constructor.
|
AccessDeniedResponse(String user,
Iterable<String> missingAuthorizations,
String description)
Detailed constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getMissingAuthorizations() |
String |
getUser() |
getDescription, getErrorCode, getHttpStatusCode, getReferenceIdpublic AccessDeniedResponse()
public AccessDeniedResponse(@Nullable String user, @Nullable Iterable<String> missingAuthorizations, @Nullable String description)
user - The optional user to which access has been denied.missingAuthorizations - The optional set of missing authorizations.description - The optional error description.Copyright © 2022 SAP SE. All rights reserved.