Class DefaultConnectionSubjectFactory
java.lang.Object
org.apache.activemq.shiro.subject.DefaultConnectionSubjectFactory
- All Implemented Interfaces:
ConnectionSubjectFactory
- Since:
- 5.10.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.shiro.subject.SubjectCreates aSubjectinstance representing the connection client.voidsetAuthenticationPolicy(AuthenticationPolicy authenticationPolicy)
-
Constructor Details
-
DefaultConnectionSubjectFactory
public DefaultConnectionSubjectFactory()
-
-
Method Details
-
getAuthenticationPolicy
-
setAuthenticationPolicy
-
createSubject
Description copied from interface:ConnectionSubjectFactoryCreates aSubjectinstance representing the connection client. It is common forSubjectinstances returned from this method to be anonymous until a downstreamAuthenticationFilterauthenticates the subject to associate an identity.- Specified by:
createSubjectin interfaceConnectionSubjectFactory- Parameters:
conn- a reference to the client's connection metadata- Returns:
- a
Subjectinstance representing the connection client.
-