Re: [Dev] Can we configure additional SSL configurations in NIOSSL Listener/Sender

2013-06-13 Thread Asela Pathberiya
Thanks...  Actually i was looking for following whether protocol
(TLS) that is passed to SSLContext is configurable via axis2.xml.. i
guess not.

SSLContext sslcontext = SSLContext.getInstance(TLS);

Thanks,
Asela.


On Thu, Jun 13, 2013 at 10:25 AM, Jeewantha Dharmaparakrama 
jeewan...@wso2.com wrote:

 Hi Asela,

 We can add new configurations to it. I guess this answers your question.

 See how the parameters HostNameVerifier and
 CertificateRevocationVerifire are used in[1]

 final Parameter hvp = transportOut.getParameter(HostnameVerifier);
 final String hvs = hvp != null ? hvp.getValue().toString() : null;
 final Parameter cvp = 
 transportOut.getParameter(CertificateRevocationVerifier);
 final String cvs = cvp != null ? cvp.getValue().toString() : null;

 [1]
 https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.1.0/dependencies/synapse/2.1.1-wso2v6/modules/transports/core/nhttp/src/main/java/org/apache/synapse/transport/nhttp/config/ClientConnFactoryBuilder.java

 Jeewantha


 On Wed, Jun 12, 2013 at 7:42 PM, Asela Pathberiya as...@wso2.com wrote:


 Hi All,

 According to the NIOSSL listener/sender configuration in axis2.xml, we
 are supporting some parameters to configure. Are  these only configurations
 that are supported by implementations?  Or  Can not we add new
 configurations to it?  (such as sslProtocol that is supported by tomcat
 config)

 --
 Thanks  Regards,
 Asela

 Mobile : +94 777 625 933




 --
 Jeewantha Dharmaparakrama
 Software Engineer; WSO2, Inc.; http://wso2.com/
 Phone : (+94) 774726790
 Skype : prasad.jeewantha
 LinkedIn : http://www.linkedin.com/in/jeewanthad
 Twitter: https://twitter.com/jeewamp
 Blog: http://jeewanthad.blogspot.com/




-- 
Thanks  Regards,
Asela

Mobile : +94 777 625 933
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Can we configure additional SSL configurations in NIOSSL Listener/Sender

2013-06-12 Thread Asela Pathberiya
Hi All,

According to the NIOSSL listener/sender configuration in axis2.xml, we are
supporting some parameters to configure. Are  these only configurations
that are supported by implementations?  Or  Can not we add new
configurations to it?  (such as sslProtocol that is supported by tomcat
config)

-- 
Thanks  Regards,
Asela

Mobile : +94 777 625 933
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Can we configure additional SSL configurations in NIOSSL Listener/Sender

2013-06-12 Thread Jeewantha Dharmaparakrama
Hi Asela,

We can add new configurations to it. I guess this answers your question.

See how the parameters HostNameVerifier and
CertificateRevocationVerifire are used in[1]

final Parameter hvp = transportOut.getParameter(HostnameVerifier);
final String hvs = hvp != null ? hvp.getValue().toString() : null;
final Parameter cvp =
transportOut.getParameter(CertificateRevocationVerifier);
final String cvs = cvp != null ? cvp.getValue().toString() : null;

[1]
https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.1.0/dependencies/synapse/2.1.1-wso2v6/modules/transports/core/nhttp/src/main/java/org/apache/synapse/transport/nhttp/config/ClientConnFactoryBuilder.java

Jeewantha


On Wed, Jun 12, 2013 at 7:42 PM, Asela Pathberiya as...@wso2.com wrote:


 Hi All,

 According to the NIOSSL listener/sender configuration in axis2.xml, we are
 supporting some parameters to configure. Are  these only configurations
 that are supported by implementations?  Or  Can not we add new
 configurations to it?  (such as sslProtocol that is supported by tomcat
 config)

 --
 Thanks  Regards,
 Asela

 Mobile : +94 777 625 933




-- 
Jeewantha Dharmaparakrama
Software Engineer; WSO2, Inc.; http://wso2.com/
Phone : (+94) 774726790
Skype : prasad.jeewantha
LinkedIn : http://www.linkedin.com/in/jeewanthad
Twitter: https://twitter.com/jeewamp
Blog: http://jeewanthad.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev