T - The subtype of the claimstorepublic interface RequestValidator<T extends ClaimStore>
| Modifier and Type | Method and Description |
|---|---|
default void |
handleBadRequestWithCode(javax.servlet.http.HttpServletResponse response,
int httpCode)
Handles the response on a bad request.
|
void |
handleUnauthorizedRequest(javax.servlet.http.HttpServletResponse response)
Handles the response on an unauthorized request.
|
void |
validate(T claimStore)
Validates the request, based upon the information in the claim store
and inserting authorization claims.
|
void validate(T claimStore)
claimStore - The claim store to retrieve the request information from.com.tridion.security.UnauthorizedException - If the request is unauthorized.void handleUnauthorizedRequest(javax.servlet.http.HttpServletResponse response)
response - The response object to use.default void handleBadRequestWithCode(javax.servlet.http.HttpServletResponse response,
int httpCode)
handleUnauthorizedRequest(HttpServletResponse)response - The response object to use.httpCode - The http code to be set to the response.Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries