DefaultSubjectDAO.save

Saves the subject's state to the subject's {@link hunt.shiro.subject.Subject#getSession() session} only if {@link #isSessionStorageEnabled(Subject) sessionStorageEnabled(subject)}. If session storage is not enabled for the specific {@code Subject}, this method does nothing. <p/> In either case, the argument {@code Subject} is returned directly (a new Subject instance is not created).

@param subject the Subject instance for which its state will be created or updated. @return the same {@code Subject} passed in (a new Subject instance is not created).

class DefaultSubjectDAO
save

Meta