Package | Description |
---|---|
org.apache.shiro.subject.support |
Concrete support implementations of most of the
org.apache.shiro.subject interfaces. |
Modifier and Type | Class and Description |
---|---|
class |
SubjectThreadState
Manages thread-state for
Subject access (supporting
SecurityUtils. getSubject() calls)
during a thread's execution. |
Modifier and Type | Field and Description |
---|---|
protected ThreadState |
SubjectCallable.threadState |
protected ThreadState |
SubjectRunnable.threadState |
Constructor and Description |
---|
SubjectCallable(ThreadState threadState,
Callable<V> delegate) |
SubjectRunnable(ThreadState threadState,
Runnable delegate)
Creates a new
SubjectRunnable that, when executed, will perform thread state
binding and guaranteed restoration before and after the
Runnable 's execution, respectively. |
Copyright © 2004–2016 The Apache Software Foundation. All rights reserved.