mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-22 12:02:14 +00:00
Javadoc typos.
This commit is contained in:
parent
4024f124b9
commit
17b3424b85
@ -77,7 +77,7 @@ public class SessionRegistryImpl implements SessionRegistry,
|
||||
}
|
||||
|
||||
public SessionInformation getSessionInformation(String sessionId) {
|
||||
Assert.hasText(sessionId, "SessionId required as per inerface contract");
|
||||
Assert.hasText(sessionId, "SessionId required as per interface contract");
|
||||
|
||||
return (SessionInformation) sessionIds.get(sessionId);
|
||||
}
|
||||
@ -90,7 +90,7 @@ public class SessionRegistryImpl implements SessionRegistry,
|
||||
}
|
||||
|
||||
public void refreshLastRequest(String sessionId) {
|
||||
Assert.hasText(sessionId, "SessionId required as per inerface contract");
|
||||
Assert.hasText(sessionId, "SessionId required as per interface contract");
|
||||
|
||||
SessionInformation info = getSessionInformation(sessionId);
|
||||
|
||||
@ -101,8 +101,8 @@ public class SessionRegistryImpl implements SessionRegistry,
|
||||
|
||||
public void registerNewSession(String sessionId, Object principal)
|
||||
throws SessionAlreadyUsedException {
|
||||
Assert.hasText(sessionId, "SessionId required as per inerface contract");
|
||||
Assert.notNull(principal, "Principal required as per inerface contract");
|
||||
Assert.hasText(sessionId, "SessionId required as per interface contract");
|
||||
Assert.notNull(principal, "Principal required as per interface contract");
|
||||
|
||||
if (getSessionInformation(sessionId) != null) {
|
||||
throw new SessionAlreadyUsedException("Session " + sessionId
|
||||
@ -124,7 +124,7 @@ public class SessionRegistryImpl implements SessionRegistry,
|
||||
}
|
||||
|
||||
public void removeSessionInformation(String sessionId) {
|
||||
Assert.hasText(sessionId, "SessionId required as per inerface contract");
|
||||
Assert.hasText(sessionId, "SessionId required as per interface contract");
|
||||
|
||||
SessionInformation info = getSessionInformation(sessionId);
|
||||
|
||||
|
@ -85,7 +85,7 @@ import javax.servlet.http.HttpSession;
|
||||
* </p>
|
||||
*
|
||||
* <p>
|
||||
* This filter MUST be executed BEFORE any authentication procesing mechanisms.
|
||||
* This filter MUST be executed BEFORE any authentication processing mechanisms.
|
||||
* Authentication processing mechanisms (eg BASIC, CAS processing filters etc)
|
||||
* expect the <code>SecurityContextHolder</code> to contain a valid
|
||||
* <code>SecurityContext</code> by the time they execute.
|
||||
|
Loading…
x
Reference in New Issue
Block a user