public abstract class AbstractPathAuthorizer extends Object implements PathAuthorizer
| Constructor and Description |
|---|
AbstractPathAuthorizer() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
authorize(PathConfiguration pathConfiguration,
HttpServletRequest request,
HttpServletResponse response)
Performs an authorization check for a specific
PathConfiguration considering
an incoming HttpServletRequest. |
protected abstract boolean |
doAuthorize(PathConfiguration pathConfiguration,
HttpServletRequest request,
HttpServletResponse response) |
protected Identity |
getIdentity() |
public boolean authorize(PathConfiguration pathConfiguration, HttpServletRequest request, 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, HttpServletRequest request, HttpServletResponse response)
protected Identity getIdentity()
Copyright © 2015. All rights reserved.