/** * Removes (or 'unbinds') the Subject's state from the application, typically called during {@link #logout}.. * <p/> * This implementation merely delegates to the internal {@link #setSubjectDAO(SubjectDAO) subjectDAO} and calls * {@link SubjectDAO#delete(org.apache.shiro.subject.Subject) delete(subject)}. * * @param subject the subject for which state will be removed * @see SubjectDAO#delete(org.apache.shiro.subject.Subject) * @since 1.2 */ protected void delete(Subject subject) { this.subjectDAO.delete(subject); }
/** * Removes (or 'unbinds') the Subject's state from the application, typically called during {@link #logout}.. * <p/> * This implementation merely delegates to the internal {@link #setSubjectDAO(SubjectDAO) subjectDAO} and calls * {@link SubjectDAO#delete(org.apache.shiro.subject.Subject) delete(subject)}. * * @param subject the subject for which state will be removed * @see SubjectDAO#delete(org.apache.shiro.subject.Subject) * @since 1.2 */ protected void delete(Subject subject) { this.subjectDAO.delete(subject); }