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