Class DefaultConnectionSubjectFactory

    • Constructor Detail

      • DefaultConnectionSubjectFactory

        public DefaultConnectionSubjectFactory()
    • Method Detail

      • setAuthenticationPolicy

        public void setAuthenticationPolicy​(AuthenticationPolicy authenticationPolicy)
      • createSubject

        public org.apache.shiro.subject.Subject createSubject​(ConnectionReference conn)
        Description copied from interface: ConnectionSubjectFactory
        Creates a Subject instance representing the connection client. It is common for Subject instances returned from this method to be anonymous until a downstream AuthenticationFilter authenticates the subject to associate an identity.
        Specified by:
        createSubject in interface ConnectionSubjectFactory
        Parameters:
        conn - a reference to the client's connection metadata
        Returns:
        a Subject instance representing the connection client.