Skip to content

Commit dbe2ef8

Browse files
heowcjzheaux
authored andcommitted
Fix typo
Closes gh-10276
1 parent a15eb7e commit dbe2ef8

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

core/src/main/java/org/springframework/security/authentication/jaas/AbstractJaasAuthenticationProvider.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2016 the original author or authors.
2+
* Copyright 2010-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -287,7 +287,7 @@ public void onApplicationEvent(SessionDestroyedEvent event) {
287287
* subclasses for different functionality
288288
*
289289
* @param token The authentication token being processed
290-
* @param ase The excetion that caused the authentication failure
290+
* @param ase The exception that caused the authentication failure
291291
*/
292292
protected void publishFailureEvent(UsernamePasswordAuthenticationToken token,
293293
AuthenticationException ase) {

core/src/main/java/org/springframework/security/authentication/jaas/JaasAuthenticationProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ private String convertLoginConfigToUrl() throws IOException {
247247
* subclasses for different functionality
248248
*
249249
* @param token The authentication token being processed
250-
* @param ase The excetion that caused the authentication failure
250+
* @param ase The exception that caused the authentication failure
251251
*/
252252
@Override
253253
protected void publishFailureEvent(UsernamePasswordAuthenticationToken token,

crypto/src/test/java/org/springframework/security/crypto/password/DelegatingPasswordEncoderTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2017 the original author or authors.
2+
* Copyright 2002-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -135,7 +135,7 @@ public void matchesWhenUnMappedThenIllegalArgumentException() {
135135
}
136136

137137
@Test
138-
public void matchesWhenNoClosingPrefixStringThenIllegalArgumentExcetion() {
138+
public void matchesWhenNoClosingPrefixStringThenIllegalArgumentException() {
139139
assertThatThrownBy(() -> this.passwordEncoder.matches(this.rawPassword, "{bcrypt" + this.rawPassword))
140140
.isInstanceOf(IllegalArgumentException.class)
141141
.hasMessage("There is no PasswordEncoder mapped for the id \"null\"");

0 commit comments

Comments
 (0)