public class AutoDisposableWindowsPrincipal extends WindowsPrincipal implements javax.servlet.http.HttpSessionBindingListener
Constructor and Description |
---|
AutoDisposableWindowsPrincipal(IWindowsIdentity windowsIdentity)
Instantiates a new auto disposable windows principal.
|
AutoDisposableWindowsPrincipal(IWindowsIdentity windowsIdentity,
PrincipalFormat principalFormat,
PrincipalFormat roleFormat)
Instantiates a new auto disposable windows principal.
|
Modifier and Type | Method and Description |
---|---|
void |
valueBound(javax.servlet.http.HttpSessionBindingEvent evt) |
void |
valueUnbound(javax.servlet.http.HttpSessionBindingEvent evt) |
getGroups, getIdentity, getName, getRolesString, getSid, getSidString, hasRole, toString
public AutoDisposableWindowsPrincipal(IWindowsIdentity windowsIdentity)
windowsIdentity
- the windows identitypublic AutoDisposableWindowsPrincipal(IWindowsIdentity windowsIdentity, PrincipalFormat principalFormat, PrincipalFormat roleFormat)
windowsIdentity
- the windows identityprincipalFormat
- the principal formatroleFormat
- the role formatpublic void valueBound(javax.servlet.http.HttpSessionBindingEvent evt)
valueBound
in interface javax.servlet.http.HttpSessionBindingListener
public void valueUnbound(javax.servlet.http.HttpSessionBindingEvent evt)
valueUnbound
in interface javax.servlet.http.HttpSessionBindingListener
Copyright © 2010–2015 com.github.dblock. All rights reserved.