mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-29 07:12:32 +00:00
Correct screwy formatting.
This commit is contained in:
parent
3977e3b822
commit
9b5aa159aa
@ -97,8 +97,8 @@ public class X509AuthenticationProvider implements AuthenticationProvider,
|
|||||||
logger.debug("X509 authentication request: " + authentication);
|
logger.debug("X509 authentication request: " + authentication);
|
||||||
}
|
}
|
||||||
|
|
||||||
X509Certificate clientCertificate = (X509Certificate) authentication
|
X509Certificate clientCertificate =
|
||||||
.getCredentials();
|
(X509Certificate) authentication.getCredentials();
|
||||||
|
|
||||||
if (clientCertificate == null) {
|
if (clientCertificate == null) {
|
||||||
throw new BadCredentialsException(messages.getMessage(
|
throw new BadCredentialsException(messages.getMessage(
|
||||||
@ -135,4 +135,4 @@ public class X509AuthenticationProvider implements AuthenticationProvider,
|
|||||||
public boolean supports(Class authentication) {
|
public boolean supports(Class authentication) {
|
||||||
return X509AuthenticationToken.class.isAssignableFrom(authentication);
|
return X509AuthenticationToken.class.isAssignableFrom(authentication);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user