Re: [Dev] [ESB] Problem with samples.

2013-12-08 Thread Shafreen Anfar
Hi Chanaka, With all due respect, I tried the updated configuration in the wiki and it didn't work for me. Then I applied the provided patch and tried the scenario it didn't work either. Afterwards, I did some debugging to see what is exactly happening. When we refer the localentry within

Re: [Dev] IdP-Initiated SSO Support Added

2013-12-08 Thread Nisreen123
I am trying to Implement SSO using WSO2 as identity provider and IBM websphere application server as a service provider, the user will click a link in the service provider and then will get redirected to the Idp login page, with WSO2 I always get

Re: [Dev] IdP-Initiated SSO Support Added

2013-12-08 Thread Prabath Siriwardena
IdP initiated support is not in IS 4.5.0. You can test this with the 4.6.0 milestone build at https://svn.wso2.org/repos/wso2/scratch/IS-4.6.0/5-12-13-pack2/ Thanks regards, -Prabath On Sun, Dec 8, 2013 at 4:36 PM, Nisreen123 nisre...@sts.com.jo wrote: I am trying to Implement SSO using

[Dev] Hazelcast for tenant applications

2013-12-08 Thread Lahiru Sandaruwan
Hi Azeez and all, Do we have any plans(or is it already available) to make Hazelcast service available for tenant applications? i.e. If a tenant need to create applications which use Hazelcast, then can they use Hazelcast instance which is already there in the server? Thanks. -- -- Lahiru

Re: [Dev] exploring Wso2 Registry

2013-12-08 Thread Chanaka Fernando
In that case you can first look for the registry entry ( key) you are going to add in the existing registry with the help of the above mentioned code block. Then if it is not there, you can add that entry. Bottom line of what you are trying to achieve is some kind of search. This can be achieved

Re: [Dev] Hazelcast for tenant applications

2013-12-08 Thread Supun Malinga
Hi Lahiru, What are your requirements?. AFAIK you can use hz servers like caching from tenants as well. But that is a wrapped service from carbon layer. thanks, On Sun, Dec 8, 2013 at 6:10 PM, Lahiru Sandaruwan lahi...@wso2.com wrote: Hi Azeez and all, Do we have any plans(or is it already

Re: [Dev] Hazelcast for tenant applications

2013-12-08 Thread Afkham Azeez
We can't allow the tenant direct access to the Hazelcast instance. It will cause a serious security threat. They have to use the Caching API. On Sun, Dec 8, 2013 at 6:10 PM, Lahiru Sandaruwan lahi...@wso2.com wrote: Hi Azeez and all, Do we have any plans(or is it already available) to make

Re: [Dev] Commit required to kernel patch 4

2013-12-08 Thread Shani Ranasinghe
Hi Manoj, Please commit this. If you have not committed the above, the ignore the above and use this. On Thu, Dec 5, 2013 at 4:50 PM, Shani Ranasinghe sh...@wso2.com wrote: Hi, Please commit the attached patch file to Kernel the next patch (patch 4). Since patch 3 is about to be released,

Re: [Dev] OAuth validation extension point in WSO2 IS

2013-12-08 Thread Johann Nallathamby
Hi, This improvement has been added with r192746 and r192747. The DefaultOAuth2TokenValidator provides 3 hooks. - boolean validateAccessDelegation - boolean validateScope - boolean validateAccessToken All 3 methods simply return true by default. A practical OAuth2BearerTokenValidator should

[Dev] [ESB] Having problem with creating a secure client

2013-12-08 Thread Dimuthu Upeksha
Hi all, I am trying to implement a secure client to a secure proxy service in ESB. However I am getting an exception [2] at line [3]. I tried to capture packets going out from the client using tcpMon but I found nothing going out. It seems like a dependancy problem in the client but not sure. What

Re: [Dev] [ESB] Having problem with creating a secure client

2013-12-08 Thread Nirmal Fernando
Is this in client side? Caused by: java.lang.ClassNotFoundException: samples.userguide.PWCallback On Mon, Dec 9, 2013 at 9:43 AM, Dimuthu Upeksha dimut...@wso2.com wrote: Hi all, I am trying to implement a secure client to a secure proxy service in ESB. However I am getting an exception

Re: [Dev] [ESB] Having problem with creating a secure client

2013-12-08 Thread Dimuthu Upeksha
yes. Seems like I missed a library but I don't know correct one to import. On Mon, Dec 9, 2013 at 9:53 AM, Nirmal Fernando nir...@wso2.com wrote: Is this in client side? Caused by: java.lang.ClassNotFoundException: samples.userguide.PWCallback On Mon, Dec 9, 2013 at 9:43 AM, Dimuthu

Re: [Dev] [ESB] Having problem with creating a secure client

2013-12-08 Thread Jeewantha Dharmaparakrama
Hi Dimuthu, You have to set the password callback handler at client side. Try adding it to client's options [1] [1] http://wso2.com/library/3733/ Jeewantha On Mon, Dec 9, 2013 at 9:43 AM, Dimuthu Upeksha dimut...@wso2.com wrote: Hi all, I am trying to implement a secure client to a secure

Re: [Dev] [ESB] Having problem with creating a secure client

2013-12-08 Thread Dimuthu Upeksha
Hi Jeewantha, The class PasswordCallbackHandler can not be found in axis2 or rampart libs. What is the library that contains it? On Mon, Dec 9, 2013 at 10:00 AM, Jeewantha Dharmaparakrama jeewan...@wso2.com wrote: Hi Dimuthu, You have to set the password callback handler at client side. Try

[Dev] When will BPS and BRS be upgraded?

2013-12-08 Thread stevegyc
Hi : As we know, some components have updated based on carbon 4.2.0, such as ESB, AS, DSS. But I find that BPS and BRS have not been upgraded. Does anyone know when BPS and BRS will be upgraded? If BPS or BRS will not be upgraded in the near future, are they compatible with

[Dev] [ESB] Build failure in security client

2013-12-08 Thread Chamila Wijayarathna
Hello all, I created a secure proxy service to connect to a web service existing in localhost [1]. Then I generated pom.xml file to build a secure client to use the proxy service [2]. But when I try to build it using Maven, it gave me this failure message [3]. In original pom.xml which gave the

Re: [Dev] [ESB] Having problem with creating a secure client

2013-12-08 Thread Jeewantha Dharmaparakrama
You have to create that Implementing javax.security.auth.callback.CallbackHandler. See the example in the article. When WSS Policy is enabled ( I believe you enabled Username Token Policy at ESB proxy) , there has to be WSSecurity header in the SOAP request with Username and password. Rampart

Re: [Dev] Commit required to kernel patch 4

2013-12-08 Thread Manoj Kumara
Hi Shani, The patch you provided is not complete. Please follow the steps on [1]. [1] http://docs.wso2.org/display/Carbon420/Creating+a+Carbon+Kernel+Patch Thanks, Manoj Best Regards.. Manoj Kumara Software Engineer WSO2, Inc.; http://wso2.com Twitter: http://twitter.com/ManKuma Mobile:

Re: [Dev] [ESB] Having problem with creating a secure client

2013-12-08 Thread Samisa Abeysinghe
Don't we have a doc on this? Thanks, Samisa... Samisa Abeysinghe Vice President Training WSO2 Inc. http://wso2.com On Mon, Dec 9, 2013 at 10:16 AM, Jeewantha Dharmaparakrama jeewan...@wso2.com wrote: You have to create that Implementing javax.security.auth.callback.CallbackHandler. See

Re: [Dev] [ESB] Build failure in security client

2013-12-08 Thread Samisa Abeysinghe
Please send in the errors in the email itself. That way, it is easier to read. You need to learn to copy the correct parts of the error into the mail though :) Thanks, Samisa... Samisa Abeysinghe Vice President Training WSO2 Inc. http://wso2.com On Mon, Dec 9, 2013 at 10:09 AM, Chamila

Re: [Dev] [ESB] Having problem with creating a secure client

2013-12-08 Thread Dimuthu Upeksha
I did as in the article but still I'm getting the same exception. Then I added these libraries [1] to the classpath then new exception occurred [2]. [1] http://mavenhub.com/c/samples/userguide/pwcallback/jar [2] https://gist.github.com/DImuthuUpe/7867567 On Mon, Dec 9, 2013 at 10:16 AM,

Re: [Dev] [ESB] Build failure in security client

2013-12-08 Thread Chamila Wijayarathna
Sorry for the inconvenience, The error I am getting is, [ERROR] Failed to execute goal org.apache.axis2:axis2-wsdl2code-maven-plugin:1.6.1-wso2v10:wsdl2code (default) on project WSO2-Axis2-Client: Error parsing WSDL: No port found for the given name :StockQuoteServiceAXHttpEndpoint - [Help 1]

Re: [Dev] [ESB] Build failure in security client

2013-12-08 Thread Samisa Abeysinghe
You have to send the stack trace please ... Thanks, Samisa... Samisa Abeysinghe Vice President Training WSO2 Inc. http://wso2.com On Mon, Dec 9, 2013 at 10:32 AM, Chamila Wijayarathna cham...@wso2.comwrote: Sorry for the inconvenience, The error I am getting is, [ERROR] Failed to

Re: [Dev] [ESB] Having problem with creating a secure client

2013-12-08 Thread Jeewantha Dharmaparakrama
Hi Dimuthu, Did you create the password callback handler add add that to your clients classpath? After adding that to classpath you have to tell Rampart what the password callback handler is like follows. Options options = client.getOptions(); options.put(WSHandlerConstants.PW_CALLBACK_REF, new

Re: [Dev] [ESB] Having problem with creating a secure client

2013-12-08 Thread Samisa Abeysinghe
OK, we need to create a doc Jira please. Thanks, Samisa... Samisa Abeysinghe Vice President Training WSO2 Inc. http://wso2.com On Mon, Dec 9, 2013 at 10:38 AM, Jeewantha Dharmaparakrama jeewan...@wso2.com wrote: Hi Dimuthu, Did you create the password callback handler add add that to

Re: [Dev] [ESB] Build failure in security client

2013-12-08 Thread Chamila Wijayarathna
Sorry, you can find the stack trace below, org.apache.axis2.AxisFault: No port found for the given name :StockQuoteServiceAXHttpEndpoint at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.findBinding(WSDL11ToAxisServiceBuilder.java:1041) at

Re: [Dev] [ESB] Having problem with creating a secure client

2013-12-08 Thread Jeewantha Dharmaparakrama
On Mon, Dec 9, 2013 at 10:40 AM, Samisa Abeysinghe sam...@wso2.com wrote: OK, we need to create a doc Jira please. created https://wso2.org/jira/browse/DOCUMENTATION-515 Thanks, Samisa... Samisa Abeysinghe Vice President Training WSO2 Inc. http://wso2.com On Mon, Dec 9, 2013 at

Re: [Dev] [ESB] Build failure in security client

2013-12-08 Thread Samisa Abeysinghe
It looks like you are trying to use the http binding from client. Given that this is a secured service, there might not be an http binding, rather an https binding in there in this service. Please double check. Thanks, Samisa... Samisa Abeysinghe Vice President Training WSO2 Inc.

[Dev] [AppFactory] What is the reason for having 'default-SNAPSHOT' in pom.xml of web applications created in AppFactory?

2013-12-08 Thread Manjula Rathnayake
Hi all, Noticed below version in pom.xml. groupIdorg.wso2.af/groupId artifactIdfoo/artifactId * versiondefault-SNAPSHOT/version* packagingwar/packaging namefoo/name thank you. -- Manjula Rathnayaka Software Engineer WSO2, Inc. Mobile:+94 77 743 1987

Re: [Dev] [ESB] Having problem with creating a secure client

2013-12-08 Thread Dimuthu Upeksha
Hi Jeewantha, I created the PasswordCallbackHandler class and added above lines to the client. And added wss4j-1.6.4.jar to the class path also. Then I get following error --- Exception in thread main java.lang.NoSuchMethodError:

Re: [Dev] [AppFactory] What is the reason for having 'default-SNAPSHOT' in pom.xml of web applications created in AppFactory?

2013-12-08 Thread Janaka Ranabahu
Hi Manjula, Could not recall the exact reason but have seen this in the commit log. @Manisha, Would you be able to add some insight into this. *Log:changing the trunk's version from SNAPSHOT to default-SNAPSHOT to avoid warnings Modified:

Re: [Dev] [ESB] Having problem with creating a secure client

2013-12-08 Thread Jeewantha Dharmaparakrama
might be an issue with the version. WSS4J 1.6.13 should have that method. [1] http://ws.apache.org/wss4j/apidocs/org/apache/ws/security/WSPasswordCallback.html#getIdentifier%28%29 Jeewantha On Mon, Dec 9, 2013 at 11:31 AM, Dimuthu Upeksha dimut...@wso2.com wrote: Hi Jeewantha, I created the

Re: [Dev] [AppFactory] What is the reason for having 'default-SNAPSHOT' in pom.xml of web applications created in AppFactory?

2013-12-08 Thread Ramith Jayasinghe
Shouldn't it be like: trunk-SNAPSHOT ? according to: http://stackoverflow.com/questions/5901378/what-exactly-is-a-maven-snapshot-and-why-do-we-need-it http://books.sonatype.com/mvnref-book/reference/pom-relationships-sect-pom-syntax.html

Re: [Dev] Commit required to kernel patch 4

2013-12-08 Thread Shani Ranasinghe
Hi Manoj, Please use this. Let me know if anything needs to be changed. On Mon, Dec 9, 2013 at 10:19 AM, Manoj Kumara ma...@wso2.com wrote: Hi Shani, The patch you provided is not complete. Please follow the steps on [1]. [1]

Re: [Dev] IdP-Initiated SSO Support Added

2013-12-08 Thread Johann Nallathamby
Hi Samuel, Please add this to the IS-4.6.0 docs under SAML SSO. The above descriptions should be enough for starters. On Sun, Nov 10, 2013 at 12:12 AM, Johann Nallathamby joh...@wso2.comwrote: Hi, IdP Initiated SSO support has been added with r190585. To enable IdP Initiated SSO for a

[Dev] wso2carbon.jks keystore password

2013-12-08 Thread Nisreen123
I am implemnting a SAML SSO using WSO2 as idp and IBM websphere as service provider, I need to export the idp certificate to validate the SAML response and when i enter the following command keytool -export -keystore [WSO2-home]\repository\resources\security\wso2carbon.jks -file carbon.cert