mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-13 15:42:25 +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.
|
||||
|
@ -68,7 +68,7 @@ public abstract class AbstractLdapAuthenticator implements LdapAuthenticator,
|
||||
|
||||
String rootDn = initialDirContextFactory.getRootDn();
|
||||
|
||||
if(rootDn.length() > 0) {
|
||||
if (rootDn.length() > 0) {
|
||||
dnSuffix = "," + rootDn;
|
||||
}
|
||||
}
|
||||
@ -85,7 +85,7 @@ public abstract class AbstractLdapAuthenticator implements LdapAuthenticator,
|
||||
* set.
|
||||
*/
|
||||
protected List getUserDns(String username) {
|
||||
if(userDnFormat == null) {
|
||||
if (userDnFormat == null) {
|
||||
return new ArrayList(0);
|
||||
}
|
||||
|
||||
@ -112,7 +112,7 @@ public abstract class AbstractLdapAuthenticator implements LdapAuthenticator,
|
||||
// this.userDnPattern = dnPattern;
|
||||
userDnFormat = new MessageFormat[dnPattern.length];
|
||||
|
||||
for(int i=0; i < dnPattern.length; i++) {
|
||||
for (int i=0; i < dnPattern.length; i++) {
|
||||
userDnFormat[i] = new MessageFormat(dnPattern[i]);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user