Class PermissionCheckInterceptor
java.lang.Object
com.atlassian.confluence.security.actions.PermissionCheckInterceptor
- All Implemented Interfaces:
com.opensymphony.xwork2.interceptor.Interceptor,Serializable,org.apache.struts2.interceptor.Interceptor
public class PermissionCheckInterceptor
extends Object
implements com.opensymphony.xwork2.interceptor.Interceptor
This interceptor checks if an action is allowed in read-only mode or in other normal use cases
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.opensymphony.xwork2.interceptor.Interceptor
com.opensymphony.xwork2.interceptor.Interceptor.LegacyAdapter -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.opensymphony.xwork2.interceptor.Interceptor
intercept
-
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 interfacecom.opensymphony.xwork2.interceptor.Interceptor- Throws:
Exception
-