fr.ifremer.echobase.ui.interceptors
Class CheckUserIsAdmin

java.lang.Object
  extended by com.opensymphony.xwork2.interceptor.AbstractInterceptor
      extended by fr.ifremer.echobase.ui.interceptors.AbstractCheckInterceptor
          extended by fr.ifremer.echobase.ui.interceptors.CheckUserIsAdmin
All Implemented Interfaces:
com.opensymphony.xwork2.interceptor.Interceptor, Serializable

public class CheckUserIsAdmin
extends AbstractCheckInterceptor

To check if logged user is admin.

Since:
0.1
Author:
tchemit
See Also:
Serialized Form

Field Summary
 
Fields inherited from class fr.ifremer.echobase.ui.interceptors.AbstractCheckInterceptor
redirectAction
 
Constructor Summary
CheckUserIsAdmin()
           
 
Method Summary
protected  boolean doCheck(com.opensymphony.xwork2.ActionInvocation invocation)
           
 
Methods inherited from class fr.ifremer.echobase.ui.interceptors.AbstractCheckInterceptor
getRedirectUrl, intercept, redirect, setRedirectAction
 
Methods inherited from class com.opensymphony.xwork2.interceptor.AbstractInterceptor
destroy, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckUserIsAdmin

public CheckUserIsAdmin()
Method Detail

doCheck

protected boolean doCheck(com.opensymphony.xwork2.ActionInvocation invocation)
Specified by:
doCheck in class AbstractCheckInterceptor


Copyright © 2011-2012 Ifremer. All Rights Reserved.