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)
PathAuthorizer
Performs an authorization check for a specific PathConfiguration
considering
an incoming HttpServletRequest
.
authorize
in interface PathAuthorizer
pathConfiguration
- 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 © 2018 JBoss by Red Hat. All rights reserved.