Skip to content

Commit

Permalink
Support EC keys for signing in the SAML SSO module
Browse files Browse the repository at this point in the history
  • Loading branch information
coheigea committed Aug 10, 2017
1 parent 13230e2 commit 8e73cd8
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ public void init() {
if (pubKeyAlgo.equalsIgnoreCase("DSA")) {
sigAlgo = SignatureConstants.ALGO_ID_SIGNATURE_DSA_SHA1;
jceSigAlgo = "SHA1withDSA";
} else if (pubKeyAlgo.equalsIgnoreCase("EC")) {
sigAlgo = SignatureConstants.ALGO_ID_SIGNATURE_ECDSA_SHA1;
jceSigAlgo = "SHA1withECDSA";
}

callbackHandler = new SAMLSPCallbackHandler(loader.getKeyPass());
Expand Down

0 comments on commit 8e73cd8

Please sign in to comment.