Created
September 11, 2012 17:10
-
-
Save tekener/3699894 to your computer and use it in GitHub Desktop.
Ensure that Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files are installed using maven-enforcer-plugin
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
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-enforcer-plugin</artifactId> | |
<version>1.1.1</version> | |
<executions> | |
<execution> | |
<id>enforce</id> | |
<configuration> | |
<rules> | |
<evaluateBeanshell> | |
<condition>javax.crypto.Cipher.getMaxAllowedKeyLength("AES") > 128</condition> | |
</evaluateBeanshell> | |
</rules> | |
</configuration> | |
<goals> | |
<goal>enforce</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment