|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectAbstractSecurityInterceptor
net.sourceforge.pebble.security.PrivateBlogSecurityInterceptor
public class PrivateBlogSecurityInterceptor
Specialised FilterSecurityInterceptor that returns its own type of ObjectDefinitionSource. This is acopy-paste job from Acegi's FilterSecurityInterceptor. :-(
| Constructor Summary | |
|---|---|
PrivateBlogSecurityInterceptor()
|
|
| Method Summary | |
|---|---|
void |
destroy()
Not used (we rely on IoC container lifecycle services instead) |
void |
doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain)
Method that is actually called by the filter chain. |
FilterInvocationDefinitionSource |
getObjectDefinitionSource()
|
java.lang.Class |
getSecureObjectClass()
|
void |
init(FilterConfig arg0)
Not used (we rely on IoC container lifecycle services instead) |
void |
invoke(FilterInvocation fi)
|
boolean |
isObserveOncePerRequest()
Indicates whether once-per-request handling will be observed. |
ObjectDefinitionSource |
obtainObjectDefinitionSource()
|
void |
setObserveOncePerRequest(boolean observeOncePerRequest)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PrivateBlogSecurityInterceptor()
| Method Detail |
|---|
public void destroy()
public void doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain)
throws java.io.IOException,
ServletException
invoke(FilterInvocation) method.
request - the servlet requestresponse - the servlet responsechain - the filter chain
java.io.IOException - if the filter chain fails
ServletException - if the filter chain failspublic java.lang.Class getSecureObjectClass()
public void init(FilterConfig arg0)
throws ServletException
arg0 - ignored
ServletException - never thrown
public void invoke(FilterInvocation fi)
throws java.io.IOException,
ServletException
java.io.IOException
ServletExceptionpublic boolean isObserveOncePerRequest()
true,
meaning the FilterSecurityInterceptor will only execute once-per-request. Sometimes users may wish
it to execute more than once per request, such as when JSP forwards are being used and filter security is
desired on each included fragment of the HTTP request.
true (the default) if once-per-request is honoured, otherwise false if
FilterSecurityInterceptor will enforce authorizations for each and every fragment of the
HTTP request.public void setObserveOncePerRequest(boolean observeOncePerRequest)
public FilterInvocationDefinitionSource getObjectDefinitionSource()
public ObjectDefinitionSource obtainObjectDefinitionSource()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||