mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-05-31 17:22:13 +00:00
Fix typo
This commit is contained in:
parent
860690491a
commit
7b73b94198
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2010-2016 the original author or authors.
|
* Copyright 2010-2021 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
@ -266,7 +266,7 @@ public abstract class AbstractJaasAuthenticationProvider implements Authenticati
|
|||||||
* Publishes the {@link JaasAuthenticationFailedEvent}. Can be overridden by
|
* Publishes the {@link JaasAuthenticationFailedEvent}. Can be overridden by
|
||||||
* subclasses for different functionality
|
* subclasses for different functionality
|
||||||
* @param token The authentication token being processed
|
* @param token The authentication token being processed
|
||||||
* @param ase The excetion that caused the authentication failure
|
* @param ase The exception that caused the authentication failure
|
||||||
*/
|
*/
|
||||||
protected void publishFailureEvent(UsernamePasswordAuthenticationToken token, AuthenticationException ase) {
|
protected void publishFailureEvent(UsernamePasswordAuthenticationToken token, AuthenticationException ase) {
|
||||||
if (this.applicationEventPublisher != null) {
|
if (this.applicationEventPublisher != null) {
|
||||||
|
@ -224,7 +224,7 @@ public class JaasAuthenticationProvider extends AbstractJaasAuthenticationProvid
|
|||||||
* Publishes the {@link JaasAuthenticationFailedEvent}. Can be overridden by
|
* Publishes the {@link JaasAuthenticationFailedEvent}. Can be overridden by
|
||||||
* subclasses for different functionality
|
* subclasses for different functionality
|
||||||
* @param token The authentication token being processed
|
* @param token The authentication token being processed
|
||||||
* @param ase The excetion that caused the authentication failure
|
* @param ase The exception that caused the authentication failure
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
protected void publishFailureEvent(UsernamePasswordAuthenticationToken token, AuthenticationException ase) {
|
protected void publishFailureEvent(UsernamePasswordAuthenticationToken token, AuthenticationException ase) {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2002-2017 the original author or authors.
|
* Copyright 2002-2021 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
@ -129,7 +129,7 @@ public class DelegatingPasswordEncoderTests {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void matchesWhenNoClosingPrefixStringThenIllegalArgumentExcetion() {
|
public void matchesWhenNoClosingPrefixStringThenIllegalArgumentException() {
|
||||||
assertThatIllegalArgumentException()
|
assertThatIllegalArgumentException()
|
||||||
.isThrownBy(() -> this.passwordEncoder.matches(this.rawPassword, "{bcrypt" + this.rawPassword))
|
.isThrownBy(() -> this.passwordEncoder.matches(this.rawPassword, "{bcrypt" + this.rawPassword))
|
||||||
.withMessage("There is no PasswordEncoder mapped for the id \"null\"");
|
.withMessage("There is no PasswordEncoder mapped for the id \"null\"");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user