类 DelegatingSubjectDAO

java.lang.Object
com.flyfish.oauth.shiro.delegate.DelegatingSubjectDAO
所有已实现的接口:
org.apache.shiro.mgt.SubjectDAO

public class DelegatingSubjectDAO extends Object implements org.apache.shiro.mgt.SubjectDAO
代理的鉴权DAO
作者:
wangyu
  • 构造器概要

    构造器
    构造器
    说明
    DelegatingSubjectDAO(org.apache.shiro.mgt.SubjectDAO delegated)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    delete(org.apache.shiro.subject.Subject subject)
    Removes any persisted state for the specified Subject instance.
    org.apache.shiro.subject.Subject
    save(org.apache.shiro.subject.Subject subject)
    Persists the specified Subject's state for later access.
  • 构造器详细资料

    • 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 specified Subject, 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 specified Subject instance. 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.