Interface SessionLimit
- All Superinterfaces:
- Function<Authentication,- Integer> 
Represents the maximum number of sessions allowed. Use 
UNLIMITED to indicate
 that there is no limit.- Since:
- 6.5
- 
Field SummaryFields
- 
Method SummaryStatic MethodsModifier and TypeMethodDescriptionstatic SessionLimitof(int maxSessions) Creates aSessionLimitthat always returns the given value for any user
- 
Field Details- 
UNLIMITEDRepresents unlimited sessions.
 
- 
- 
Method Details- 
ofCreates aSessionLimitthat always returns the given value for any user- Parameters:
- maxSessions- the maximum number of sessions allowed
- Returns:
- a SessionLimitinstance that returns the given value.
 
 
-