Add convenience method so subclasses can specify Authentication.setDetails().

This commit is contained in:
Ben Alex
2004-10-30 01:19:22 +00:00
parent 96cd353266
commit 73349bf8f8
3 changed files with 17 additions and 0 deletions

View File

@@ -72,6 +72,7 @@ public class AuthenticationProcessingFilterTests extends TestCase {
Authentication result = filter.attemptAuthentication(request);
assertTrue(result != null);
assertEquals("127.0.0.1", result.getDetails());
}
public void testNullPasswordHandledGracefully() throws Exception {