[ 
https://wso2.org/jira/browse/ESBJAVA-493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17746#action_17746
 ] 

jdholmes1978 edited comment on ESBJAVA-493 at 6/25/08 12:56 PM:
-------------------------------------------------------------------

Indika,

I've attached the changes I've  made in order to for this to work.  Hope this 
helps.  This not only enables you to call into PKI enabled endpoint via the 
admin console but also allows you to create your own transports that do the 
same.

Thanks,
J

************************************************
JAR: synapse-core
************************************************

Modified:------------------------------------------

Package: org.apache.synapse.config.*
        Class: SynapseConfigUtils
                Method: public static OMElement getOMElementFromURL(String 
urlStr)
                Added:  public static OMElement 
getOMElementFromURL(ProxyService proxyService, String urlStr)

Package: org.apache.synapse.core.axis2.*
        Class: ProxyService
                Method: public AxisService 
buildAxisService(SynapseConfiguration synCfg, AxisConfiguration axisCfg)
                Added:  Added "this" to: OMNode node = 
SynapseConfigUtils.getOMElementFromURL(this, url.toString());
                Added:  enablePublishWSDLSafeMode
                        Description:    This was added to allow the ESB to keep 
loading if a wsdl was not able to be loaded... Still 

needs some work and probably needs to be on a timer to try reloading it.


End Modified:--------------------------------------
Added: --------------------------------------------

Package: org.apache.synapse.protocal.*
        Class: HTTPSSocketFactory

Package: org.apache.synapse.security.*
        Class: CryptoUtility -- Not being used yet.
        Class: CertificateStoreUtility

Package: org.apache.synapse.security.keystore.*
        Class: CACertsLoader
        Class: JKSKeyStoreLoader
        Class: PKCS12KeyStoreLoader
        Class: PKCS8KeyStoreLoader

Package: org.apache.synapse.security.enumeration.*
        Enum: KeyStoreType
        Enum: TrustStoreType

Package: org.apache.synapse.security.interfaces.*
        Interface: ICACertsLoader
        Interface: ICertificateStoreUtility
        Interface: IKeyStoreLoader

Package: org.apache.synapse.entities.*
        Class: CertificateInformation

Package: org.apache.synapse.entities.interfaces.*
        Interface: ICertificateInformation

End Added: ----------------------------------------

      was (Author: jdholmes1978):
    Indika,

I've attached the changes I've  made in order to for this to work.  Hope this 
helps.


************************************************
JAR: synapse-core
************************************************

Modified:------------------------------------------

Package: org.apache.synapse.config.*
        Class: SynapseConfigUtils
                Method: public static OMElement getOMElementFromURL(String 
urlStr)
                Added:  public static OMElement 
getOMElementFromURL(ProxyService proxyService, String urlStr)

Package: org.apache.synapse.core.axis2.*
        Class: ProxyService
                Method: public AxisService 
buildAxisService(SynapseConfiguration synCfg, AxisConfiguration axisCfg)
                Added:  Added "this" to: OMNode node = 
SynapseConfigUtils.getOMElementFromURL(this, url.toString());
                Added:  enablePublishWSDLSafeMode
                        Description:    This was added to allow the ESB to keep 
loading if a wsdl was not able to be loaded... Still 

needs some work and probably needs to be on a timer to try reloading it.


End Modified:--------------------------------------
Added: --------------------------------------------

Package: org.apache.synapse.protocal.*
        Class: HTTPSSocketFactory

Package: org.apache.synapse.security.*
        Class: CryptoUtility -- Not being used yet.
        Class: CertificateStoreUtility

Package: org.apache.synapse.security.keystore.*
        Class: CACertsLoader
        Class: JKSKeyStoreLoader
        Class: PKCS12KeyStoreLoader
        Class: PKCS8KeyStoreLoader

Package: org.apache.synapse.security.enumeration.*
        Enum: KeyStoreType
        Enum: TrustStoreType

Package: org.apache.synapse.security.interfaces.*
        Interface: ICACertsLoader
        Interface: ICertificateStoreUtility
        Interface: IKeyStoreLoader

Package: org.apache.synapse.entities.*
        Class: CertificateInformation

Package: org.apache.synapse.entities.interfaces.*
        Interface: ICertificateInformation

End Added: ----------------------------------------
  
> Reference PKI enabled endpoints in the Admin console
> ----------------------------------------------------
>
>                 Key: ESBJAVA-493
>                 URL: https://wso2.org/jira/browse/ESBJAVA-493
>             Project: WSO2 ESB
>          Issue Type: Improvement
>          Components: Administration Console
>            Reporter: Jonathan Holmes
>            Assignee: indika kumara
>             Fix For: FUTURE
>
>         Attachments: Enable ESB PKI Certificates.zip
>
>
> When referencing a PKI enabled published WSDL via the Source URL I get the 
> same exception as http://wso2.org/forum/thread/3377.  From the research I've 
> done and read it appears to do this because the Admin console is using the 
> default KeyStore that comes with the JRE and it does a simple URLConnection.
> This thread talks to this issue: http://wso2.org/forum/thread/3621 and has 
> sample code on a resolution.
> The key requirement would be to enable different KeyStores per WSDL reference.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
Esb-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev

Reply via email to