public class URISecurityFilter extends BaseSecurityFilter
Modifier and Type | Field and Description |
---|---|
static String |
URI_REPOSITORY |
static String |
URI_WORKSPACE |
Constructor and Description |
---|
URISecurityFilter() |
Modifier and Type | Method and Description |
---|---|
boolean |
isAllowed(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Checks access from Listener / Authenticator / AccessLock.
|
protected boolean |
isAuthorized(AccessManager accessManager,
javax.servlet.http.HttpServletRequest request)
Deprecated.
since 4.5 use
isAuthorized(HttpServletRequest) instead. |
protected boolean |
isAuthorized(javax.servlet.http.HttpServletRequest request)
Validates user permissions on URI.
|
doAuthenticate, doFilter
acceptsEncoding, acceptsGzipEncoding, addAndVerifyHeader, addBypass, addMapping, bypasses, destroy, doFilter, getBypasses, getDispatching, getMapping, getMappings, getName, headerContains, init, isEnabled, mapsTo, matches, matchesDispatching, setBypasses, setDispatching, setEnabled, setMappings, setName
public static final String URI_REPOSITORY
public static final String URI_WORKSPACE
public boolean isAllowed(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException
isAllowed
in class BaseSecurityFilter
request
- HttpServletRequest as received by the service methodresponse
- HttpServletResponse as received by the service methodtrue
if access to the resource is allowedIOException
- can be thrown when the servlet is unable to write to the response stream@Deprecated protected boolean isAuthorized(AccessManager accessManager, javax.servlet.http.HttpServletRequest request)
isAuthorized(HttpServletRequest)
instead.protected boolean isAuthorized(javax.servlet.http.HttpServletRequest request)
Copyright © 2003–2017 Magnolia International Ltd.. All rights reserved.