From 6ad176ce1adfb8c25f2789b2db1de0a66f97ab9e Mon Sep 17 00:00:00 2001 From: Luke Taylor Date: Fri, 7 Dec 2007 17:00:40 +0000 Subject: [PATCH] Tidying. --- .../security/AbstractAuthenticationManager.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/core/src/main/java/org/springframework/security/AbstractAuthenticationManager.java b/core/src/main/java/org/springframework/security/AbstractAuthenticationManager.java index 30186daf54..fe0a4a17b8 100644 --- a/core/src/main/java/org/springframework/security/AbstractAuthenticationManager.java +++ b/core/src/main/java/org/springframework/security/AbstractAuthenticationManager.java @@ -37,8 +37,7 @@ public abstract class AbstractAuthenticationManager implements AuthenticationMan * * @throws AuthenticationException if authentication fails */ - public final Authentication authenticate(Authentication authRequest) - throws AuthenticationException { + public final Authentication authenticate(Authentication authRequest) throws AuthenticationException { try { return doAuthentication(authRequest); } catch (AuthenticationException e) { @@ -51,7 +50,7 @@ public abstract class AbstractAuthenticationManager implements AuthenticationMan * Concrete implementations of this class override this method to provide the authentication service. *

* The contract for this method is documented in the - * {@link AuthenticationManager#authenticate(org.springframework.security.Authentication)}. + * {@link AuthenticationManager#authenticate(Authentication)}. * * @param authentication the authentication request object * @@ -59,6 +58,5 @@ public abstract class AbstractAuthenticationManager implements AuthenticationMan * * @throws AuthenticationException if authentication fails */ - protected abstract Authentication doAuthentication(Authentication authentication) - throws AuthenticationException; + protected abstract Authentication doAuthentication(Authentication authentication) throws AuthenticationException; }