Interface SubjectResolver

All Known Implementing Classes:
ConnectionSubjectResolver

public interface SubjectResolver
Since:
5.10.0
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.shiro.subject.Subject
    Resolves and returns a Subject instance.
  • Method Details

    • getSubject

      org.apache.shiro.subject.Subject getSubject() throws RuntimeException
      Resolves and returns a Subject instance. If one cannot be found, a runtime Exception is thrown.
      Returns:
      a resolved Subject instance.
      Throws:
      RuntimeException