Example usage for org.springframework.security.core.context SecurityContextHolderStrategy interface-usage

List of usage examples for org.springframework.security.core.context SecurityContextHolderStrategy interface-usage

Introduction

In this page you can find the example usage for org.springframework.security.core.context SecurityContextHolderStrategy interface-usage.

Usage

From source file org.parancoe.plugins.security.ParancoeSecurityContextHolderStrategy.java

/**
 * A Parancoe <code>ThreadLocal</code>-based implementation of {@link
 * org.springframework.security.context.SecurityContextHolderStrategy}.
 * This class is similar to ThreadLocalSecurityContextHolderStrategy but
 * the body of the method clearContext() is empty. *
 * @author Enrico Giurin

From source file jedai.business.JedaiSecurityContextHolderStrategy.java

public class JedaiSecurityContextHolderStrategy implements SecurityContextHolderStrategy {
    private static final String CONTEXT_ATTRIBUTE = "acegi_context";
    private static ThreadLocal<SecurityContext> contextHolder = new ThreadLocal<SecurityContext>();

    public void clearContext() {
        IConnection connection = Red5.getConnectionLocal();