Skip to content

Commit dc27b51

Browse files
Fix typos
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
1 parent b6ed037 commit dc27b51

File tree

42 files changed

+68
-69
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+68
-69
lines changed

access/src/main/java/org/springframework/security/messaging/access/expression/EvaluationContextPostProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ interface EvaluationContextPostProcessor<I> {
3939
* that was passed in.
4040
* @param context the original {@link EvaluationContext}
4141
* @param invocation the security invocation object (i.e. Message)
42-
* @return the upated context.
42+
* @return the updated context.
4343
*/
4444
EvaluationContext postProcess(EvaluationContext context, I invocation);
4545

acl/src/main/java/org/springframework/security/acls/domain/AclAuthorizationStrategy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
/**
2222
* Strategy used by {@link AclImpl} to determine whether a principal is permitted to call
23-
* adminstrative methods on the <code>AclImpl</code>.
23+
* administrative methods on the <code>AclImpl</code>.
2424
*
2525
* @author Ben Alex
2626
*/

acl/src/main/java/org/springframework/security/acls/domain/GrantedAuthoritySid.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public GrantedAuthoritySid(String grantedAuthority) {
4242
public GrantedAuthoritySid(GrantedAuthority grantedAuthority) {
4343
Assert.notNull(grantedAuthority, "GrantedAuthority required");
4444
Assert.notNull(grantedAuthority.getAuthority(),
45-
"This Sid is only compatible with GrantedAuthoritys that provide a non-null getAuthority()");
45+
"This Sid is only compatible with GrantedAuthority that provide a non-null getAuthority()");
4646
this.grantedAuthority = grantedAuthority.getAuthority();
4747
}
4848

acl/src/main/java/org/springframework/security/acls/jdbc/JdbcAclService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ public void setAclClassIdSupported(boolean aclClassIdSupported) {
160160
this.findChildrenSql = DEFAULT_SELECT_ACL_WITH_PARENT_SQL_WITH_CLASS_ID_TYPE;
161161
}
162162
else {
163-
log.debug("Find children statement has already been overridden, so not overridding the default");
163+
log.debug("Find children statement has already been overridden, so not overriding the default");
164164
}
165165
}
166166
}

acl/src/main/java/org/springframework/security/acls/jdbc/JdbcMutableAclService.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
* The default settings are for HSQLDB. If you are using a different database you will
5151
* probably need to set the {@link #setSidIdentityQuery(String) sidIdentityQuery} and
5252
* {@link #setClassIdentityQuery(String) classIdentityQuery} properties appropriately. The
53-
* other queries, SQL inserts and updates can also be customized to accomodate schema
53+
* other queries, SQL inserts and updates can also be customized to accommodate schema
5454
* variations, but must produce results consistent with those expected by the defaults.
5555
* <p>
5656
* See the appendix of the Spring Security reference manual for more information on the
@@ -471,7 +471,7 @@ public void setAclClassIdSupported(boolean aclClassIdSupported) {
471471
this.insertClass = DEFAULT_INSERT_INTO_ACL_CLASS_WITH_ID;
472472
}
473473
else {
474-
log.debug("Insert class statement has already been overridden, so not overridding the default");
474+
log.debug("Insert class statement has already been overridden, so not overriding the default");
475475
}
476476
}
477477
}

cas/src/main/java/org/springframework/security/cas/web/CasAuthenticationFilter.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ public final void setAuthenticationFailureHandler(AuthenticationFailureHandler f
326326
/**
327327
* Use this {@code RequestMatcher} to match proxy receptor requests. Without setting
328328
* this matcher, {@link CasAuthenticationFilter} will not capture any proxy receptor
329-
* requets.
329+
* requests.
330330
* @param proxyReceptorMatcher the {@link RequestMatcher} to use
331331
* @since 6.5
332332
*/
@@ -383,7 +383,7 @@ public final void setRequestCache(RequestCache requestCache) {
383383
}
384384

385385
/**
386-
* Indicates if the request is elgible to process a service ticket. This method exists
386+
* Indicates if the request is eligible to process a service ticket. This method exists
387387
* for readability.
388388
* @param request
389389
* @param response
@@ -396,7 +396,7 @@ private boolean serviceTicketRequest(HttpServletRequest request, HttpServletResp
396396
}
397397

398398
/**
399-
* Indicates if the request is elgible to process a proxy ticket.
399+
* Indicates if the request is eligible to process a proxy ticket.
400400
* @param request
401401
* @return
402402
*/
@@ -419,7 +419,7 @@ private boolean authenticated() {
419419
}
420420

421421
/**
422-
* Indicates if the request is elgible to be processed as the proxy receptor.
422+
* Indicates if the request is eligible to be processed as the proxy receptor.
423423
* @param request
424424
* @return
425425
*/

config/src/main/java/org/springframework/security/config/annotation/AbstractConfiguredSecurityBuilder.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ public <C> void setSharedObject(Class<C> sharedType, C object) {
177177
}
178178

179179
/**
180-
* Gets a shared Object. Note that object heirarchies are not considered.
180+
* Gets a shared Object. Note that object hierarchies are not considered.
181181
* @param sharedType the type of the shared Object
182182
* @return the shared Object or null if it is not found
183183
*/
@@ -360,7 +360,7 @@ protected void beforeConfigure() {
360360

361361
/**
362362
* Subclasses must implement this method to build the object that is being returned.
363-
* @return the Object to be buit or null if the implementation allows it
363+
* @return the Object to be built or null if the implementation allows it
364364
*/
365365
protected abstract O performBuild();
366366

@@ -414,12 +414,12 @@ private boolean isUnbuilt() {
414414
private enum BuildState {
415415

416416
/**
417-
* This is the state before the {@link Builder#build()} is invoked
417+
* This is the state before the {@link SecurityBuilder#build()} is invoked
418418
*/
419419
UNBUILT(0),
420420

421421
/**
422-
* The state from when {@link Builder#build()} is first invoked until all the
422+
* The state from when {@link SecurityBuilder#build()} is first invoked until all the
423423
* {@link SecurityConfigurer#init(SecurityBuilder)} methods have been invoked.
424424
*/
425425
INITIALIZING(1),

config/src/main/java/org/springframework/security/config/annotation/web/HttpSecurityBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public interface HttpSecurityBuilder<H extends HttpSecurityBuilder<H>>
8282
<C> void setSharedObject(Class<C> sharedType, C object);
8383

8484
/**
85-
* Gets a shared Object. Note that object heirarchies are not considered.
85+
* Gets a shared Object. Note that object hierarchies are not considered.
8686
* @param sharedType the type of the shared Object
8787
* @return the shared Object or null if it is not found
8888
*/

config/src/main/java/org/springframework/security/config/annotation/web/builders/FilterOrderRegistration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ final class FilterOrderRegistration {
133133
/**
134134
* Register a {@link Filter} with its specific position. If the {@link Filter} was
135135
* already registered before, the position previously defined is not going to be
136-
* overriden
136+
* overridden
137137
* @param filter the {@link Filter} to register
138138
* @param position the position to associate with the {@link Filter}
139139
*/

config/src/main/java/org/springframework/security/config/annotation/web/configurers/LogoutConfigurer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ boolean isCustomLogoutSuccess() {
305305
}
306306

307307
/**
308-
* Gets the logoutSuccesUrl or null if a
308+
* Gets the logoutSuccessUrl or null if a
309309
* {@link #logoutSuccessHandler(LogoutSuccessHandler)} was configured.
310310
* @return the logoutSuccessUrl
311311
*/

0 commit comments

Comments
 (0)