Package org.apache.activemq.shiro
Class DefaultSecurityContextFactory
java.lang.Object
org.apache.activemq.shiro.DefaultSecurityContextFactory
- All Implemented Interfaces:
SecurityContextFactory
Default
SecurityContextFactory implementation that creates
SubjectSecurityContext instances, allowing the connection's Subject and the Shiro
Environment to be available to downstream security broker filters.- Since:
- 5.10.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a newSubjectSecurityContextinstance, allowing the connection'sSubjectand the ShiroEnvironmentto be available to downstream security broker filters.
-
Constructor Details
-
DefaultSecurityContextFactory
public DefaultSecurityContextFactory()
-
-
Method Details
-
createSecurityContext
Returns a newSubjectSecurityContextinstance, allowing the connection'sSubjectand the ShiroEnvironmentto be available to downstream security broker filters.- Specified by:
createSecurityContextin interfaceSecurityContextFactory- Parameters:
conn- the subject's connection- Returns:
- a new
SubjectSecurityContextinstance, allowing the connection'sSubjectand the ShiroEnvironmentto be available to downstream security broker filters. - See Also:
-