public class DefaultSecurityContextFactory extends Object implements SecurityContextFactory
SecurityContextFactory
implementation that creates
SubjectSecurityContext
instances, allowing the connection's Subject
and the Shiro
Environment
to be available to downstream security broker filters.Constructor and Description |
---|
DefaultSecurityContextFactory() |
Modifier and Type | Method and Description |
---|---|
SecurityContext |
createSecurityContext(SubjectConnectionReference conn)
Returns a new
SubjectSecurityContext instance, allowing the connection's Subject and the Shiro
Environment to be available to downstream security broker filters. |
public DefaultSecurityContextFactory()
public SecurityContext createSecurityContext(SubjectConnectionReference conn)
SubjectSecurityContext
instance, allowing the connection's Subject
and the Shiro
Environment
to be available to downstream security broker filters.createSecurityContext
in interface SecurityContextFactory
conn
- the subject's connectionSubjectSecurityContext
instance, allowing the connection's Subject
and the Shiro
Environment
to be available to downstream security broker filters.SubjectSecurityContext
Copyright © 2005–2017 The Apache Software Foundation. All rights reserved.