Example usage for org.springframework.web.servlet.handler HandlerInterceptorAdapter subclass-usage

List of usage examples for org.springframework.web.servlet.handler HandlerInterceptorAdapter subclass-usage

Introduction

In this page you can find the example usage for org.springframework.web.servlet.handler HandlerInterceptorAdapter subclass-usage.

Usage

From source file com.tristanchanson.vpm.user.UserInterceptor.java

/**
 * Before a request is handled:
 * 1. sets the current User in the {@link SecurityContext} from a cookie, if present and the user is still connected to Facebook.
 * 2. requires that the user sign-in if he or she hasn't already.
 * @author Keith Donald
 */

From source file com.salesfloors.social.user.UserInterceptor.java

/**
 * Before a request is handled:
 * 1. sets the current User in the {@link SecurityContext} from a cookie, if present and the user is still connected to Facebook.
 * 2. requires that the user sign-in if he or she hasn't already.
 * @author Keith Donald
 */

From source file com.vmware.entertainmentetc.user.UserInterceptor.java

/**
 * Before a request is handled:
 * 1. sets the current User in the {@link SecurityContext} from a cookie, if present and the user is still connected to Facebook.
 * 2. requires that the user sign-in if he or she hasn't already.
 * @author Keith Donald
 */

From source file com.pepeshka.logreg.facebook.user.UserInterceptor.java

/**
 * Before a request is handled:
 * 1. sets the current User in the {@link SecurityContext} from a cookie, if present and the user is still connected to Facebook.
 * 2. requires that the user sign-in if he or she hasn't already.
 * @author Keith Donald
 */

From source file net.nobien.springsocial.examples.instagram.user.UserInterceptor.java

public final class UserInterceptor extends HandlerInterceptorAdapter {

    private final UsersConnectionRepository connectionRepository;

    private final UserCookieGenerator userCookieGenerator = new UserCookieGenerator();

From source file com.cloudfoundry.samples.spring.user.UserInterceptor.java

/**
 * Before a request is handled:
 * 1. sets the current User in the {@link SecurityContext} from a cookie, if present and the user is still connected to Facebook.
 * 2. requires that the user sign-in if he or she hasn't already.
 * @author Keith Donald
 */

From source file com.dangdang.ddframe.job.console.interceptor.CuratorSessionClientInterceptor.java

public final class CuratorSessionClientInterceptor extends HandlerInterceptorAdapter {

    @Override
    public boolean preHandle(final HttpServletRequest request, final HttpServletResponse response,
            final Object handler) throws Exception {
        RegistryCenterClient client = (RegistryCenterClient) request.getSession()

From source file net.zouabimourad.springsocialjira.auth.UserInterceptor.java

/**
 * Before a request is handled: 1. sets the current User in the {@link SecurityContext} from a cookie, if present and
 * the user is still connected to Facebook. 2. requires that the user sign-in if he or she hasn't already.
 * 
 * @author Keith Donald
 */

From source file mojo.view.login.RequireLoginInterceptor.java

public class RequireLoginInterceptor extends HandlerInterceptorAdapter {

    private static final Logger logger = LoggerFactory.getLogger(RequireLoginInterceptor.class);

    @Autowired
    @Qualifier("auditContext")

From source file net.nobien.springsocial.examples.foursquare.user.UserInterceptor.java

public final class UserInterceptor extends HandlerInterceptorAdapter {

    private final UsersConnectionRepository connectionRepository;

    private final UserCookieGenerator userCookieGenerator = new UserCookieGenerator();