com.atlassian.confluence.security
Class PermissionCheckDispatcher

java.lang.Object
  extended bycom.atlassian.confluence.security.PermissionCheckDispatcher
All Implemented Interfaces:
com.opensymphony.webwork.WebWorkStatics

public class PermissionCheckDispatcher
extends Object
implements com.opensymphony.webwork.WebWorkStatics


Field Summary
 
Fields inherited from interface com.opensymphony.webwork.WebWorkStatics
HTTP_REQUEST, HTTP_RESPONSE, PAGE_CONTEXT, SERLVET_DISPATCHER, SERVLET_CONFIG, SERVLET_DISPATCHER
 
Constructor Summary
PermissionCheckDispatcher()
           
 
Method Summary
 void clearCache()
          Clears any permissions that may be cached by the dispatcher.
 boolean isPermitted(String url)
           
 boolean isPermittedForAjax(String springRef, List params)
           
 void setPermissionCheckDispatcherResultCache(PermissionCheckDispatcherResultCache permissionCheckDispatcherResultCache)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PermissionCheckDispatcher

public PermissionCheckDispatcher()
Method Detail

setPermissionCheckDispatcherResultCache

public void setPermissionCheckDispatcherResultCache(PermissionCheckDispatcherResultCache permissionCheckDispatcherResultCache)

isPermitted

public boolean isPermitted(String url)

clearCache

public void clearCache()
Clears any permissions that may be cached by the dispatcher. If you've just changed something to do with permissions, it's probably safest to empty out the cache.


isPermittedForAjax

public boolean isPermittedForAjax(String springRef,
                                  List params)


Confluence is developed by Atlassian.