public interface SubjectDAO
SubjectDAOis responsible for persisting a Subject instance's internal state such that the Subject instance can be recreated at a later time if necessary. Shiro's default
SecurityManagerimplementations typically use a
SubjectDAOin conjunction with a
SubjectFactory: after the
SubjectDAOis used to persist that subject's state such that it can be accessed later if necessary.
SecurityManagerimplementations to manage Subject state persistence. It does not make Subject instances accessible to the application (e.g. via
Subject, this method updates the existing state to reflect the current state (i.e. an update operation).
subject- the Subject instance for which its state will be created or updated.
Copyright © 2004–2019 The Apache Software Foundation. All rights reserved.