com.atlassian.confluence.user.actions
Class UserAwareInterceptor

java.lang.Object
  extended by com.atlassian.confluence.setup.webwork.AbstractAwareInterceptor
      extended by com.atlassian.confluence.user.actions.UserAwareInterceptor
All Implemented Interfaces:
com.opensymphony.xwork.interceptor.Interceptor

public class UserAwareInterceptor
extends AbstractAwareInterceptor

Grabs the user from the action and determines whether the user is valid and the logged-in user has permission to view the action.


Constructor Summary
UserAwareInterceptor()
           
 
Method Summary
 String intercept(com.opensymphony.xwork.ActionInvocation actionInvocation)
           
 
Methods inherited from class com.atlassian.confluence.setup.webwork.AbstractAwareInterceptor
destroy, getParameter, getSessionAttribute, getUser, hasParameter, hasSessionAttribute, init, setResponseHeader, setSessionAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserAwareInterceptor

public UserAwareInterceptor()
Method Detail

intercept

public String intercept(com.opensymphony.xwork.ActionInvocation actionInvocation)
                 throws Exception
Specified by:
intercept in interface com.opensymphony.xwork.interceptor.Interceptor
Specified by:
intercept in class AbstractAwareInterceptor
Throws:
Exception


Copyright © 2003-2011 Atlassian. All Rights Reserved.