Polish ForwardAuthenticationFailureHandler

* Whitespace cleanup
* Add @since

Issue gh-3727
This commit is contained in:
Rob Winch
2016-03-09 10:12:45 -06:00
parent 7341da9320
commit e61bc7e93b
2 changed files with 5 additions and 6 deletions

View File

@@ -30,7 +30,7 @@ import static org.mockito.Mockito.mock;
* </p>
*
* @author Shazin Sadakath
*
* @since4.1
*/
public class ForwardAuthenticationFailureHandlerTests {
@@ -55,6 +55,6 @@ public class ForwardAuthenticationFailureHandlerTests {
fafh.onAuthenticationFailure(request, response, e);
assertThat(response.getForwardedUrl()).isEqualTo("/forwardUrl");
assertThat(request.getAttribute(WebAttributes.AUTHENTICATION_EXCEPTION)).isEqualTo(e);
assertThat(request.getAttribute(WebAttributes.AUTHENTICATION_EXCEPTION)).isEqualTo(e);
}
}