mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-21 19:42:13 +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) {
|
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);
|
return (SessionInformation) sessionIds.get(sessionId);
|
||||||
}
|
}
|
||||||
@ -90,7 +90,7 @@ public class SessionRegistryImpl implements SessionRegistry,
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void refreshLastRequest(String sessionId) {
|
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);
|
SessionInformation info = getSessionInformation(sessionId);
|
||||||
|
|
||||||
@ -101,8 +101,8 @@ public class SessionRegistryImpl implements SessionRegistry,
|
|||||||
|
|
||||||
public void registerNewSession(String sessionId, Object principal)
|
public void registerNewSession(String sessionId, Object principal)
|
||||||
throws SessionAlreadyUsedException {
|
throws SessionAlreadyUsedException {
|
||||||
Assert.hasText(sessionId, "SessionId required as per inerface contract");
|
Assert.hasText(sessionId, "SessionId required as per interface contract");
|
||||||
Assert.notNull(principal, "Principal required as per inerface contract");
|
Assert.notNull(principal, "Principal required as per interface contract");
|
||||||
|
|
||||||
if (getSessionInformation(sessionId) != null) {
|
if (getSessionInformation(sessionId) != null) {
|
||||||
throw new SessionAlreadyUsedException("Session " + sessionId
|
throw new SessionAlreadyUsedException("Session " + sessionId
|
||||||
@ -124,7 +124,7 @@ public class SessionRegistryImpl implements SessionRegistry,
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void removeSessionInformation(String sessionId) {
|
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);
|
SessionInformation info = getSessionInformation(sessionId);
|
||||||
|
|
||||||
|
@ -85,7 +85,7 @@ import javax.servlet.http.HttpSession;
|
|||||||
* </p>
|
* </p>
|
||||||
*
|
*
|
||||||
* <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)
|
* Authentication processing mechanisms (eg BASIC, CAS processing filters etc)
|
||||||
* expect the <code>SecurityContextHolder</code> to contain a valid
|
* expect the <code>SecurityContextHolder</code> to contain a valid
|
||||||
* <code>SecurityContext</code> by the time they execute.
|
* <code>SecurityContext</code> by the time they execute.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user