Package org.jboss.weld.security.spi
Interface SecurityContext
- All Superinterfaces:
AutoCloseable
Encapsulation of security information that can be associated with a thread.
- Since:
- 3.0
- Author:
- Jozef Hartinger
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SecurityContextA trivial implementation where all operations are no-op -
Method Summary
Modifier and TypeMethodDescriptionvoidAssociate this security context with the current thread.voidclose()Signals to the integrator that this instance will no longer be used by Weld.voidClear the security context associated with the current thread.
-
Field Details
-
NOOP_SECURITY_CONTEXT
A trivial implementation where all operations are no-op
-
-
Method Details
-
associate
void associate()Associate this security context with the current thread. -
dissociate
void dissociate()Clear the security context associated with the current thread. -
close
void close()Signals to the integrator that this instance will no longer be used by Weld.- Specified by:
closein interfaceAutoCloseable
-