类 DelegatingSubjectDAO
java.lang.Object
com.flyfish.oauth.shiro.delegate.DelegatingSubjectDAO
- 所有已实现的接口:
org.apache.shiro.mgt.SubjectDAO
代理的鉴权DAO
- 作者:
- wangyu
-
构造器概要
构造器 -
方法概要
-
构造器详细资料
-
DelegatingSubjectDAO
public DelegatingSubjectDAO(org.apache.shiro.mgt.SubjectDAO delegated)
-
-
方法详细资料
-
save
public org.apache.shiro.subject.Subject save(org.apache.shiro.subject.Subject subject) Persists the specified Subject's state for later access. If there is a no existing state persisted, this persists it if possible (i.e. a create operation). If there is existing state for the specifiedSubject, this method updates the existing state to reflect the current state (i.e. an update operation).- 指定者:
save在接口中org.apache.shiro.mgt.SubjectDAO- 参数:
subject- the Subject instance for which its state will be created or updated.- 返回:
- the Subject instance to use after persistence is complete. This can be the same as the method argument if the underlying implementation does not need to make any Subject changes.
-
delete
public void delete(org.apache.shiro.subject.Subject subject) Removes any persisted state for the specifiedSubjectinstance. This is a delete operation such that the Subject's state will not be accessible at a later time.- 指定者:
delete在接口中org.apache.shiro.mgt.SubjectDAO- 参数:
subject- the Subject instance for which any persistent state should be deleted.
-