Package com.iplanet.dpro.session.service
Interface QuotaExhaustionAction
-
- All Known Implementing Classes:
DenyAccessAction,DestroyAllAction,DestroyNextExpiringAction,DestroyOldestAction,QuotaExhaustionActionImpl
public interface QuotaExhaustionActionInterface to define the resulting behavior when the session quota is exhausted.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanaction(InternalSession is, Map<String,Long> existingSessions)Performs an action, when the session quota is exhausted.
-
-
-
Method Detail
-
action
boolean action(InternalSession is, Map<String,Long> existingSessions)
Performs an action, when the session quota is exhausted. The action implementation should destroy at least one session (either by destroying an old session, or rejecting the new one) in order to adhere the session quota.- Parameters:
is- the to-be-actived InternalSessionexistingSessions- all existing sessions belonging to the same uuid (Map:sid->expiration_time)- Returns:
trueif the session activation request should be rejected,falseotherwise
-
-