Class SessionScopeWrapper
java.lang.Object
com.aquima.interactions.portal.model.session.scope.SessionScopeDelegate
com.aquima.interactions.portal.model.session.SessionScopeWrapper
- All Implemented Interfaces:
IDisposableScope
,IPortalMessageScope
,IPortalScope
,ISessionLifecycle
,ISessionScope
,Serializable
Session scope implementation to make sure the profile roles are updated when set in the session scope. (AQR-2097)
- Since:
- 8.4
- Author:
- Jon van Leuven
- See Also:
-
Constructor Summary
ConstructorDescriptionSessionScopeWrapper
(ISessionScope delegate, IProfile profile) Internal constructor, only public for test classes. -
Method Summary
Methods inherited from class com.aquima.interactions.portal.model.session.scope.SessionScopeDelegate
activate, clearAttribute, clearPendingPortalMessages, clearPortalMessageAction, destroyDisposableObjects, getActiveChannel, getActiveUser, getAttribute, getAttributeNames, getCurrentFlowState, getMappedPortalMessages, getPendingPortalMessages, getPortalMessageAction, getSessionScope, getTestPath, getType, hasAttribute, notifyPortalMessage, passivate, removePendingPortalMessages, setAttribute, setPortalMessageAction, setTestPath
-
Constructor Details
-
SessionScopeWrapper
Internal constructor, only public for test classes. Do not use otherwise.- Parameters:
delegate
- The session scope to delegate method calls to.profile
- The profile that is used to update system.user.roles.
-
-
Method Details
-
setUser
Description copied from interface:ISessionScope
This method will set the user for the current session. The existing user information will be discarded.- Specified by:
setUser
in interfaceISessionScope
- Overrides:
setUser
in classSessionScopeDelegate
- Parameters:
user
- The user, may not be null.
-