@ -189,13 +189,9 @@ public class JaasAuthenticationProvider implements AuthenticationProvider, Appli
@@ -189,13 +189,9 @@ public class JaasAuthenticationProvider implements AuthenticationProvider, Appli
//Attempt to login the user, the LoginContext will call our InternalCallbackHandler at this point.
loginContext.login();
//create a set to hold the authorities, and add any that have already been applied.
@ -138,13 +138,7 @@ public class JaasAuthenticationProviderTests extends TestCase {
@@ -138,13 +138,7 @@ public class JaasAuthenticationProviderTests extends TestCase {
@ -161,10 +155,6 @@ public class JaasAuthenticationProviderTests extends TestCase {
@@ -161,10 +155,6 @@ public class JaasAuthenticationProviderTests extends TestCase {
assertTrue("GrantedAuthorities should contain ROLE_TEST2",list.contains(newGrantedAuthorityImpl("ROLE_TEST2")));
assertTrue("GrantedAuthorities should contain ROLE_1",list.contains(role1));
assertTrue("GrantedAuthorities should contain ROLE_2",list.contains(role2));