public class PentahoSecurityContextHolderStrategy extends Object implements org.springframework.security.core.context.SecurityContextHolderStrategy
SecurityContextHolder
to govern the creation
and scope of a SecurityContext
. This implementation is, with respect scope, the same as
org.springframework.security.context.InheritableThreadLocalSecurityContextHolderStrategy. The SecurityContext
implementations factoried by this class are of our own type PentahoSecurityContextHolderStrategy.PentahoSecurityContextImpl
which manages
Authentication in it's own InheritableThreadLocal
Created by nbaker on 6/6/14.Modifier and Type | Class and Description |
---|---|
static class |
PentahoSecurityContextHolderStrategy.PentahoSecurityContextImpl |
Constructor and Description |
---|
PentahoSecurityContextHolderStrategy() |
Modifier and Type | Method and Description |
---|---|
void |
clearContext() |
org.springframework.security.core.context.SecurityContext |
createEmptyContext() |
org.springframework.security.core.context.SecurityContext |
getContext() |
void |
setContext(org.springframework.security.core.context.SecurityContext sContext) |
public PentahoSecurityContextHolderStrategy()
public org.springframework.security.core.context.SecurityContext getContext()
getContext
in interface org.springframework.security.core.context.SecurityContextHolderStrategy
public void setContext(org.springframework.security.core.context.SecurityContext sContext)
setContext
in interface org.springframework.security.core.context.SecurityContextHolderStrategy
public void clearContext()
clearContext
in interface org.springframework.security.core.context.SecurityContextHolderStrategy
public org.springframework.security.core.context.SecurityContext createEmptyContext()
createEmptyContext
in interface org.springframework.security.core.context.SecurityContextHolderStrategy
Copyright © 2019 Hitachi Vantara. All rights reserved.