Top Description Fields Constructors Methods
waffle.servlet

public Class AutoDisposableWindowsPrincipal

extends WindowsPrincipal
implements HttpSessionBindingListener
Class Inheritance
All Implemented Interfaces
javax.servlet.http.HttpSessionBindingListener, java.util.EventListener
Imports
javax.servlet.http.HttpSessionBindingEvent, .HttpSessionBindingListener, waffle.windows.auth.IWindowsIdentity, .PrincipalFormat

The Class AutoDisposableWindowsPrincipal.

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
AutoDisposableWindowsPrincipal(final IWindowsIdentity
the windows identity
windowsIdentity
)

Instantiates a new auto disposable windows principal.

public
AutoDisposableWindowsPrincipal(final IWindowsIdentity
the windows identity
windowsIdentity
,
final PrincipalFormat
the principal format
principalFormat
,
final PrincipalFormat
the role format
roleFormat
)

Instantiates a new auto disposable windows principal.

Method Summary

Modifier and TypeMethod and Description
public void
valueBound(final HttpSessionBindingEvent
the event that identifies the session
evt
)

Overrides default javax.servlet.http.HttpSessionBindingListener.valueBound.

Notifies the object that it is being bound to a session and identifies the session.
public void
valueUnbound(final HttpSessionBindingEvent
the event that identifies the session
evt
)

Overrides default javax.servlet.http.HttpSessionBindingListener.valueUnbound.

Notifies the object that it is being unbound from a session and identifies the session.
Inherited from waffle.servlet.WindowsPrincipal:
equalsgetGroupsgetIdentitygetNamegetRolesStringgetSidgetSidStringhashCodehasRoletoString

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides waffle.servlet.WindowsPrincipal.serialVersionUID.

The Constant serialVersionUID.

Constructor Detail

AutoDisposableWindowsPrincipalback to summary
public AutoDisposableWindowsPrincipal(final IWindowsIdentity windowsIdentity)

Instantiates a new auto disposable windows principal.

Parameters
windowsIdentity:IWindowsIdentity

the windows identity

AutoDisposableWindowsPrincipalback to summary
public AutoDisposableWindowsPrincipal(final IWindowsIdentity windowsIdentity, final PrincipalFormat principalFormat, final PrincipalFormat roleFormat)

Instantiates a new auto disposable windows principal.

Parameters
windowsIdentity:IWindowsIdentity

the windows identity

principalFormat:PrincipalFormat

the principal format

roleFormat:PrincipalFormat

the role format

Method Detail

valueBoundback to summary
public void valueBound(final HttpSessionBindingEvent evt)

Overrides default javax.servlet.http.HttpSessionBindingListener.valueBound.

Doc from javax.servlet.http.HttpSessionBindingListener.valueBound.

Notifies the object that it is being bound to a session and identifies the session.

Parameters
evt:HttpSessionBindingEvent

the event that identifies the session

Annotations
@Override
valueUnboundback to summary
public void valueUnbound(final HttpSessionBindingEvent evt)

Overrides default javax.servlet.http.HttpSessionBindingListener.valueUnbound.

Doc from javax.servlet.http.HttpSessionBindingListener.valueUnbound.

Notifies the object that it is being unbound from a session and identifies the session.

Parameters
evt:HttpSessionBindingEvent

the event that identifies the session

Annotations
@Override