List of usage examples for org.springframework.web.servlet.handler HandlerInterceptorAdapter subclass-usage
From source file net.anthonychaves.bookmarks.web.UserAuthorizationInterceptor.java
@Component public class UserAuthorizationInterceptor extends HandlerInterceptorAdapter { private static final String UNAUTHORIZED_MSG = "You are not logged in. You must log in or supply an API token."; @Override
From source file com.groupon.odo.controllers.ConfigurationInterceptor.java
public class ConfigurationInterceptor extends HandlerInterceptorAdapter { private static final Logger logger = LoggerFactory.getLogger(ConfigurationInterceptor.class); /** * This will check to see if certain configuration values exist from the ConfigurationService * If not then it redirects to the configuration screen
From source file org.tangram.spring.MeasureTimeInterceptor.java
/**
* The time measuring interceptor collects the average request handling times for any intercepted call.
*
* The result is calculated by means of the tangram statistics facility and a set of URLs to be ignored
* can be filled with URIs if needed.
*/
From source file de.kbs.acavis.presentation.controller.NavigationInterceptor.java
/** * Contains a post-controller hook that adds necessary data to the page-model. * * @author Sebastian */ public class NavigationInterceptor extends HandlerInterceptorAdapter {
From source file org.bpmscript.web.ModelBeansInterceptor.java
/** * A way to add utility beans into a views though the model */ public class ModelBeansInterceptor extends HandlerInterceptorAdapter { private Map<String, Object> beans;
From source file eu.trentorise.game.api.rest.AuthorizationInterceptor.java
public class AuthorizationInterceptor extends HandlerInterceptorAdapter { @Autowired private PermissionManager permissionManager; @Autowired
From source file ru.org.linux.csrf.CSRFHandlerInterceptor.java
public class CSRFHandlerInterceptor extends HandlerInterceptorAdapter { private static final Log logger = LogFactory.getLog(CSRFHandlerInterceptor.class); @Override public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception {
From source file cz.metacentrum.perun.oidc.overlay.PerunConfigInterceptor.java
/**
*
* Injects our own configuration bean into the request context.
* This allows JSPs and the like to call "perunConfig.instanceLogoUrl" among others.
*
* @author Ondrej Velisek <ondrejvelisek@gmail.com>
From source file org.guanxi.idp.service.UrlRewriter.java
public class UrlRewriter extends HandlerInterceptorAdapter implements ServletContextAware { /** The ServletContext, passed to us by Spring as we are ServletContextAware */ private ServletContext servletContext = null; /** Our logger */ private static final Logger logger = Logger.getLogger(UrlRewriter.class.getName()); /** The URLs to map */
From source file com.google.ie.web.interceptor.LoginInterceptor.java
/**
* An interceptor to check if user is logged in or not. User is logged in if an
* fcauth cookie is present in the request scope
*
* @author abraina
*/