Class AutoDisposableWindowsPrincipal

    • Constructor Detail

      • 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 Detail

      • valueBound

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

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