protected Subject getSubject() {
        return this.subject;
    }
Returns the {@code Subject} instance managed by this {@code ThreadState} implementation.

@return the {@code Subject} instance managed by this {@code ThreadState} implementation.
core/src/main/java/org/apache/shiro/subject/support/SubjectThreadState.java