@ -28,6 +32,7 @@ public class X509AuthenticationProvider implements AuthenticationProvider,
@@ -28,6 +32,7 @@ public class X509AuthenticationProvider implements AuthenticationProvider,
@ -35,10 +40,13 @@ public class X509AuthenticationProvider implements AuthenticationProvider,
@@ -35,10 +40,13 @@ public class X509AuthenticationProvider implements AuthenticationProvider,
thrownewIllegalArgumentException("An X509AuthoritiesPopulator must be set");
}
Assert.notNull(userCache,"An x509UserCache must be set");
Assert.notNull(x509AuthoritiesPopulator,"An X509AuthoritiesPopulator must be set");
}
/**
@ -71,13 +79,15 @@ public class X509AuthenticationProvider implements AuthenticationProvider,
@@ -71,13 +79,15 @@ public class X509AuthenticationProvider implements AuthenticationProvider,
thrownewBadCredentialsException("Certificate is null.");