List of usage examples for org.springframework.security.web.context SecurityContextRepository interface-usage
From source file au.gov.dto.dibp.appointments.security.context.CookieBasedSecurityContextRepository.java
/** * Adapted from oakfusion/spring-cookie-session under the MIT license: * https://github.com/oakfusion/spring-cookie-session/blob/spring-cookie-session-1.0/src/main/java/com/oakfusion/security/CookieSecurityContextRepository.java */ @Component public class CookieBasedSecurityContextRepository implements SecurityContextRepository {
From source file au.gov.dto.springframework.security.web.context.CookieSecurityContextRepository.java
/** * Adapted from oakfusion/spring-cookie-session under the MIT license: * https://github.com/oakfusion/spring-cookie-session/blob/spring-cookie-session-1.0/src/main/java/com/oakfusion/security/CookieSecurityContextRepository.java */ public class CookieSecurityContextRepository implements SecurityContextRepository { public static final String DEFAULT_AUTHENTICATION_COOKIE_NAME = "authentication";
From source file eu.trentorise.smartcampus.ac.provider.filters.NoSecurityContextRepository.java
public class NoSecurityContextRepository implements SecurityContextRepository { @Override public SecurityContext loadContext(HttpRequestResponseHolder requestResponseHolder) { return null; }
From source file org.syncope.core.security.NullSecurityContextRepository.java
/** * To be used until switching to Spring Security 3.1 which provides a similar * class by default. */ public class NullSecurityContextRepository implements SecurityContextRepository {
From source file fr.mycellar.interfaces.web.security.SecurityContextTokenRepository.java
/** * @author speralta */ @Singleton @Named public class SecurityContextTokenRepository implements SecurityContextRepository {
From source file org.carewebframework.security.spring.DesktopSecurityContextRepository.java
/** * This is based on the HttpSessionSecurityContextRepository, but is desktop-, not session-, based. */ public class DesktopSecurityContextRepository implements SecurityContextRepository, ILifecycleCallback<Desktop> { private static final String CONTEXT_KEY = HttpSessionSecurityContextRepository.SPRING_SECURITY_CONTEXT_KEY;
From source file org.springframework.security.web.context.HttpSessionSecurityContextRepository.java
/**
* A {@code SecurityContextRepository} implementation which stores the security context in
* the {@code HttpSession} between requests.
* <p>
* The {@code HttpSession} will be queried to retrieve the {@code SecurityContext} in the
* <tt>loadContext</tt> method (using the key {@link #SPRING_SECURITY_CONTEXT_KEY} by
From source file com.cfitzarl.cfjwed.core.security.SecurityContextLoader.java
/**
* This is responsible for retrieving and loading the security context established through
* an authentication call in a previous request. Rather than rely on the servlet container to
* store the session, Redis was chosen for both flexibility and scalability. Each request passes
* through this code in order to retrieve its appropriate context. When not found, Spring Security
* will treat the current request as if it were that of an anonymous user.