I'm trying to implement concurrent sessions, but I have a custom AuthenticationFilter meaning there's some more work involved.
So reading the documentation under 11.3 Concurrency Control,
Placed the listener into the web.xml
Copied the required xml configurations,
Documentation (page 60) says the ConcurrentSessionControlStrategy package is in
Yet this package doesn't exist.Code:<beans:bean id="sas" class="org.springframework.security.web.session.ConcurrentSessionControlStrategy"> <beans:property name="sessionRegistry" ref="sessionRegistry" /> <beans:property name="maximumSessions" value="1" /> </beans:bean>
It is really located in
Now the problem is that a new error instantly comes up sayingCode:<beans:bean id="sas" class="org.springframework.security.web.authentication.session.ConcurrentSessionControlStrategy"> <beans:property name="sessionRegistry" ref="sessionRegistry" /> <beans:property name="maximumSessions" value="1" /> </beans:bean>
the "sessionRegistry" property can then not be resolvedCode:no matching constructor found in class "ConcurrentSessionControlStrategy" validate constructor arg injection
Can someone further explain what I have to do to implement the ConcurrentSessionControlStrategy to work, do I have to extend it?
and call the properties?


).
