Last active
January 29, 2018 10:27
-
-
Save sw-samuraj/742c408960d655bf4794b0015ba284fb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class SamlBootstrapSha256 extends SAMLBootstrap { | |
@Override | |
public void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) | |
throws BeansException { | |
super.postProcessBeanFactory(beanFactory); | |
BasicSecurityConfiguration config = | |
(BasicSecurityConfiguration) Configuration.getGlobalSecurityConfiguration(); | |
config.registerSignatureAlgorithmURI( | |
"RSA", "http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment