at.spardat.xma.security
Class ContextChangeEvent
java.lang.Object
java.util.EventObject
at.spardat.xma.security.ContextChangeEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class ContextChangeEvent
- extends java.util.EventObject
EventObject used to notify a user change. It is delivered to all ContextChangeListener
registered at the LoginModuleWithContextChange of the application after the user, the
mandant, the environment or the locale has changed. Which of these changes can actually happen
depends on the LoginModule.
- See Also:
- Serialized Form
| Fields inherited from class java.util.EventObject |
source |
| Methods inherited from class java.util.EventObject |
getSource, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ContextChangeEvent
public ContextChangeEvent(java.lang.Object source,
XMAContext oldContext,
XMAContext newContext)
- Creates the event object.
- Parameters:
source - the LoginModule sending the eventoldContext - the XMAContext before the user changenewContext - the XMContext after the user change
getNewContext
public XMAContext getNewContext()
- Get the XMAContext before the user change
- Returns:
- the XMAContext before the user change
getOldContext
public XMAContext getOldContext()
- Get the XMAContext after the user change
- Returns:
- the XMAContext after the user change