Class MaximumSessionsContext
java.lang.Object
org.springframework.security.web.server.authentication.MaximumSessionsContext
-
Constructor Summary
ConstructorDescriptionMaximumSessionsContext
(Authentication authentication, List<ReactiveSessionInformation> sessions, int maximumSessionsAllowed, org.springframework.web.server.WebSession currentSession) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.server.WebSession
int
-
Constructor Details
-
MaximumSessionsContext
public MaximumSessionsContext(Authentication authentication, List<ReactiveSessionInformation> sessions, int maximumSessionsAllowed, org.springframework.web.server.WebSession currentSession)
-
-
Method Details
-
getAuthentication
-
getSessions
-
getMaximumSessionsAllowed
public int getMaximumSessionsAllowed() -
getCurrentSession
public org.springframework.web.server.WebSession getCurrentSession()
-