spring-attic / spring-security-saml

SAML extension for the Spring Security project
Other
419 stars 482 forks source link

Fix NPE caused by null passphrase in SamlKeyStoreProvider #412

Closed george-haddad closed 5 years ago

george-haddad commented 5 years ago

This PR fixes the NullPointerException that occurs when omitting the passphrase in the application.yml file. The workaround was to declare the passphrase with an empty String and thus the solution is to detect the null passphrase and use an empty String internally.

This PR references issue #397

pivotal-issuemaster commented 5 years ago

@george-haddad Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

pivotal-issuemaster commented 5 years ago

@george-haddad Thank you for signing the Contributor License Agreement!