[Dev] IoT - IOS PLATFORM CONFIGURATIONS error

2017-01-17 Thread Susinda Perera
Hi All
I'm configuring ios as in
https://docs.wso2.com/display/IoTS300/iOS+Platform+Configuration
I'm getting following error in backend[1] and [2] in console when configure
'ios config'. Any idea what would be the reason?

[1]
[2017-01-18 13:14:16,785] [IoT-Core]  WARN - APIAuthenticationHandler API
authentication failure due to Resource forbidden

[2]
Action was not permitted.
Failed to load resource: the server responded with a status of 403
(Forbidden) https://localhost:9443/devicemgt/api/invoker/execute/

-- 
*Susinda Perera*
Software Engineer
B.Sc.(Eng), M.Sc(Computer Science), AMIE(SL)
Mobile:(+94)716049075
Blog: susinda.blogspot.com
WSO2 Inc. http://wso2.com/
Tel : 94 11 214 5345 Fax :94 11 2145300
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please review and commit

2017-01-17 Thread Chamila De Alwis
Will do.


Regards,
Chamila de Alwis
Committer and PMC Member - Apache Stratos
Senior Software Engineer | WSO2
Blog: https://medium.com/@chamilad



On Wed, Jan 18, 2017 at 12:45 PM, Niranjan Karunanandham 
wrote:

> Hi ChamilaD,
>
> Can you look into this?
>
> Regards,
> Nira
>
> On Wed, Jan 18, 2017 at 11:47 AM, Thanuja Jayasinghe 
> wrote:
>
>> Hi Team,
>>
>> The same fix [1] added for carbon-kernel 4.4.x branch and created the
>> issue [2] also.
>>
>> [1] - https://github.com/wso2/carbon-kernel/pull/1273
>> [2] - https://github.com/wso2/carbon-kernel/issues/1272
>>
>> Thanks,
>> Thanuja
>>
>> On Wed, Jan 18, 2017 at 9:54 AM, Thanuja Jayasinghe 
>> wrote:
>>
>>> Hi Team,
>>>
>>> Please find the attached svn diffs created to resolve issue [1] and [2].
>>> Please review and commit them.
>>>
>>> [1] - https://wso2.org/jira/browse/IDENTITY-5551
>>> [2] - https://wso2.org/jira/browse/IDENTITY-3457
>>>
>>> Thanks,
>>> Thanuja
>>>
>>> --
>>> *Thanuja Lakmal*
>>> Senior Software Engineer
>>> WSO2 Inc. http://wso2.com/
>>> *lean.enterprise.middleware*
>>> Mobile: +94715979891 +94758009992
>>>
>>
>>
>>
>> --
>> *Thanuja Lakmal*
>> Senior Software Engineer
>> WSO2 Inc. http://wso2.com/
>> *lean.enterprise.middleware*
>> Mobile: +94715979891 +94758009992
>>
>
>
>
> --
>
>
> *Niranjan Karunanandham*
> Associate Technical Lead - WSO2 Inc.
> WSO2 Inc.: http://www.wso2.com
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please review and commit

2017-01-17 Thread Niranjan Karunanandham
Hi ChamilaD,

Can you look into this?

Regards,
Nira

On Wed, Jan 18, 2017 at 11:47 AM, Thanuja Jayasinghe 
wrote:

> Hi Team,
>
> The same fix [1] added for carbon-kernel 4.4.x branch and created the
> issue [2] also.
>
> [1] - https://github.com/wso2/carbon-kernel/pull/1273
> [2] - https://github.com/wso2/carbon-kernel/issues/1272
>
> Thanks,
> Thanuja
>
> On Wed, Jan 18, 2017 at 9:54 AM, Thanuja Jayasinghe 
> wrote:
>
>> Hi Team,
>>
>> Please find the attached svn diffs created to resolve issue [1] and [2].
>> Please review and commit them.
>>
>> [1] - https://wso2.org/jira/browse/IDENTITY-5551
>> [2] - https://wso2.org/jira/browse/IDENTITY-3457
>>
>> Thanks,
>> Thanuja
>>
>> --
>> *Thanuja Lakmal*
>> Senior Software Engineer
>> WSO2 Inc. http://wso2.com/
>> *lean.enterprise.middleware*
>> Mobile: +94715979891 +94758009992
>>
>
>
>
> --
> *Thanuja Lakmal*
> Senior Software Engineer
> WSO2 Inc. http://wso2.com/
> *lean.enterprise.middleware*
> Mobile: +94715979891 +94758009992
>



-- 


*Niranjan Karunanandham*
Associate Technical Lead - WSO2 Inc.
WSO2 Inc.: http://www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Error after installed the certs to IOT

2017-01-17 Thread Lakshman Udayakantha
Hi Susinda,

If IOT using latest kernel version, you should be able to skip host name
verification by following [1]

[1] https://docs.wso2.com/display/ADMIN44x/Enabling+HostName+Verification

Thanks,
Lakshman

On Wed, Jan 18, 2017 at 11:59 AM, Susinda Perera  wrote:

> Hi All
> Im getting following error when trying to acess https://10.10.10.82:
> 9443/devicemgt. and it redirects to localhost and gives this error in BE
> Note that i followed the https://docs.wso2.com/
> display/IoTS300/Configuring+the+WSO2+IoTS+Ports+for+iOS and add the
> jaggery config as well.
> any idea?
>
> IoT-Core] ERROR - TargetHandler I/O error: Host name verification failed
> for host : localhost
> javax.net.ssl.SSLException: Host name verification failed for host :
> localhost
> at org.apache.synapse.transport.http.conn.ClientSSLSetupHandler.verify(
> ClientSSLSetupHandler.java:171)
> at org.apache.http.nio.reactor.ssl.SSLIOSession.doHandshake(
> SSLIOSession.java:308)
> at org.apache.http.nio.reactor.ssl.SSLIOSession.outboundTransport(
> SSLIOSession.java:451)
> at org.apache.http.impl.nio.reactor.AbstractIODispatch.outputReady(
> AbstractIODispatch.java:152)
> at org.apache.http.impl.nio.reactor.BaseIOReactor.
> writable(BaseIOReactor.java:180)
> at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(
> AbstractIOReactor.java:342)
> at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(
> AbstractIOReactor.java:316)
> at org.apache.http.impl.nio.reactor.AbstractIOReactor.
> execute(AbstractIOReactor.java:277)
> at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(
> BaseIOReactor.java:105)
> at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$
> Worker.run(AbstractMultiworkerIOReactor.java:586)
> at java.lang.Thread.run(Thread.java:745)
> [2017-01-18 11:53:37,512] [IoT-Core]  WARN - EndpointContext Endpoint :
> admin--DeviceManagement_APIproductionEndpoint_8 with address
> https://localhost:9443/api/device-mgt/v1.0/devices will be marked
> SUSPENDED as it failed
> [2017-01-18 11:53:37,513] [IoT-Core]  WARN - EndpointContext Suspending
> endpoint : admin--DeviceManagement_APIproductionEndpoint_8 with address
> https://localhost:9443/api/device-mgt/v1.0/devices - last suspend
> duration was : 3ms and current suspend duration is : 3ms - Next
> retry after : Wed Jan 18 11:54:07 IST 2017
> [2017-01-18 11:53:37,529] [IoT-Core] ERROR - handlebars-module An
> exception thrown when executing the script '/app/pages/cdmf.page.
> dashboard/dashboard.js'.
> [2017-01-18 11:53:37,533] [IoT-Core] ERROR - dynamic-files-renderer
> Unexpected token: <
> org.mozilla.javascript.EcmaError: SyntaxError: Unexpected token: <
> (/devicemgt/lib/modules/handlebars/handlebars-v2.0.0.js#2236(Function)#2)
> at org.mozilla.javascript.ScriptRuntime.constructError(
> ScriptRuntime.java:3687)
> at org.mozilla.javascript.ScriptRuntime.constructError(
> ScriptRuntime.java:3665)
> at org.mozilla.javascript.NativeJSON.parse(NativeJSON.java:112)
> at org.mozilla.javascript.NativeJSON.parse(NativeJSON.java:119)
> at org.jaggeryjs.scriptengine.util.HostObjectUtil.parseJSON(
> HostObjectUtil.java:70)
> at org.jaggeryjs.scriptengine.engine.RhinoTopLevel.parse(
> RhinoTopLevel.java:51)
> at sun.reflect.GeneratedMethodAccessor187.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
> at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:386)
> at org.mozilla.javascript.optimizer.OptRuntime.callName(
> OptRuntime.java:63)
> at org.jaggeryjs.rhino.devicemgt.app.modules.business_
> controllers.c1._c_anonymous_8(/devicemgt/app/modules/
> business-controllers/device.js:188)
> at org.jaggeryjs.rhino.devicemgt.app.modules.business_
> controllers.c1.call(/devicemgt/app/modules/business-controllers/device.js)
> at org.mozilla.javascript.optimizer.OptRuntime.callName(
> OptRuntime.java:63)
> at org.jaggeryjs.rhino.devicemgt.app.modules.oauth.c0._c_
> anonymous_3(/devicemgt/app/modules/oauth/token-protected-
> service-invokers.js:125)
> at org.jaggeryjs.rhino.devicemgt.app.modules.oauth.c0.call(/
> devicemgt/app/modules/oauth/token-protected-service-invokers.js)
> at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)
> at org.jaggeryjs.rhino.devicemgt.app.modules.oauth.c0._c_
> anonymous_5(/devicemgt/app/modules/oauth/token-protected-
> service-invokers.js:138)
> at org.jaggeryjs.rhino.devicemgt.app.modules.oauth.c0.call(/
> devicemgt/app/modules/oauth/token-protected-service-invokers.js)
> at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)
> at org.jaggeryjs.rhino.devicemgt.app.modules.oauth.c0._c_
> anonymous_6(/devicemgt/app/modules/oauth/token-protected-
> service-invokers.js:148)
> at org.jaggeryjs.rhino.devicemgt.app.modules.oauth.c0.call(/
> devicemgt/app/modules/oauth/token-protected-service-i

[Dev] Error after installed the certs to IOT

2017-01-17 Thread Susinda Perera
Hi All
Im getting following error when trying to acess
https://10.10.10.82:9443/devicemgt. and it redirects to localhost and gives
this error in BE
Note that i followed the
https://docs.wso2.com/display/IoTS300/Configuring+the+WSO2+IoTS+Ports+for+iOS
and add the jaggery config as well.
any idea?

IoT-Core] ERROR - TargetHandler I/O error: Host name verification failed
for host : localhost
javax.net.ssl.SSLException: Host name verification failed for host :
localhost
at
org.apache.synapse.transport.http.conn.ClientSSLSetupHandler.verify(ClientSSLSetupHandler.java:171)
at
org.apache.http.nio.reactor.ssl.SSLIOSession.doHandshake(SSLIOSession.java:308)
at
org.apache.http.nio.reactor.ssl.SSLIOSession.outboundTransport(SSLIOSession.java:451)
at
org.apache.http.impl.nio.reactor.AbstractIODispatch.outputReady(AbstractIODispatch.java:152)
at
org.apache.http.impl.nio.reactor.BaseIOReactor.writable(BaseIOReactor.java:180)
at
org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:342)
at
org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:316)
at
org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:277)
at
org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:105)
at
org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:586)
at java.lang.Thread.run(Thread.java:745)
[2017-01-18 11:53:37,512] [IoT-Core]  WARN - EndpointContext Endpoint :
admin--DeviceManagement_APIproductionEndpoint_8 with address
https://localhost:9443/api/device-mgt/v1.0/devices will be marked SUSPENDED
as it failed
[2017-01-18 11:53:37,513] [IoT-Core]  WARN - EndpointContext Suspending
endpoint : admin--DeviceManagement_APIproductionEndpoint_8 with address
https://localhost:9443/api/device-mgt/v1.0/devices - last suspend duration
was : 3ms and current suspend duration is : 3ms - Next retry after
: Wed Jan 18 11:54:07 IST 2017
[2017-01-18 11:53:37,529] [IoT-Core] ERROR - handlebars-module An exception
thrown when executing the script
'/app/pages/cdmf.page.dashboard/dashboard.js'.
[2017-01-18 11:53:37,533] [IoT-Core] ERROR - dynamic-files-renderer
Unexpected token: <
org.mozilla.javascript.EcmaError: SyntaxError: Unexpected token: <
(/devicemgt/lib/modules/handlebars/handlebars-v2.0.0.js#2236(Function)#2)
at
org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3687)
at
org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3665)
at org.mozilla.javascript.NativeJSON.parse(NativeJSON.java:112)
at org.mozilla.javascript.NativeJSON.parse(NativeJSON.java:119)
at
org.jaggeryjs.scriptengine.util.HostObjectUtil.parseJSON(HostObjectUtil.java:70)
at
org.jaggeryjs.scriptengine.engine.RhinoTopLevel.parse(RhinoTopLevel.java:51)
at sun.reflect.GeneratedMethodAccessor187.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:386)
at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:63)
at
org.jaggeryjs.rhino.devicemgt.app.modules.business_controllers.c1._c_anonymous_8(/devicemgt/app/modules/business-controllers/device.js:188)
at
org.jaggeryjs.rhino.devicemgt.app.modules.business_controllers.c1.call(/devicemgt/app/modules/business-controllers/device.js)
at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:63)
at
org.jaggeryjs.rhino.devicemgt.app.modules.oauth.c0._c_anonymous_3(/devicemgt/app/modules/oauth/token-protected-service-invokers.js:125)
at
org.jaggeryjs.rhino.devicemgt.app.modules.oauth.c0.call(/devicemgt/app/modules/oauth/token-protected-service-invokers.js)
at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)
at
org.jaggeryjs.rhino.devicemgt.app.modules.oauth.c0._c_anonymous_5(/devicemgt/app/modules/oauth/token-protected-service-invokers.js:138)
at
org.jaggeryjs.rhino.devicemgt.app.modules.oauth.c0.call(/devicemgt/app/modules/oauth/token-protected-service-invokers.js)
at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)
at
org.jaggeryjs.rhino.devicemgt.app.modules.oauth.c0._c_anonymous_6(/devicemgt/app/modules/oauth/token-protected-service-invokers.js:148)
at
org.jaggeryjs.rhino.devicemgt.app.modules.oauth.c0.call(/devicemgt/app/modules/oauth/token-protected-service-invokers.js)
at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)
at
org.jaggeryjs.rhino.devicemgt.app.modules.business_controllers.c1._c_anonymous_7(/devicemgt/app/modules/business-controllers/device.js:186)
at
org.jaggeryjs.rhino.devicemgt.app.modules.business_controllers.c1.call(/devicemgt/app/modules/business-controllers/device.js)
at org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:85)
at
org.jaggeryjs.rhino.devicemgt.app.pages.cdmf

Re: [Dev] Please review and commit

2017-01-17 Thread Thanuja Jayasinghe
Hi Team,

The same fix [1] added for carbon-kernel 4.4.x branch and created the issue
[2] also.

[1] - https://github.com/wso2/carbon-kernel/pull/1273
[2] - https://github.com/wso2/carbon-kernel/issues/1272

Thanks,
Thanuja

On Wed, Jan 18, 2017 at 9:54 AM, Thanuja Jayasinghe 
wrote:

> Hi Team,
>
> Please find the attached svn diffs created to resolve issue [1] and [2].
> Please review and commit them.
>
> [1] - https://wso2.org/jira/browse/IDENTITY-5551
> [2] - https://wso2.org/jira/browse/IDENTITY-3457
>
> Thanks,
> Thanuja
>
> --
> *Thanuja Lakmal*
> Senior Software Engineer
> WSO2 Inc. http://wso2.com/
> *lean.enterprise.middleware*
> Mobile: +94715979891 +94758009992
>



-- 
*Thanuja Lakmal*
Senior Software Engineer
WSO2 Inc. http://wso2.com/
*lean.enterprise.middleware*
Mobile: +94715979891 +94758009992
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Please review and commit

2017-01-17 Thread Thanuja Jayasinghe
Hi Team,

Please find the attached svn diffs created to resolve issue [1] and [2].
Please review and commit them.

[1] - https://wso2.org/jira/browse/IDENTITY-5551
[2] - https://wso2.org/jira/browse/IDENTITY-3457

Thanks,
Thanuja

-- 
*Thanuja Lakmal*
Senior Software Engineer
WSO2 Inc. http://wso2.com/
*lean.enterprise.middleware*
Mobile: +94715979891 +94758009992
Index: 
src/main/java/org/wso2/carbon/core/services/loggeduserinfo/LoggedUserInfoAdmin.java
===
--- 
src/main/java/org/wso2/carbon/core/services/loggeduserinfo/LoggedUserInfoAdmin.java
 (revision 219330)
+++ 
src/main/java/org/wso2/carbon/core/services/loggeduserinfo/LoggedUserInfoAdmin.java
 (working copy)
@@ -20,6 +20,7 @@
 import org.apache.axis2.context.MessageContext;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
+import org.wso2.carbon.CarbonConstants;
 import org.wso2.carbon.context.PrivilegedCarbonContext;
 import org.wso2.carbon.core.AbstractAdmin;
 import org.wso2.carbon.core.common.LoggedUserInfo;
@@ -48,13 +49,13 @@
 String userName = (String) request.getSession().getAttribute(
 ServerConstants.USER_LOGGED_IN);
 
-int index = userName.indexOf("/");
+int index = userName.indexOf(CarbonConstants.DOMAIN_SEPARATOR);
 if (index < 0) {
 String domainName = (String) request.getSession().getAttribute(
 CarbonAuthenticationUtil.LOGGED_IN_DOMAIN);
 
 if (domainName != null) {
-userName = domainName + "/" + userName;
+userName = domainName + CarbonConstants.DOMAIN_SEPARATOR + 
userName;
 }
 }
 LoggedUserInfo loggedUserInfo = new LoggedUserInfo();
Index: src/main/java/org/wso2/carbon/user/core/UserCoreConstants.java
===
--- src/main/java/org/wso2/carbon/user/core/UserCoreConstants.java  
(revision 219323)
+++ src/main/java/org/wso2/carbon/user/core/UserCoreConstants.java  
(working copy)
@@ -17,6 +17,9 @@
 */
 package org.wso2.carbon.user.core;
 
+import org.apache.commons.lang.StringUtils;
+import org.wso2.carbon.base.ServerConfiguration;
+
 public class UserCoreConstants {
 
 public static final String DATA_SOURCE = "um.datasource";
@@ -62,8 +65,17 @@
 
 public static final String IS_USER_IN_ROLE_CACHE_IDENTIFIER = 
"@__isUserHasTheRole__@";
 
-public static final String DOMAIN_SEPARATOR = "/";
+public static final String DOMAIN_SEPARATOR;
 
+static {
+String userDomainSeparator = 
ServerConfiguration.getInstance().getFirstProperty("UserDomainSeparator");
+if (!StringUtils.isEmpty(userDomainSeparator)) {
+DOMAIN_SEPARATOR = userDomainSeparator.trim();
+} else {
+DOMAIN_SEPARATOR = "/";
+}
+}
+
 public static final String PRINCIPAL_USERNAME_SEPARATOR = "_";
 
 public static final String SHARED_ROLE_TENANT_SEPERATOR = 
"@SharedRoleSeperator@";
Index: 
src/main/java/org/wso2/carbon/user/core/ldap/ReadOnlyLDAPUserStoreManager.java
===
--- 
src/main/java/org/wso2/carbon/user/core/ldap/ReadOnlyLDAPUserStoreManager.java  
(revision 219323)
+++ 
src/main/java/org/wso2/carbon/user/core/ldap/ReadOnlyLDAPUserStoreManager.java  
(working copy)
@@ -41,7 +41,9 @@
 import org.wso2.carbon.user.core.util.UserCoreUtil;
 
 import javax.naming.AuthenticationException;
+import javax.naming.CompositeName;
 import javax.naming.InvalidNameException;
+import javax.naming.Name;
 import javax.naming.NamingEnumeration;
 import javax.naming.NamingException;
 import javax.naming.PartialResultException;
@@ -1639,8 +1641,8 @@
 Attributes userAttributes;
 try {
 // '\' and '"' characters need another level of escaping 
before searching
-userAttributes = 
dirContext.getAttributes(user.replace("", "\\")
-.replace("\\\"", "\""), returnedAttributes);
+userAttributes = dirContext.getAttributes(new 
CompositeName().add(user.replace("", "\\")
+.replace("\\\"", "\"")), returnedAttributes);
 
 String displayName = null;
 String userName = null;
@@ -2787,7 +2789,8 @@
 if (debug) {
 log.debug("Using DN: " + group);
 }
-Attributes groupAttributes = dirContext.getAttributes(group, 
returnedAttributes);
+Attributes groupAttributes = dirContext.getAttributes(new 
CompositeName().add(group),
+returnedAttributes);
 if (groupAttributes != null) {
 Attribute groupAttribute = 
groupAttributes.get(groupNameAttribute);

Re: [Dev] [UUF] Feature request - Print a custom message in console on startup.

2017-01-17 Thread Manuranga Perera
Cool, I didn't notice.

On Tue, Jan 17, 2017 at 5:59 AM, Muhammed Shariq  wrote:

> Hi Manu,
>
> We have implemented something similar in [1] where we print the URI's of
> the available apps which I believe address your requirement as well.
>
> The need for such a log would be to notify that the app has been deployed
> successfully and to get the app url. On the other hand, the app developer
> shouldn't need to worry about the message that's printed in the console
> IMO, so I feel, the fix we've done for [1] is sufficient.
>
> [1] - https://github.com/wso2/carbon-uuf/issues/136
>
> On Tue, Jan 17, 2017 at 12:11 AM, Manuranga Perera  wrote:
>
>> $subject
>>
>> app.yaml
>>   welcomeMessage: "{{config.appName}} started at {{appUrl}}
>>
>>
>>
>> --
>> With regards,
>> *Manu*ranga Perera.
>>
>> phone : 071 7 70 20 50
>> mail : m...@wso2.com
>>
>
>
>
> --
> Thanks,
> Shariq
> Associate Technical Lead
>



-- 
With regards,
*Manu*ranga Perera.

phone : 071 7 70 20 50
mail : m...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Getting blank page while verifying the Duo Security authenticator with IS 5.3.0

2017-01-17 Thread Thulasika Vijayanathan
Hi,

I am verifying the authenticators with IS 5.3.0. When I test Duo security
authenticator with IS 5.3.0, I got the blank page, but it works with IS
5.2.0. It seems redirect URL and signature are correct, because If we give
the wrong signature, the page will display as Access denied, Duo
Provisioning connector works fine with both IS 5.2.0 and 5.3.0.

Redirect URL in IS 5.3.0
https://localhost:9443/duoauthenticationendpoint/duoAuth.jsp?authenticator=DuoAuthenticator:LOCAL&type=duo&signreq=TX|YWRtaW58REkySjlaVk40NEM4UlZRQzdTUkJ8MTQ4NDY0MDUwMg==|f4345a7f517828d259b235703310c09b594b736c:APP|YWRtaW58REkySjlaVk40NEM4UlZRQzdTUkJ8MTQ4NDY0MzgwMg==|f65d989f837105e4a4d77167911f5abf09b7095c&sessionDataKey=bd19a4d8-f08e-4322-b0a8-cbbb31a144a7&duoHost=api-.duosecurity.com

[image: Inline image 3]

Redirect URL in IS 5.2.0
https://localhost:9443/duoauthenticationendpoint/duoAuth.jsp?authenticator=DuoAuthenticator:LOCAL&type=duo&signreq=TX|YWRtaW58REkySjlaVk40NEM4UlZRQzdTUkJ8MTQ4NDY0MDcxMQ==|969c487f980bfb10e7a45a4b43d06543a78b9500:APP|YWRtaW58REkySjlaVk40NEM4UlZRQzdTUkJ8MTQ4NDY0NDAxMQ==|bb3be42f90aa3cfc38a5f42600fa4a9ed8776421&sessionDataKey=04c82f8e-ce66-454b-9cbf-a671404109d7&duoHost=api-.duosecurity.com

[image: Inline image 2]
Can you please suggest what could be the reason?


Thanks,
Thulasika.

-- 
Thulasika
Associate Software Engineer
Mobile:0778014295
email: thulas...@wso2.com 
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Print UUF Application URLs in server startup logs

2017-01-17 Thread Kishanthan Thangarajah
@Shan, shall we trigger the auto release for the master branch using next
milestone version?

On Tue, Jan 17, 2017 at 10:35 AM, SajithAR Ariyarathna 
wrote:

> Hi All,
>
> This feature is implemented and available in the latest snapshot
> (1.0.0-SNAPSHOT) of 'carbon-uuf'.
>
> Thanks.
>
> On Fri, Jan 13, 2017 at 10:28 AM, KasunG Gajasinghe 
> wrote:
>
>>
>> On Fri, Jan 13, 2017 at 10:14 AM, Kishanthan Thangarajah <
>> kishant...@wso2.com> wrote:
>>
>>> https://github.com/wso2/carbon-uuf/issues/136 :)
>>>
>>>
>> +1. :)
>>
>>
>>> On Fri, Jan 13, 2017 at 10:12 AM, KasunG Gajasinghe 
>>> wrote:
>>>

 Thanks Kishanthan. Where can I raise a ticket for this?

 On Fri, Jan 13, 2017 at 7:17 AM, Kishanthan Thangarajah <
 kishant...@wso2.com> wrote:

> +1 for this suggestion. Yes, we get the app context(s) during server
> startup and uuf-core could log the context or the URL when starting up.
>
> On Fri, Jan 13, 2017 at 1:01 AM, KasunG Gajasinghe 
> wrote:
>
>> Hi Kishanthan/Sajith,
>>
>> Since the applications are lazily deployed, there is no sign of UUF
>> applications available in the system in the server startup logs. But, I
>> believe the UUF deployer receives the apps during startup. Therefore, can
>> we do $subject?
>>
>> Thanks,
>> KasunG
>>
>> --
>>
>> *Kasun Gajasinghe*Associate Technical Lead, WSO2 Inc.
>> email: kasung AT spamfree wso2.com
>> linked-in: http://lk.linkedin.com/in/gajasinghe
>> blog: http://kasunbg.org
>> phone: +1 650-745-4499 <(650)%20745-4499>, 77 678 0813
>>
>>
>
>
>
> --
> *Kishanthan Thangarajah*
> Technical Lead,
> Platform Technologies Team,
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - +94773426635 <+94%2077%20342%206635>
> Blog - *http://kishanthan.wordpress.com
> *
> Twitter - *http://twitter.com/kishanthan
> *
>



 --

 *Kasun Gajasinghe*Associate Technical Lead, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org
 phone: +1 650-745-4499 <(650)%20745-4499>, 77 678 0813


>>>
>>>
>>>
>>> --
>>> *Kishanthan Thangarajah*
>>> Technical Lead,
>>> Platform Technologies Team,
>>> WSO2, Inc.
>>> lean.enterprise.middleware
>>>
>>> Mobile - +94773426635 <077%20342%206635>
>>> Blog - *http://kishanthan.wordpress.com
>>> *
>>> Twitter - *http://twitter.com/kishanthan
>>> *
>>>
>>
>>
>>
>> --
>>
>> *Kasun Gajasinghe*Associate Technical Lead, WSO2 Inc.
>> email: kasung AT spamfree wso2.com
>> linked-in: http://lk.linkedin.com/in/gajasinghe
>> blog: http://kasunbg.org
>> phone: +1 650-745-4499 <(650)%20745-4499>, 77 678 0813
>>
>>
>
>
>
> --
> Sajith Janaprasad Ariyarathna
> Software Engineer; WSO2, Inc.;  http://wso2.com/
> 
>



-- 
*Kishanthan Thangarajah*
Technical Lead,
Platform Technologies Team,
WSO2, Inc.
lean.enterprise.middleware

Mobile - +94773426635
Blog - *http://kishanthan.wordpress.com *
Twitter - *http://twitter.com/kishanthan *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev