Interface SessionLimit
-
Field Summary
Fields -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic SessionLimitof(int maxSessions) Creates aSessionLimitthat always returns the given value for any user
-
Field Details
-
UNLIMITED
Represents unlimited sessions.
-
-
Method Details
-
of
Creates 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.
-