public class SecurityContextFactory extends Object
SecurityAdapter
s and SecurityContext
.
SecurityAdapter
like XSSAntiSamySecurityAdapter
if necessary,
same with DefaultSecurityContext
.Modifier | Constructor and Description |
---|---|
protected |
SecurityContextFactory() |
Modifier and Type | Method and Description |
---|---|
static SecurityContextFactory |
getInstance() |
SecurityContext |
getSecurityContext(ContextType... types)
Provide
SecurityContext that caters to the ContextType needs generally speaking. |
public static SecurityContextFactory getInstance()
public SecurityContext getSecurityContext(ContextType... types)
SecurityContext
that caters to the ContextType
needs generally speaking.types
- Copyright © 2018. All rights reserved.