[Dev] IS migration client usage of class.forName()

2017-11-23 Thread Danushka Fernando
this solution. Any suggestions would be appreciated. Thanks & Regards Danushka Fernando Associate Tech Lead WSO2 inc. http://wso2.com/ Mobile : +94716332729 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] Deperecated sign methods in JWT generation flows.

2017-11-09 Thread Danushka Fernando
? Thanks & Regards Danushka Fernando Associate Tech Lead WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Thu, Nov 9, 2017 at 4:10 PM, Ruwan Abeykoon <ruw...@wso2.com> wrote: > HI All, > We should not remove extensibility. > We need to look for an alternative way on this do an

[Dev] Deperecated sign methods in JWT generation flows.

2017-11-09 Thread Danushka Fernando
r.java [2] https://github.com/wso2-extensions/identity-inbound-auth-oauth/blob/master/components/org.wso2.carbon.identity.oauth/src/main/java/org/wso2/carbon/identity/openidconnect/DefaultIDTokenBuilder.java Thanks & Regards Danushka Fernando Associate Tech Lead WSO2 inc. http://wso2.c

Re: [Dev] [IS][SAML] Using different cert for SAML response signing

2017-11-08 Thread Danushka Fernando
it as the primary KeyStore in Carbon. IMHO we need to give the option of changing it by letting users use a different KeyStore for response signing. WDYT? Thanks & Regards Danushka Fernando Associate Tech Lead WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Wed, Nov 8, 2017 at 2:10 PM, Go

[Dev] [IS][SAML] Using different cert for SAML response signing

2017-11-07 Thread Danushka Fernando
Hi All Currently in Identity Server we use server's primary keystore's primary cert for response signing. Is it possible to use a different cert for this somehow? Thanks & Regards Danushka Fernando Associate Tech Lead WSO2 inc. http://wso2.com/ Mobile : +9471633

Re: [Dev] [IS][OAuth] Token Response request validation

2017-11-05 Thread Danushka Fernando
/master/components/org.wso2.carbon.identity.oauth/src/main/java/org/wso2/carbon/identity/oauth2/authz/AuthorizationHandlerManager.java#L110-L115 Thanks & Regards Danushka Fernando Associate Tech Lead WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Fri, Nov 3, 2017 at 11:53 AM, Nuw

[Dev] [IS][OAuth] Token Response request validation

2017-11-02 Thread Danushka Fernando
#L66-L104 Thanks & Regards Danushka Fernando Associate Tech Lead WSO2 inc. http://wso2.com/ Mobile : +94716332729 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] [IS][OAuth] Token Response request validation

2017-11-02 Thread Danushka Fernando
@Isura Thanks for pointing out. But still there is a dead code there which will never get triggered right? Shall we refactor that code? Thanks & Regards Danushka Fernando Associate Tech Lead WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Thu, Nov 2, 2017 at 9:08 PM, Isura Karunar

Re: [Dev] [IS] Different logs for the account lock.

2017-07-06 Thread Danushka Fernando
Hi Menaka Reason is here in two methods its handled by two different handlers. What we can do is to improve logging in governance handler. You may create a jira for that as an improvement. Thanks & Regards Danushka Fernando Associate Tech Lead WSO2 inc. http://wso2.com/ Mobile : +9471633

Re: [Dev] Multiple DataBases

2017-06-29 Thread Danushka Fernando
Hi Lipsa Can you attach the secondary user store configuration you tried with. Thanks & Regards Danushka Fernando Associate Tech Lead WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Thu, Jun 29, 2017 at 2:05 PM, Lipsa Pradhan < lipsa.prad...@adnatesolutions.com> wrote: > I ha

Re: [Dev] Multiple DataBases

2017-06-29 Thread Danushka Fernando
/components/lib and restart. Thanks & Regards Danushka Fernando Associate Tech Lead WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Thu, Jun 29, 2017 at 1:21 PM, Lipsa Pradhan < lipsa.prad...@adnatesolutions.com> wrote: > I have tried this one also nut the issue is: >

Re: [Dev] Multiple DataBases

2017-06-29 Thread Danushka Fernando
I think you are looking for [1]. You can configure multiple secondary userstores. [1] https://docs.wso2.com/display/ADMIN44x/Configuring+Secondary+User+Stores Thanks & Regards Danushka Fernando Associate Tech Lead WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Thu, Jun 29, 2017 at 11:3

Re: [Dev] Multiple DataBases

2017-06-28 Thread Danushka Fernando
Hi Lipsa What kind of data you want to fetch from those dbs? Do you want to expose data as service or do you want to fetch some user related data from those dbs? Thanks & Regards Danushka Fernando Associate Tech Lead WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Thu, Jun 29, 2017 at 1

Re: [Dev] Ask password cannot be configured from management console when using identity REST API

2017-06-06 Thread Danushka Fernando
is with no password case. Are you suggesting to generate a password in this case? Thanks & Regards Danushka Fernando Associate Tech Lead WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Tue, Jun 6, 2017 at 10:02 PM, Isura Karunaratne <is...@wso2.com> wrote: > > > On Tue, Jun

Re: [Dev] Ask password cannot be configured from management console when using identity REST API

2017-06-06 Thread Danushka Fernando
So Johan/ Isura How should we approach here? If its not new feature we ask user to add default password? In that case we dont need this to fixed I guess. Thanks & Regards Danushka Fernando Associate Tech Lead WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Tue, Jun 6, 2017 at 9:02 PM, Jo

Re: [Dev] Ask password cannot be configured from management console when using identity REST API

2017-06-06 Thread Danushka Fernando
Yes then we can't make it available via carbon UI. Or we can't give the option to not to give default password in ui when its User On boarding feature. WDYT? Thanks & Regards Danushka Fernando Associate Tech Lead WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Tue, Jun 6, 2017 at 8:5

[Dev] Ask password cannot be configured from management console when using identity REST API

2017-06-06 Thread Danushka Fernando
.lang.Thread.run(Thread.java:745) [1] https://wso2.org/jira/browse/IDENTITY-6025 Thanks & Regards Danushka Fernando Associate Tech Lead WSO2 inc. http://wso2.com/ Mobile : +94716332729 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] [IS] Providing UI based configuration support for JWT audiences

2017-06-05 Thread Danushka Fernando
the data migration as well. So your code should handle null or empty values. Probably use the global value in that case. Thanks & Regards Danushka Fernando Associate Tech Lead WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Mon, Jun 5, 2017 at 11:50 AM, Sathya Bandara <sat...@wso2.com

Re: [Dev] [IS] Integrity constraint violation when revoking multiple entries from access token table

2017-05-23 Thread Danushka Fernando
regards, > Sathya > > -- > Sathya Bandara > Software Engineer > WSO2 Inc. http://wso2.com > Mobile: (+94) 715 360 421 <+94%2071%20411%205032> > > <+94%2071%20411%205032> > > ___ > Dev mailing list > Dev@wso2.org >

[Dev] Expiration Time of the password reset url

2017-05-05 Thread Danushka Fernando
Can we get $subject? Is there an api or java call we could do? Thanks & Regards Danushka Fernando Associate Tech Lead WSO2 inc. http://wso2.com/ Mobile : +94716332729 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] [IS] Post Authentication Redirection

2017-03-24 Thread Danushka Fernando
Moving back to dev@ Finally managed to fixed this by adding following line before the redirection. request.setAttribute(FrameworkConstants.RequestParams.FLOW_STATUS, AuthenticatorFlowStatus.INCOMPLETE); Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2

Re: [Dev] [IS] Post Authentication Redirection

2017-03-23 Thread Danushka Fernando
Hi Nuwandi Its not saml. I am using Oauth auth code flow grant type here. Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Fri, Mar 24, 2017 at 10:56 AM, Nuwandi Wickramasinghe <nuwan...@wso2.com> wrote: > Hi, > &

[Dev] [IS] Post Authentication Redirection

2017-03-23 Thread Danushka Fernando
. Any idea whats going wrong here. [1] /authenticationendpoint/password_expiry.do?passwordexpiryremainingtimeinmillis=252811377=true=5538f5b1-2a50-43c8-a380-b2a3a90c7d27 Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +9471633

Re: [Dev] [IS] Generate token with auth code grant - Using same code twice

2017-03-22 Thread Danushka Fernando
Createed https://wso2.org/jira/browse/IDENTITY-5830 to track this Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Thu, Mar 23, 2017 at 9:22 AM, Maduranga Siriwardena <madura...@wso2.com> wrote: > Sorry the code line

[Dev] [IS] Generate token with auth code grant - Using same code twice

2017-03-22 Thread Danushka Fernando
(Thread.java:745) Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] [OSGI] Error with no of imports

2017-03-19 Thread Danushka Fernando
8 specific codes (lambdas). Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Fri, Mar 17, 2017 at 10:57 AM, Danushka Fernando <danush...@wso2.com> wrote: > Hi All > For IS 5.3.0 I am developing a custom component. I

[Dev] [IS] Post authenticator redirection fails

2017-03-17 Thread Danushka Fernando
post authenticator, it goes to authorization endpoint again and from there it tries to pickup authentication result from cache and context. But at this point no authentication result is there so it fails. Anybody have an idea what goes wrong here? Thanks & Regards Danushka Fernando Senior Soft

[Dev] [OSGI] Error with no of imports

2017-03-16 Thread Danushka Fernando
cannot deploy it to IS. So the reason was the amount of imports in the class. When I reduce the no of imports it started to work again. But there may be cases we need that much imports. Is there a workarround for this? [1] https://issues.apache.org/jira/browse/FELIX-723 Thanks & Regards Danu

Re: [Dev] [Dev}[IS] Post authentication Handlers

2017-03-16 Thread Danushka Fernando
; } Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Thu, Mar 16, 2017 at 5:53 PM, Danushka Fernando <danush...@wso2.com> wrote: > Hi All > > In Framework utils I see following method. > > /** >

[Dev] [Dev}[IS] Post authentication Handlers

2017-03-16 Thread Danushka Fernando
ight below that "QNAME_EXT_POST_AUTHENTICATION_HANDLER" which is not used. And the the default configuration have an element under AuthorizationHandler tag which is extended from AuthorizationHandler interface. Is this a bug? Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc.

Re: [Dev] [IS] Custom Password Grant Validator

2017-03-14 Thread Danushka Fernando
Seems all request parameters are send if its a custom grant type only. Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Wed, Mar 15, 2017 at 9:49 AM, Danushka Fernando <danush...@wso2.com> wrote: > Hi All > I follow

[Dev] [IS] Custom Password Grant Validator

2017-03-14 Thread Danushka Fernando
params are null in message context. Can anybody shed some light here. [1]https://docs.wso2.com/display/IS530/Writing+a+Custom+OAuth+2.0+Grant+Type Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +9471633

Re: [Dev] [IS] Returning to application with authentication failure state

2017-03-14 Thread Danushka Fernando
f there are concerns. Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Tue, Mar 14, 2017 at 11:34 AM, Danushka Fernando <danush...@wso2.com> wrote: > Hi Harsha > What I wants to achieve is to return a failed respons

Re: [Dev] [IS] Returning to application with authentication failure state

2017-03-14 Thread Danushka Fernando
Hi Harsha What I wants to achieve is to return a failed response to application side with some failure details after no of failed attempts. Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Tue, Mar 14, 2017 at 11:31 AM, Ha

[Dev] [IS] Returning to application with authentication failure state

2017-03-13 Thread Danushka Fernando
we are using same framework for IS 6 shall we do that for IS 6? Meanwhile have anybody tried to achieve this in IS 5.x and succeeded? Any ideas are appreciated. Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +9471633

Re: [Dev] [IS] No of failed attempts in an authentication framework

2017-03-13 Thread Danushka Fernando
Thanks Hasintha Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Mon, Mar 13, 2017 at 10:08 PM, Hasintha Indrajee <hasin...@wso2.com> wrote: > You can capture successful as well as unsuccessful login attempts through &

Re: [Dev] [IS] No of failed attempts in an authentication framework

2017-03-13 Thread Danushka Fernando
Actually my requirement is to if that no exceeds certain amount, to return with an error message to the application. Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Mon, Mar 13, 2017 at 9:58 PM, Farasath Ahamed <farasa...@w

[Dev] [IS] No of failed attempts in an authentication framework

2017-03-13 Thread Danushka Fernando
Hi All I have a sp configuration where I have configured step authentication. Is there a way to capture the no of failed attempts in a flow inside an authenticator? Whats the best way of capturing it? Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mo

Re: [Dev] [UUF] How to handle multiple form submits within one page

2017-03-10 Thread Danushka Fernando
+1 to use ajax when generate password. When generating a complex pass via some tool it will be annoying if browser redirection occurs. I am not too sure about security issues that can raise if we do it in front end. But ajax is the better option IMHO. Thanks & Regards Danushka Fernando Se

Re: [Dev] [IS][IS 5.3.0] Account locking

2017-03-09 Thread Danushka Fernando
Great thanks Isura Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Fri, Mar 10, 2017 at 11:03 AM, Isura Karunaratne <is...@wso2.com> wrote: > Admin wants to unlock manually. > > Thanks > Isura. > >

Re: [Dev] [IS][IS 5.3.0] Account locking

2017-03-09 Thread Danushka Fernando
of a user. Whats the behaviour now. Will it get unlocked after that time? Or do admin want to unlock it manually. Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Fri, Mar 10, 2017 at 10:44 AM, Darshana Gunawardana <darsh...@w

[Dev] [IS][IS 5.3.0] Account locking

2017-03-09 Thread Danushka Fernando
If we want both account locking and if we have enabled automatic login as well. For another user story, if we set locked claim of the user, will that also get unlocked after certain time? Or is that just for automatic locking? Thanks & Regards Danushka Fernando Senior Software Engineer WSO2

Re: [Dev] [IS][5.3.0] Account locking in new method

2017-03-09 Thread Danushka Fernando
Thanks both. Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Fri, Mar 10, 2017 at 9:02 AM, Darshana Gunawardana <darsh...@wso2.com> wrote: > Hi Danushka, > > Try setting, > > *account.lock.handler.enable

[Dev] [IS][5.3.0] Account locking in new method

2017-03-09 Thread Danushka Fernando
+Locking+and+Account+Disabling Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] [IS] Password recovery IS 5.3.0

2017-03-01 Thread Danushka Fernando
Found out it was blocked from gmail. By turning on access to less secure apps I made it work. Sorry for the noise guys. Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Wed, Mar 1, 2017 at 3:50 PM, Danushka Fernando <danush.

[Dev] [IS] Password recovery IS 5.3.0

2017-03-01 Thread Danushka Fernando
://docs.wso2.com/display/IS530/Password+Recovery#PasswordRecovery-Recoveryusingnotifications Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi

[Dev] [IS] Adding Service provider from OSGI service

2017-02-26 Thread Danushka Fernando
/60b97c6f09df34c23d79c0270c20204067870cd6/components/application-mgt/org.wso2.carbon.identity.application.mgt/src/main/java/org/wso2/carbon/identity/application/mgt/dao/impl/ApplicationDAOImpl.java#L220 Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mo

[Dev] [IS] WSO2 base docker image for C5 products

2017-02-03 Thread Danushka Fernando
Hi All I am trying to create a docker image for 6.0.0-m1. For C4 products we have based docker files on a wso2base. AFAIU this is for C4. So do we have $subject? Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +9471633

Re: [Dev] Run mvn javadoc:javadoc before sending PRs wso2 repos

2017-01-31 Thread Danushka Fernando
we release. But if we identify what we have missed at development time it would be better and easier. WDYT? Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Wed, Feb 1, 2017 at 11:00 AM, Kishanthan Thangarajah <kishant...@w

Re: [Dev] Fwd: Why re-write User class? Why re-wrap RealmService?

2017-01-31 Thread Danushka Fernando
Hi Kasun I think logic is related to #1. If we are eliminating that then it will be a middle man. Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Wed, Feb 1, 2017 at 10:50 AM, KasunG Gajasinghe <kas...@wso2.com> wrote: &g

Re: [Dev] Fwd: Why re-write User class? Why re-wrap RealmService?

2017-01-31 Thread Danushka Fernando
://sourcemaking.com/refactoring/smells/middle-man Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Tue, Jan 31, 2017 at 8:14 PM, Manuranga Perera <m...@wso2.com> wrote: > > -- Forwarded message -- > From:

Re: [Dev] [UUF] Define page layout for default error pages

2017-01-20 Thread Danushka Fernando
Not sure which components its coming from. For example 404 error page is a default error page coming from UUF. Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Sat, Jan 21, 2017 at 10:18 AM, SajithAR Ariyarathna <sajit...@w

Re: [Dev] [UUF] Define page layout for default error pages

2017-01-20 Thread Danushka Fernando
Nisala This means we have to write whole error page right? But what if we need just layout to be changed. Isn't there an option other than duplicating? Because we will change basically the header and footer only. Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://

[Dev] [UUF] Define page layout for default error pages

2017-01-20 Thread Danushka Fernando
Hi All I found that default error pages like 404 error page which comes from UUF doesn't use app's basic layout. And I couldn't find a way to override it. Is there a way of achieving this. Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +9471633

Re: [Dev] [UUF] User Portal's Localization properties are not working in Safari browser

2017-01-19 Thread Danushka Fernando
Agree to what Kasun said. Further can we do this case insensitively. Because from Denuwanthi's data it seems like a case issue to me. Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Thu, Jan 19, 2017 at 9:57 PM, KasunG Gajasi

Re: [Dev] [UUF] User Portal's Localization properties are not working in Safari browser

2017-01-19 Thread Danushka Fernando
Refer to [1] "White space is not allowed within the tag and all tags are case- insensitive." [1] https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.10 Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Thu

Re: [Dev] [UUF] Boolean values are not get stored properly in injected js variable from sendToClient()

2017-01-19 Thread Danushka Fernando
://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/toSource Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Thu, Jan 19, 2017 at 7:43 PM, Indunil Upeksha Rathnayake < indu...@wso2.com> wr

Re: [Dev] [Identity Server] Creating a server configuration Identity.yaml vs component wise yaml files and Reading the server configurations

2017-01-19 Thread Danushka Fernando
was to have a common bean in commons and have sub beans in component. But that will lead to a cyclic dependency. Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Thu, Jan 19, 2017 at 2:03 PM, Johann Nallathamby <joh...@wso2.com

[Dev] [Identity Server] Creating a server configuration Identity.yaml vs component wise yaml files and Reading the server configurations

2017-01-19 Thread Danushka Fernando
. We have several user management related configs which are deployed separately in C4 as well. But when we are moving towards C5, what should be the way of creating these configs. Is it component wise or server wise? Any ideas are appreciated. Thanks & Regards Danushka Fernando Senior Soft

Re: [Dev] [IS 6.0.0] [User Portal] Challenge Questions in Self sign-up page of user portal

2017-01-18 Thread Danushka Fernando
details today, we realized that lot of people had this and removed this due to vulnerabilities in it. Hence Indunil started this discussion. Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Jan 18, 2017 6:04 PM, "KasunG Gajasin

Re: [Dev] Regarding users/roles creation per tenant and within a secondary ReadWriteLDAP userstore

2016-12-19 Thread Danushka Fernando
& Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Mon, Dec 19, 2016 at 10:46 PM, Hanen Ben Rhouma <hanen...@gmail.com> wrote: > Hello, > > I have a question regarding tenants management within WSO2 IS; When I > create a te

Re: [Dev] WSO2 IS 5.3.0-Alpha2 : Not Able to authenticate users coming from External LDAP user store

2016-12-06 Thread Danushka Fernando
My guess is that you are using default ldap config which we use wso2Person type objects and your ldap doesn't have that type defined. So please try changing that to inetOrgPerson in user-mgt.cml Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mo

Re: [Dev] Configuration files per Application

2016-11-09 Thread Danushka Fernando
In that case you will need to write a configuration builder your selves. Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Thu, Nov 10, 2016 at 8:38 AM, wenxzhen <wenxing.zh...@qq.com> wrote: > Thanks to Harsha. &g

Re: [Dev] Configuration files per Application

2016-11-09 Thread Danushka Fernando
If you are looking for an inbuilt thing you can use registry as well. [1] http://wdfdo1986.blogspot.com/2014/06/tips-to-write-enterprise-application-on.html Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Thu, Nov 10, 2016 at

Re: [Dev] Configuration files per Application

2016-11-09 Thread Danushka Fernando
in to repository/components/lib or dropins then you can refer to [1] [1] https://github.com/wso2/product-af/blob/master/modules/components/org.wso2.carbon.appfactory.common/src/main/java/org/wso2/carbon/appfactory/common/AppFactoryConfigurationBuilder.java Thanks & Regards Danushka Fernando Senior Soft

Re: [Dev] OSGI error Unresolved requirement: Import-Package: org.wso2.uri.template;

2016-11-08 Thread Danushka Fernando
Probably org.wso2.uri.template component has a problem. Even though it shows as active could be the case. Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Wed, Nov 9, 2016 at 5:17 AM, Ishara Cooray <isha...@wso2.com

Re: [Dev] [AS 5.3.0]How to delete a Tenant?

2016-10-17 Thread Danushka Fernando
that previous tenant created inside new tenant. Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Tue, Oct 18, 2016 at 7:05 AM, wenxzhen <wenxing.zh...@qq.com> wrote: > The problem is that we will have many "old

Re: [Dev] Get the private and public keys of a user

2016-10-06 Thread Danushka Fernando
AFAIK SAML Token is signed using the tenant keystore. You can use the org.wso2.carbon.core.util.KeyStoreManager to achieve that. There are getDefaultPrivateKey and getDefaultPublicKey which will give you the default keys of the keystore. Thanks & Regards Danushka Fernando Senior Software Engi

Re: [Dev] [ESB] Tenant ID -1 in wso2carbon.log

2016-09-10 Thread Danushka Fernando
AFAIK -1 means invalid tenant. Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Sat, Sep 10, 2016 at 11:15 AM, Chamila De Alwis <chami...@wso2.com> wrote: > Hi, > > In ESB 5.0.0 it seems that some of the classe

Re: [Dev] ESB error when login to admin console

2016-09-01 Thread Danushka Fernando
list to carbon.xml or you can remove it from nginx config. Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Thu, Sep 1, 2016 at 3:59 PM, Jithendra Sirimanne <jithen...@wso2.com> wrote: > Hi, > > I have config

Re: [Dev] Writing an OSGI Component to Create a Tenant during ESB Startup

2016-08-16 Thread Danushka Fernando
I think random wording here is misleading. AFAIU last mail you are using the tenant id of the user to do this right. So that's not random right? Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Tue, Aug 16, 2016 at 5:04 PM, Mah

Re: [Dev] [App Cloud] Loading DSS endpoints to the app cloud home page

2016-08-12 Thread Danushka Fernando
What about using some other way of authentication. Mutual auth / JWT auth / etc. Earlier when we discuss this I think for a wrong reason I eliminated them. We can get the cert of the wso2 server (default carbon.jks) and store in app cloud and do calls using that. WDYT? Thanks & Regards Danu

Re: [Dev] [App Cloud] "When createAppInDataBase failed, adding addAppCreationEvent also getting failed"

2016-07-17 Thread Danushka Fernando
. @Manjula: WDYT? Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Mon, Jul 18, 2016 at 8:50 AM, Mahesh Chinthaka <mahe...@wso2.com> wrote: > Hi All, > > Isnt it better to avoid adding an event at this point ? >

Re: [Dev] log user events to audit.log file via Jaggery block layer

2016-07-04 Thread Danushka Fernando
ards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Mon, Jul 4, 2016 at 10:57 AM, Amalka Subasinghe <ama...@wso2.com> wrote: > Added above mentioned code block to the router.jag file > Then the logs will be printed as... > > [2016-07-

Re: [Dev] Clarification on closing database connections when using DAO Manager

2016-06-23 Thread Danushka Fernando
Ping Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Fri, Jun 17, 2016 at 1:55 PM, Sabra Ossen <sa...@wso2.com> wrote: > Hi All, > > What is the best practice for closing database connections when we are >

Re: [Dev] [Carbon-jira] [jira] (APPCLOUD-162) [UX] Left Menu is available only in app home

2016-05-27 Thread Danushka Fernando
I guess this is some thing have intentionally done. In all other pages there is a button called back to app home and from that we can go to app home. @Dakshika: any thoughts? Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Fri,

Re: [Dev] [AppCloud] [APPCLOUD-24] Streaming logs in application log page

2016-05-23 Thread Danushka Fernando
in a separate page (That means have two log watching places one for full log and other for tailing last 5 mins) or Keep only tailing logs option. IMO we need both options. WDYT? Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Fri, Ma

Re: [Dev] [Jaggery] Web sockets api in jaggery

2016-05-20 Thread Danushka Fernando
Its not an html its a json. Any way found a way to implement my task without web socket. Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Fri, May 20, 2016 at 7:35 PM, Manuranga Perera <m...@wso2.com> wrote: > Hi,

Re: [Dev] [Jaggery] Web sockets api in jaggery

2016-05-20 Thread Danushka Fernando
This only works with plain jaggery. Cant use inside any framework. Require function even doesn't work. Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Fri, May 20, 2016 at 11:46 AM, Danushka Fernando <danush...@wso2.com

Re: [Dev] [Jaggery] Web sockets api in jaggery

2016-05-20 Thread Danushka Fernando
x.java:126) ... 24 more Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Fri, May 20, 2016 at 11:18 AM, Danushka Fernando <danush...@wso2.com> wrote: > This is my server side looks like > > > <% > /* &g

Re: [Dev] [Jaggery] Web sockets api in jaggery

2016-05-19 Thread Danushka Fernando
Key + "=" + selectedRevision); //event handler for the message event in the case of text frames ws.onmessage = function(event) { //some work }; setTimeout(function() {ws.send(""); console.log("");}, 6); I can see the console log for send but no logs in server s

[Dev] [Jaggery] Web sockets api in jaggery

2016-05-19 Thread Danushka Fernando
Hi I tried to follow [1] to use some web sockets. But server url has to be in either ws or wss protocols. How we can expose a jaggery app in these protocols? [1] http://jaggeryjs.org/documentation.jag?api=webSocket Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://

Re: [Dev] [App Cloud] Fronting microservice with HA Proxy

2016-05-18 Thread Danushka Fernando
ooking at descriptions. If no obligations we would use that as the solution. Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Wed, May 18, 2016 at 1:33 PM, Danushka Fernando <danush...@wso2.com> wrote: > Sorry its option

Re: [Dev] [App Cloud] Fronting microservice with HA Proxy

2016-05-18 Thread Danushka Fernando
thub.io/haproxy-dconv/configuration-1.5.html#option%20forceclose> also works but I didnt tried them since we are focusing on keepalivee. I couldnt get keep alive working with any of the options. Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716

Re: [Dev] [App Cloud] Fronting microservice with HA Proxy

2016-05-18 Thread Danushka Fernando
aproxy and netty are together. Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Mon, May 16, 2016 at 11:32 PM, Manuranga Perera <m...@wso2.com> wrote: > [2] > https://cbonte.github.io/haproxy-dconv/configuration-1.5.htm

[Dev] [App Cloud] Fronting microservice with HA Proxy

2016-05-16 Thread Danushka Fernando
ttps://wso2.org/jira/browse/APPCLOUD-79 [2] https://cbonte.github.io/haproxy-dconv/configuration-1.5.html Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] How to deploy Jaggery application as web root context

2016-05-10 Thread Danushka Fernando
+Kishanthan,KasunG Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Tue, May 10, 2016 at 3:10 PM, Lahiru Manohara <lahir...@wso2.com> wrote: > Hi All, > > We have requirement to deploy Jaggery application

Re: [Dev] [IS] Using email as username for a JDBC-based user store

2016-04-24 Thread Danushka Fernando
Have you try adding the property to the configuration? Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Mon, Apr 25, 2016 at 12:02 AM, Farasath Ahamed <farasa...@wso2.com> wrote: > I was able to set email as the usernam

Re: [Dev] Clarification about OSGi Bundle Picking

2016-04-17 Thread Danushka Fernando
. If you try some osgi commands in osgi console ATM you will find issues in there (import). I guess this is just for testing. If you want to patch the jar use the patches folder. Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Sun,

Re: [Dev] Clarification about OSGi Bundle Picking

2016-04-17 Thread Danushka Fernando
To make it pick v2 you need to import v2 from the bundle using it. Otherwise osgi will pick the first available version AFAIK. Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Sun, Apr 17, 2016 at 1:41 AM, Chamila Wijayarathna &

Re: [Dev] [App Cloud] Search By Tag feature in App Cloud

2016-04-11 Thread Danushka Fernando
I just checked the EC2 behavior. Since we have similar concept I would vote for that. Which is tag:: If we want to search the instances have that tag with particular key only it would be like tag: Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mo

Re: [Dev] [APIM] Issues with version 1.7 - 1.10 migration

2016-03-15 Thread Danushka Fernando
What's the process you used to migrate changes. What you should do is compare your version with vanilla 1.7 and apply changes to 1.10. Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Mar 15, 2016 3:14 PM, "Yasith Lok

Re: [Dev] What happens when we run '-Dsetup' ?

2016-03-15 Thread Danushka Fernando
It will populate all databases that are empty AFAIK. Let's say you delete h2 file and ran -Dsetup. Then it will recreate h2 only. Let's say you deleted and recreated the MySQL reg db and ran it. Then it will populate reg db. That's how it works AFAIR. Thanks & Regards Danushka Fernando Se

Re: [Dev] [AppCloud] Checking for successful app creation in test case

2016-03-10 Thread Danushka Fernando
I guess its better if we have an ApplicationManager.getApplicationStatus method and a rest api for that. WDYT? Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Thu, Mar 10, 2016 at 6:08 PM, Kasun De Silva <kas...@wso2.com

[Dev] [AppCloud] Application Version/Rivision terminolgy

2016-03-10 Thread Danushka Fernando
Hi Guys I can see in the code we have used the terminology revision and in the UI we have the terminology version for the same entity. Shouldn't we use the same terminology every where so its not confusing. Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2

[Dev] [AppCloud] Checking for successful app creation in test case

2016-03-10 Thread Danushka Fernando
Hi All For the test cases of the app cloud whats the best solution for $subject. Currently all available in dbs. But connecting to dbs could be a problem sometimes from the test case. So I suggest to have an rest api to check the status. WDYT? Thanks & Regards Danushka Fernando Senior Soft

[Dev] [AppCloud] Delete application

2016-03-10 Thread Danushka Fernando
ards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] [AppCloud] Sending a file to jeggery rest api through java code

2016-03-10 Thread Danushka Fernando
)); org.apache.http.HttpResponse response = httpclient.execute(httppost); Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Thu, Mar 10, 2016 at 2:38 PM, Manjula Rathnayake <manju...@wso2.com> wrote: > Hi Danushka, > &g

Re: [Dev] [AppCloud] Sending a file to jeggery rest api through java code

2016-03-10 Thread Danushka Fernando
& Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Thu, Mar 10, 2016 at 12:28 PM, Manuranga Perera <m...@wso2.com> wrote: > Does it work if you upload through the browser? > If yes, put tcpmon in-front and see how your request i

Re: [Dev] [AppCloud] [Automation] Reading a file from resources folder

2016-03-10 Thread Danushka Fernando
Hi Nuwan Yes. I want to access a file inside resources folder from test automation module. Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Thu, Mar 10, 2016 at 1:45 PM, Nuwan Wimalasekara <nuw...@wso2.com> wrote: >

  1   2   3   4   5   6   >