Java org.apache.shiro.subject.support SubjectThreadState fields, constructors, methods, implement or subclass

Example usage for Java org.apache.shiro.subject.support SubjectThreadState fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.shiro.subject.support SubjectThreadState.

The text is from its open source code.

Constructor

SubjectThreadState(Subject subject)
Creates a new SubjectThreadState that will bind and unbind the specified Subject to the thread

Method

voidbind()
Binds a Subject and org.apache.shiro.mgt.SecurityManager SecurityManager to the ThreadContext so they can be retrieved later by any SecurityUtils.
voidrestore()
ThreadContext#remove Remove s all thread-state that was bound by this instance.