if no alg is explicitly set, use the default from the signer

pull/730/head
Justin Richer 2014-10-23 22:08:32 -04:00
parent a59fe0604e
commit 3f5e2acfeb
1 changed files with 4 additions and 0 deletions

View File

@ -342,6 +342,10 @@ public class OIDCAuthenticationFilter extends AbstractAuthenticationProcessingFi
// needs to be wired in to the bean
signer = authenticationSignerService;
if (alg == null) {
alg = authenticationSignerService.getDefaultSigningAlgorithm();
}
}
if (signer == null) {