public interface LoginListener
IUserSession
.
E.g. to setup roles specific for a usersession depending on some context.
c.f. OrgData.addRoleToSession(Role, OrgUnit)
.
Is activated if the configured authorization class implements the LoginListener interface.Modifier and Type | Method and Description |
---|---|
void |
afterLogin(IUserSession us)
Called after a login on an IUserSession has been taken place.
|
void |
afterLogout(IUserSession us)
Called after a login on an IUserSession has been taken place.
|
void afterLogin(IUserSession us)
us
- the IUserSession , the id of the IUsersSession is also available via via {@link ThreadContext#getSessionId()void afterLogout(IUserSession us)
us
- the IUserSession. Can not be reliably accessed via ThreadContext@enterprise 9.0.33982 Copyright © 2001-2023 Groiss Informatics GmbH. All Rights Reserved.