public interface QuotaExhaustionAction
Modifier and Type | Method and Description |
---|---|
boolean |
action(Session session,
Map<String,Long> existingSessions,
long surplusSessions)
Performs an action, when the session quota is exhausted.
|
boolean action(Session session, Map<String,Long> existingSessions, long surplusSessions)
session
- the to-be-actived SessionexistingSessions
- all existing sessions belonging to the same uuid (Map:sid->expiration_time)surplusSessions
- the number of sessions in excess of the quota. Under normal circumstances should be 1true
if the session activation request should be rejected, false
otherwiseCopyright © 2010-2018, ForgeRock All Rights Reserved.