Class AutoDisposableWindowsPrincipal

java.lang.Object
waffle.servlet.WindowsPrincipal
waffle.servlet.AutoDisposableWindowsPrincipal
All Implemented Interfaces:
jakarta.servlet.http.HttpSessionBindingListener, Serializable, Principal, EventListener

public class AutoDisposableWindowsPrincipal extends WindowsPrincipal implements jakarta.servlet.http.HttpSessionBindingListener
The Class AutoDisposableWindowsPrincipal.
See Also:
  • Constructor Details

    • AutoDisposableWindowsPrincipal

      public AutoDisposableWindowsPrincipal(IWindowsIdentity windowsIdentity)
      Instantiates a new auto disposable windows principal.
      Parameters:
      windowsIdentity - the windows identity
    • AutoDisposableWindowsPrincipal

      public AutoDisposableWindowsPrincipal(IWindowsIdentity windowsIdentity, PrincipalFormat principalFormat, PrincipalFormat roleFormat)
      Instantiates a new auto disposable windows principal.
      Parameters:
      windowsIdentity - the windows identity
      principalFormat - the principal format
      roleFormat - the role format
  • Method Details

    • valueBound

      public void valueBound(jakarta.servlet.http.HttpSessionBindingEvent evt)
      Specified by:
      valueBound in interface jakarta.servlet.http.HttpSessionBindingListener
    • valueUnbound

      public void valueUnbound(jakarta.servlet.http.HttpSessionBindingEvent evt)
      Specified by:
      valueUnbound in interface jakarta.servlet.http.HttpSessionBindingListener