You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@syncope.apache.org by ujwal <uj...@gmail.com> on 2016/06/22 07:00:08 UTC

Session expired error

Hi,
I am new to Syncope and LDAP and want to configure openLDAP as an internal
storage for syncope. I have used jdbc-ldap bridge to do this. I have
deployed the war file in tomcat and on opening the link of syncope-console I
get an error of 'Session expired: please login again' directly bypassing the
login page.
Any help would be appreciated.
Ujwal

--
View this message in context: http://syncope-user.1051894.n5.nabble.com/Session-expired-error-tp5708462.html
Sent from the syncope-user mailing list archive at Nabble.com.

Re: JDBC-LDAP Bridge Driver (WAS Re: Session expired error)

Posted by ujwal <uj...@gmail.com>.
My mistake. Its version 1.2.8. Thank you.

--
View this message in context: http://syncope-user.1051894.n5.nabble.com/Session-expired-error-tp5708462p5708469.html
Sent from the syncope-user mailing list archive at Nabble.com.

Re: JDBC-LDAP Bridge Driver (WAS Re: Session expired error)

Posted by Francesco Chicchiriccò <il...@apache.org>.
On 22/06/2016 10:05, ujwal wrote:
> Hi,
> Thank you for the prompt reply. I used Maven archetype version 1.0 for
> building the Syncope project.

Version 1.0? Are you sure?

I would have expected 1.2.X or 2.0.0-MX: where did you grab the Maven 
generate command from?

Regards.

-- 
Francesco Chicchiricc

Tirasa - Open Source Excellence
http://www.tirasa.net/

Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC, Olingo PMC,
CXF Committer, OpenJPA Committer, PonyMail PPMC
http://home.apache.org/~ilgrosso/


Re: JDBC-LDAP Bridge Driver (WAS Re: Session expired error)

Posted by ujwal <uj...@gmail.com>.
Hi,
Thank you for the prompt reply. I used Maven archetype version 1.0 for
building the Syncope project.
Regards,
Ujwal

--
View this message in context: http://syncope-user.1051894.n5.nabble.com/Session-expired-error-tp5708462p5708467.html
Sent from the syncope-user mailing list archive at Nabble.com.

JDBC-LDAP Bridge Driver (WAS Re: Session expired error)

Posted by Francesco Chicchiriccò <il...@apache.org>.
On 22/06/2016 09:00, ujwal wrote:
> Hi,
> I am new to Syncope and LDAP and want to configure openLDAP as an internal storage for syncope. I have used jdbc-ldap bridge to do this. I have deployed the war file in tomcat and on opening the link of syncope-console I get an error of 'Session expired: please login again' directly bypassing the login page.

Hi ujwal,
this is definitely something that no one else here has been doing 
before, as fas as I know.

Essentially, you are attempting to replace the RDBMS internal storage 
with OpenLDAP by mean of [1].

I see several problems in this approach:

   1. the persistence logic in Syncope heavily relies on JPA, which is 
plenty of RDBMS concepts that I can hardly imagine being implemented in LDAP
  2. the jdbc-ldap bridge seems quite stale: last commit is about 11 
years ago [2] and last binary package > 8 years ago [3].

Hence, I would strongly suggest to go back to one of supported 
configurations, with H2 / PostgreSQL / MySQL / MariaDB / Oracle / SQL 
Server.

The error you are seeing (BTW, which Syncope version are you running? 
And which distribution?) barely means that admin console is not able to 
contact the core, likely because the core could not initialize correctly.

Regards.

[1] http://www.openldap.org/jdbcldap/
[2] 
http://www.openldap.org/devel/gitweb.cgi?p=openldap-jdbcldap.git;a=summary
[3] 
https://sourceforge.net/projects/myvd/files/jdbc%20ldap%20bridge/jdbc%20ldap%20bridge%202.1/

-- 
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC, Olingo PMC,
CXF Committer, OpenJPA Committer, PonyMail PPMC
http://home.apache.org/~ilgrosso/