[Dev] [IS] Using email as the user id for an OpenID Federated Authenticator instead of the sub field

2016-07-29 Thread Supun Nakandala
Hi devs,

I am trying to integrate CILogon OIDC (http://www.cilogon.org/oidc) as a
federated authenticator in WSO2 IS.

The returned claims from CILogon has sub, email, first_name, last_name etc
and the format of the sub field is http://cilogon.org/serverA/users/30781.

I also use JIT provisioning with the CILogon federated authenticator and
the there are two problems that I am facing

1. The created user account has the user id as /
cilogon.org/serverA/users/30781 with 'http:/' part chopped off.

2. Even if I set email field as the UserID claim in claim configuration for
the Identity Provider it is still using the returned subject field in the
user id (with 'http:/' part chopped off)

Any advice on how to fix this issue ?

-Supun
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [IS] Register OAuth application in IS 5.0.0

2014-07-23 Thread Supun Nakandala
Hi All,

What is the procedure to register an application to use OAuth using the
management console. I don't get an OAuth link under Main-Manage

Thank you.
Supun.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS] Register OAuth application in IS 5.0.0

2014-07-23 Thread Supun Nakandala
Hi Dumidu,

I am using IS 5.0.0 . But there I don't get a OAuth link under the manage
tab.


On Wed, Jul 23, 2014 at 1:15 PM, Dumidu Handakumbura dum...@wso2.com
wrote:

 Hi  Supun,

 You should find Oauth under the manage tab in IS(verified in 4.6). from
 there you can register new 3rd party applications for Oauth.

 Regards,


 On Wed, Jul 23, 2014 at 1:06 PM, Supun Nakandala 
 supun.nakand...@gmail.com wrote:

 Hi All,

 What is the procedure to register an application to use OAuth using the
 management console. I don't get an OAuth link under Main-Manage

 Thank you.
 Supun.

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Dumidu Handakumbura*
 Software Engineer - QA
 WSO2 Inc; http://www.wso2.com/.
 Mobile;
 *+9406740 %2B9406740 *




-- 
Thank you
Supun Nakandala
Dept. Computer Science and Engineering
University of Moratuwa
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [IS 4.6.0] New tenant creation error

2014-06-13 Thread Supun Nakandala
Hi All,

I have a IS 4.6.0 instance running which uses a custom jks key store. When
I try to create a new tenant I get an error. I have attached the complete
stack trace herewith. But if I use the default wso2carbon.jks key store I
can successfully create a new tenant. In the custom key store I have only
the private key and the server certificate. Do I need to add something more
here?

Thank you.
Supun


new_tenant_error
Description: Binary data
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS 4.6.0] New tenant creation error

2014-06-13 Thread Supun Nakandala
Hi Prabath,

I have attached the server side log herewith.


On Sat, Jun 14, 2014 at 1:39 AM, Prabath Siriwardena prab...@wso2.com
wrote:

 The error you attached does not help - its the client side error. There
 should be a server side error too - please attach the complete error log.

 Thanks  regards,
 -Prabath


 On Fri, Jun 13, 2014 at 11:16 PM, Supun Nakandala 
 supun.nakand...@gmail.com wrote:

 Hi All,

 I have a IS 4.6.0 instance running which uses a custom jks key store.
 When I try to create a new tenant I get an error. I have attached the
 complete stack trace herewith. But if I use the default wso2carbon.jks key
 store I can successfully create a new tenant. In the custom key store I
 have only the private key and the server certificate. Do I need to add
 something more here?

 Thank you.
 Supun

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Thanks  Regards,
 Prabath

 Twitter : @prabath
 LinkedIn : http://www.linkedin.com/in/prabathsiriwardena

 Mobile : +94 71 809 6732

 http://blog.facilelogin.com
 http://blog.api-security.org




-- 
Thank you
Supun Nakandala
Dept. Computer Science and Engineering
University of Moratuwa
TID: [0] [IS] [2014-06-14 00:53:53,407]  WARN {org.apache.directory.shared.asn1.ber.Asn1Decoder} -  The PDU has been fully decoded but there are still bytes in the buffer. {org.apache.directory.shared.asn1.ber.Asn1Decoder}
TID: [0] [IS] [2014-06-14 00:53:53,409]  WARN {org.apache.directory.server.ldap.LdapSession} -  AbandonableRequest with messageId 2 not found in outstandingRequests. {org.apache.directory.server.ldap.LdapSession}
TID: [0] [IS] [2014-06-14 00:53:53,418]  INFO {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -  'scigap_admin@carbon.super [-1234]' logged in at [2014-06-14 00:53:53,417-0400] {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil}
TID: [0] [IS] [2014-06-14 01:00:45,243]  INFO {org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager} -  LDAP connection created successfully in read-write mode {org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager}
TID: [0] [IS] [2014-06-14 01:00:45,302]  WARN {org.apache.directory.server.ldap.LdapSession} -  AbandonableRequest with messageId 4 not found in outstandingRequests. {org.apache.directory.server.ldap.LdapSession}
TID: [0] [IS] [2014-06-14 01:00:46,223] ERROR {org.apache.axis2.rpc.receivers.RPCMessageReceiver} -  Exception occurred while trying to invoke service method addTenant {org.apache.axis2.rpc.receivers.RPCMessageReceiver}
java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
	at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
	at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
	at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
	at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
	at org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:169)
	at org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:82)
	at org.wso2.carbon.core.transports.local.CarbonLocalTransportSender.finalizeSendWithToAddress(CarbonLocalTransportSender.java:45)
	at org.apache.axis2.transport.local.LocalTransportSender.invoke(LocalTransportSender.java:77)
	at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
	at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430)
	at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
	at org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
	at org.wso2.carbon.tenant.mgt.stub.TenantMgtAdminServiceStub.addTenant(TenantMgtAdminServiceStub.java:2718)
	at org.wso2.carbon.tenant.mgt.ui.clients.TenantServiceClient.addTenant(TenantServiceClient.java:90)
	at org.wso2.carbon.tenant.mgt.ui.utils.TenantMgtUtil.addTenantConfigBean(TenantMgtUtil.java:67)
	at org.apache.jsp.tenant_002dmgt.submit_005ftenant_005fajaxprocessor_jsp._jspService(org.apache.jsp.tenant_002dmgt.submit_005ftenant_005fajaxprocessor_jsp:116)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
	at org.apache.jasper.servlet.JspServlet.service

[Dev] [Identity Server] Deploying IS for production use.

2014-04-16 Thread Supun Nakandala
Hi devs,

I'm trying to integrate WSO2 Identity Server with Apache Airavata to handle
user management in scientific gateways. For that first I am trying to
deploy an instance of Identity Server. I would appreciate if you can
provide me what are the recommended steps and configuration for deploying
IS in production use.

Thank you.
Supun Nakandala
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev