= System.getProperty("user.home") + "/.keystore";
private static final int defaultSessionCacheSize = 0;
private static final int defaultSessionTimeout = 86400;
+ private static final String ALLOW_ALL_SUPPORTED_CIPHERS = "ALL";
public static final String DEFAULT_KEY_PASS = "changeit";
static final org.apache.juli.logging.Log log =
String[] result = null;
+ if (ALLOW_ALL_SUPPORTED_CIPHERS.equals(requestedCiphers)) {
+ return supportedCiphers;
+ }
+
if (requestedCiphers != null) {
Vector<String> vec = null;
String cipher = requestedCiphers;
allowed to use. By default, the default ciphers for the JVM will be used.
Note that this usually means that the weak export grade ciphers will be
included in the list of available ciphers. The ciphers are specified using
- the JSSE cipher naming convention.</p>
+ the JSSE cipher naming convention. The special value of <code>ALL</code>
+ will enable all supported ciphers. This will include many that are not
+ secure. <code>ALL</code> is intended for testing purposes only.</p>
</attribute>
<attribute name="keyAlias" required="false">