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
package mypackage; | |
import org.infinispan.config.ConfigurationException; | |
import org.infinispan.configuration.cache.ConfigurationBuilder; | |
import org.infinispan.configuration.global.GlobalConfigurationBuilder; | |
import org.infinispan.configuration.parsing.ConfigurationBuilderHolder; | |
import org.infinispan.configuration.parsing.ParserRegistry; | |
import org.infinispan.manager.DefaultCacheManager; | |
import org.infinispan.manager.EmbeddedCacheManager; | |
import org.infinispan.spring.provider.SpringEmbeddedCacheManagerFactoryBean; |
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
package mypackage; | |
import org.apache.commons.lang.StringUtils; | |
import org.infinispan.remoting.transport.jgroups.JGroupsChannelLookup; | |
import org.jgroups.Channel; | |
import org.jgroups.JChannel; | |
import org.jgroups.conf.ConfiguratorFactory; | |
import org.jgroups.conf.ProtocolConfiguration; | |
import org.jgroups.conf.ProtocolStackConfigurator; | |
import org.slf4j.Logger; |
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
<bean id="infinispan" class="mypackage.MySpringEmbeddedCacheManagerFactoryBean" | |
p:configurationFileLocation="classpath:infinispan-spring.xml" | |
p:clusterName="${cluster.name}" | |
p:transportClass="org.infinispan.remoting.transport.jgroups.JGroupsTransport"> | |
<property name="transportProperties"> | |
<props> | |
<prop key="channelLookup">mypackage.JGroupsChannelLookupImpl</prop> | |
<prop key="lookupConfigurationFile">jgroups.xml</prop> | |
<prop key="jgroups.tcp.bind_addr">${cluster.bind_addr}</prop> | |
<prop key="jgroups.tcp.bind_port">${cluster.bind_port}</prop> |
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
"https-catalina-exec-1" - Thread t@179 | |
java.lang.Thread.State: BLOCKED | |
at com.sun.jna.Native.getStructureAlignment(Native.java:498) | |
- waiting to lock <dbf376> (a java.util.WeakHashMap) owned by "https-catalina-exec-31" t@209 | |
at com.sun.jna.Structure.setAlignType(Structure.java:260) | |
at com.sun.jna.Structure.<init>(Structure.java:184) | |
at com.sun.jna.Structure.<init>(Structure.java:180) | |
at com.sun.jna.Structure.<init>(Structure.java:167) | |
at com.sun.jna.Structure.<init>(Structure.java:159) | |
at com.sun.jna.platform.win32.WinNT$PSID.<init>(WinNT.java:333) |
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
Thread[http-80-2,5,main] | |
ERROR: AmFilter: a server error occurred. | |
[AgentException Stack] | |
com.sun.identity.agents.arch.AgentServerErrorException: No URL is available at this time | |
at com.sun.identity.agents.common.URLFailoverHelper.getAvailableURL(URLFailoverHelper.java:126) | |
at com.sun.identity.agents.filter.AmFilterRequestContext.getLoginURL(AmFilterRequestContext.java:832) | |
at com.sun.identity.agents.filter.AmFilterRequestContext.getAuthRedirectURL(AmFilterRequestContext.java:291) |
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
#!/bin/sh | |
# | |
# /etc/init.d/tomcat -- startup script for the Tomcat 7 servlet engine | |
# | |
# Modified init-Script from Ubuntu Tomcat init-script | |
# | |
# 2010 - Sebastian Mogilowski - http://www.mogilowski.net/2010/12/11/install-tomcat-7-on-debian-lenny-with-virtual-hosts-and-apache2-integration/ | |
# 2012 - Collin Peters - Added debug option | |
# | |
### BEGIN INIT INFO |
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
import java.util.Iterator; | |
import java.util.Map; | |
import java.util.TreeMap; | |
import javax.net.ssl.SSLServerSocketFactory; | |
/* | |
* Source from Christopher Schultz | |
* @see http://markmail.org/message/zn4namfhypyxum23 | |
*/ | |
public class SSLInfo |
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
Default Cipher | |
SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA | |
* SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA | |
SSL_DHE_DSS_WITH_DES_CBC_SHA | |
SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA | |
* SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA | |
SSL_DHE_RSA_WITH_DES_CBC_SHA | |
SSL_DH_anon_EXPORT_WITH_DES40_CBC_SHA | |
SSL_DH_anon_EXPORT_WITH_RC4_40_MD5 | |
SSL_DH_anon_WITH_3DES_EDE_CBC_SHA |
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
<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true" | |
maxThreads="150" scheme="https" secure="true" | |
clientAuth="false" sslProtocol="TLS" keystoreFile="conf/keystore.jks" keystorePass="changeit" | |
ciphers="TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, | |
TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,TLS_ECDHE_RSA_WITH_RC4_128_SHA, | |
TLS_RSA_WITH_AES_128_CBC_SHA256,TLS_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_AES_256_CBC_SHA256, | |
TLS_RSA_WITH_AES_256_CBC_SHA,SSL_RSA_WITH_RC4_128_SHA" /> |
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
diff -ru tomcat-native-1.1.29-src.orig/jni/native/src/sslcontext.c tomcat-native-1.1.29-src/jni/native/src/sslcontext.c | |
--- tomcat-native-1.1.29-src.orig/jni/native/src/sslcontext.c 2013-02-05 14:49:48.000000000 +0100 | |
+++ tomcat-native-1.1.29-src/jni/native/src/sslcontext.c 2014-02-04 23:03:29.000000000 +0100 | |
@@ -151,6 +151,11 @@ | |
(unsigned long)((sizeof SSL_DEFAULT_VHOST_NAME) - 1), | |
&(c->context_id[0]), NULL, EVP_sha1(), NULL); | |
if (mode) { | |
+ /* Set default (nistp256) elliptic curve for ephemeral ECDH keys */ | |
+ EC_KEY *ecdh = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1); | |
+ SSL_CTX_set_tmp_ecdh(c->ctx, ecdh); |
OlderNewer