@Override
    public String toString() {
        return new StringJoiner(", ", "DelegatingSubject{", "}")
                .add("principals=" + principals)
                .add("authenticated=" + authenticated)
                .add("host='******")
                .add("session='******'")
                .add("sessionCreationEnabled=" + sessionCreationEnabled)
                .add("securityManager=" + securityManager)
                .toString();
    }
Returns {@code true} if this Subject is allowed to create sessions, {@code false} otherwise.

@return {@code true} if this Subject is allowed to create sessions, {@code false} otherwise.
@since 1.2
core/src/main/java/org/apache/shiro/subject/support/DelegatingSubject.java