File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
example/src/main/java/eu/webeid/example/security Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -76,11 +76,10 @@ public Authentication authenticate(Authentication auth) throws AuthenticationExc
7676 try {
7777 final String nonce = challengeNonceStore .getAndRemove ().getBase64EncodedNonce ();
7878 final X509Certificate userCertificate = tokenValidator .validate (authToken , nonce );
79- boolean isV11 = authToken .getFormat () != null && authToken .getFormat ().startsWith ("web-eid:1.1" );
80- final String signingCertificate = (requireSigningCert && isV11 )
79+ final String signingCertificate = requireSigningCert
8180 ? authToken .getUnverifiedSigningCertificate ()
8281 : null ;
83- final List <SupportedSignatureAlgorithm > supportedSignatureAlgorithms = ( requireSigningCert && isV11 )
82+ final List <SupportedSignatureAlgorithm > supportedSignatureAlgorithms = requireSigningCert
8483 ? authToken .getSupportedSignatureAlgorithms ()
8584 : null ;
8685
You can’t perform that action at this time.
0 commit comments