Re: [Dev] Carbon JNDI cannot find com.sun.jndi.ldap.LdapCtxFactory

2018-01-20 Thread Thusitha Thilina Dayaratne
Hi Rukshan, Does your environment contains anything or is it a just empty map? Thanks Thusitha On Sun, Jan 21, 2018 at 3:35 AM, Rukshan Premathunga wrote: > Hi All, > > Recently we started to write a LDAP client and observed following > exception when i create context instance. > context = new

Re: [Dev] Commenting out addressing module of axis2.xml for email OTP

2018-01-20 Thread Shakila Sasikaran
On Sat, Jan 20, 2018 at 3:25 PM, Omindu Rathnaweera wrote: > Thanks for the explanation Shakila and Kanapriya. I wanted to try this > out before replying to the mail. As you both have explained, without > commenting out the addressing module we infact get an error during > authentication > > As p

[Dev] Carbon JNDI cannot find com.sun.jndi.ldap.LdapCtxFactory

2018-01-20 Thread Rukshan Premathunga
Hi All, Recently we started to write a LDAP client and observed following exception when i create context instance. context = new InitialDirContext(environment); Error obtaining connection. Cannot find the InitialContextFactory com.sun.jndi.ldap.LdapCtxFactory. javax.naming.NoInitialContextExcept

Re: [Dev] User with an authenticated session is not prompted for login after SP configuration change

2018-01-20 Thread Sathya Bandara
Hi, Thanks Tharindu and Farasath for the clarifications. On Sat, Jan 20, 2018 at 9:12 AM, Farasath Ahamed wrote: > > > On Friday, January 19, 2018, Sathya Bandara wrote: > >> Hi all, >> >> When there is an already authenticated session for an application user >> with Identity Server, there is

Re: [Dev] Commenting out addressing module of axis2.xml for email OTP

2018-01-20 Thread Omindu Rathnaweera
Thanks for the explanation Shakila and Kanapriya. I wanted to try this out before replying to the mail. As you both have explained, without commenting out the addressing module we infact get an error during authentication As per the code, [1] is the place where the error is generated. From what I