Class ConnectionReference

  • Direct Known Subclasses:
    SubjectConnectionReference

    public class ConnectionReference
    extends Object
    A reference (handle) to a client's ConnectionContext and ConnectionInfo as well as the Shiro Environment.

    This implementation primarily exists as a Parameter Object Design Pattern implementation to eliminate long parameter lists, but provides additional benefits, such as immutability and non-null guarantees, and possibility for future data without forcing method signature changes.

    Since:
    5.10.0
    • Constructor Detail

    • Method Detail

      • getEnvironment

        public org.apache.shiro.env.Environment getEnvironment()