Class ConfluenceAccessInterceptor
- java.lang.Object
-
- com.atlassian.confluence.setup.struts.AbstractAwareInterceptor
-
- com.atlassian.confluence.security.interceptors.ConfluenceAccessInterceptor
-
- All Implemented Interfaces:
com.opensymphony.xwork2.interceptor.Interceptor,Serializable
public class ConfluenceAccessInterceptor extends AbstractAwareInterceptor
Grants or denies the current user access to the action method currently being invoked, depending on which access check annotations are present.If no access check annotations are found, this interceptor will have no effect. This will then fall back to the default check for
SpacePermission.USE_CONFLUENCE_PERMISSIONinConfluenceActionSupport.isPermitted().- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConfluenceAccessInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringintercept(com.opensymphony.xwork2.ActionInvocation actionInvocation)-
Methods inherited from class com.atlassian.confluence.setup.struts.AbstractAwareInterceptor
destroy, getParameter, getUser, hasParameter, init
-
-
-
-
Method Detail
-
intercept
public String intercept(com.opensymphony.xwork2.ActionInvocation actionInvocation) throws Exception
- Specified by:
interceptin interfacecom.opensymphony.xwork2.interceptor.Interceptor- Specified by:
interceptin classAbstractAwareInterceptor- Throws:
Exception
-
-