mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-28 06:42:49 +00:00
Tidy up screwy formatting.
This commit is contained in:
parent
a7d0f88e01
commit
8400341399
@ -28,15 +28,17 @@ import org.springframework.util.Assert;
|
|||||||
/**
|
/**
|
||||||
* Base implementation of {@link ConcurrentSessionControllerImpl} which
|
* Base implementation of {@link ConcurrentSessionControllerImpl} which
|
||||||
* prohibits simultaneous logins.
|
* prohibits simultaneous logins.
|
||||||
*
|
|
||||||
* <p>
|
* <p>
|
||||||
* By default uses {@link org.acegisecurity.concurrent.SessionRegistryImpl},
|
* By default uses {@link SessionRegistryImpl},
|
||||||
* although any <code>SessionRegistry</code> may be used.
|
* although any <code>SessionRegistry</code> may be used.
|
||||||
* </p>
|
* </p>
|
||||||
|
*
|
||||||
|
* @author Ben Alex
|
||||||
|
* @version $Id$
|
||||||
*/
|
*/
|
||||||
public class ConcurrentSessionControllerImpl
|
public class ConcurrentSessionControllerImpl implements ConcurrentSessionController,
|
||||||
implements ConcurrentSessionController, InitializingBean,
|
InitializingBean, MessageSourceAware {
|
||||||
MessageSourceAware {
|
|
||||||
//~ Instance fields ========================================================
|
//~ Instance fields ========================================================
|
||||||
|
|
||||||
protected MessageSourceAccessor messages = AcegiMessageSource.getAccessor();
|
protected MessageSourceAccessor messages = AcegiMessageSource.getAccessor();
|
||||||
@ -63,7 +65,6 @@ public class ConcurrentSessionControllerImpl
|
|||||||
* @param allowableSessions DOCUMENT ME!
|
* @param allowableSessions DOCUMENT ME!
|
||||||
* @param registry an instance of the <code>SessionRegistry</code> for
|
* @param registry an instance of the <code>SessionRegistry</code> for
|
||||||
* subclass use
|
* subclass use
|
||||||
*
|
|
||||||
* @throws ConcurrentLoginException DOCUMENT ME!
|
* @throws ConcurrentLoginException DOCUMENT ME!
|
||||||
*/
|
*/
|
||||||
protected void allowableSessionsExceeded(String sessionId,
|
protected void allowableSessionsExceeded(String sessionId,
|
||||||
@ -134,7 +135,6 @@ public class ConcurrentSessionControllerImpl
|
|||||||
* <code>maximumSessions</code> value for the bean.
|
* <code>maximumSessions</code> value for the bean.
|
||||||
*
|
*
|
||||||
* @param authentication to determine the maximum sessions for
|
* @param authentication to determine the maximum sessions for
|
||||||
*
|
|
||||||
* @return either -1 meaning unlimited, or a positive integer to
|
* @return either -1 meaning unlimited, or a positive integer to
|
||||||
* limit (never zero)
|
* limit (never zero)
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user