public abstract class AbstractPathAuthorizer extends Object implements PathAuthorizer
| Constructor and Description |
|---|
AbstractPathAuthorizer() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
authorize(PathConfiguration pathConfiguration,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Performs an authorization check for a specific
PathConfiguration considering
an incoming HttpServletRequest. |
protected abstract boolean |
doAuthorize(PathConfiguration pathConfiguration,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected Identity |
getIdentity() |
public boolean authorize(PathConfiguration pathConfiguration, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
PathAuthorizerPerforms an authorization check for a specific PathConfiguration considering
an incoming HttpServletRequest.
authorize in interface PathAuthorizerpathConfiguration - The configuration associated with the given request.request - The incoming request,response - The response.protected abstract boolean doAuthorize(PathConfiguration pathConfiguration, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
protected Identity getIdentity()
Copyright © 2024. All rights reserved.