Package waffle.servlet
Class AutoDisposableWindowsPrincipal
java.lang.Object
waffle.servlet.WindowsPrincipal
waffle.servlet.AutoDisposableWindowsPrincipal
- All Implemented Interfaces:
Serializable
,Principal
,EventListener
,javax.servlet.http.HttpSessionBindingListener
public class AutoDisposableWindowsPrincipal
extends WindowsPrincipal
implements javax.servlet.http.HttpSessionBindingListener
The Class AutoDisposableWindowsPrincipal.
- See Also:
-
Constructor Summary
ConstructorDescriptionAutoDisposableWindowsPrincipal
(IWindowsIdentity windowsIdentity) Instantiates a new auto disposable windows principal.AutoDisposableWindowsPrincipal
(IWindowsIdentity windowsIdentity, PrincipalFormat principalFormat, PrincipalFormat roleFormat) Instantiates a new auto disposable windows principal. -
Method Summary
Modifier and TypeMethodDescriptionvoid
valueBound
(javax.servlet.http.HttpSessionBindingEvent evt) void
valueUnbound
(javax.servlet.http.HttpSessionBindingEvent evt) Methods inherited from class waffle.servlet.WindowsPrincipal
equals, getGroups, getIdentity, getName, getRolesString, getSid, getSidString, hashCode, hasRole, toString
-
Constructor Details
-
AutoDisposableWindowsPrincipal
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 identityprincipalFormat
- the principal formatroleFormat
- the role format
-
-
Method Details
-
valueBound
public void valueBound(javax.servlet.http.HttpSessionBindingEvent evt) - Specified by:
valueBound
in interfacejavax.servlet.http.HttpSessionBindingListener
-
valueUnbound
public void valueUnbound(javax.servlet.http.HttpSessionBindingEvent evt) - Specified by:
valueUnbound
in interfacejavax.servlet.http.HttpSessionBindingListener
-