Class PermissionCheckInterceptor
java.lang.Object
com.atlassian.confluence.security.actions.PermissionCheckInterceptor
- All Implemented Interfaces:
Serializable,org.apache.struts2.interceptor.Interceptor
public class PermissionCheckInterceptor
extends Object
implements org.apache.struts2.interceptor.Interceptor
This interceptor checks if an action is allowed in read-only mode or in other normal use cases
- See Also:
-
Field Details
-
NOT_PERMITTED
- See Also:
-
PAGE_NOT_PERMITTED
- See Also:
-
NOT_FOUND
- See Also:
-
READ_ONLY
- See Also:
-
-
Constructor Details
-
PermissionCheckInterceptor
public PermissionCheckInterceptor()
-
-
Method Details
-
destroy
public void destroy()- Specified by:
destroyin interfaceorg.apache.struts2.interceptor.Interceptor
-
init
public void init()- Specified by:
initin interfaceorg.apache.struts2.interceptor.Interceptor
-
intercept
- Specified by:
interceptin interfaceorg.apache.struts2.interceptor.Interceptor- Throws:
Exception
-