Add convenience method so subclasses can specify Authentication.setDetails().
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user