Interface SecurityContext

  • All Superinterfaces:
    AutoCloseable

    public interface SecurityContext
    extends AutoCloseable
    Encapsulation of security information that can be associated with a thread.
    Since:
    3.0
    Author:
    Jozef Hartinger
    • Field Detail

      • NOOP_SECURITY_CONTEXT

        static final SecurityContext NOOP_SECURITY_CONTEXT
    • Method Detail

      • 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:
        close in interface AutoCloseable