Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EMFStore]:How do you configure LDAP properties(How do you configure LDAP properties)
[EMFStore]:How do you configure LDAP properties [message #1760843] Wed, 03 May 2017 14:46 Go to next message
Garcia de Mirasierra Perez is currently offline Garcia de Mirasierra PerezFriend
Messages: 15
Registered: August 2015
Junior Member
Hello Maximilian,

I want configure es.properties to use LDAP. To start, I want use a online ldap test server (http://www.forumsys.com/tutorials/integration-how-to/ldap/online-ldap-test-server/) . Exactly, I want to connect to 'gauss' user (https://direx.azurewebsites.net/?currentDn=ou%3Dmathematicians%2Cdc%3Dexample%2Cdc%3Dcom).


I can not connect to the server. My es.properyies is:
emfstore.accesscontrol.authentication.ldap.1.url=LDAP://ldap.forumsys.com:389/
emfstore.accesscontrol.authentication.ldap.1.base=ou=mathematicians,dc=example,dc=com

Do you help me?

Many thank in advanced.

Amalia
Re: [EMFStore]:How do you configure LDAP properties [message #1760845 is a reply to message #1760843] Wed, 03 May 2017 14:58 Go to previous messageGo to next message
Garcia de Mirasierra Perez is currently offline Garcia de Mirasierra PerezFriend
Messages: 15
Registered: August 2015
Junior Member
Hello Maximilian,

I send the log:

may 03, 2017 4:56:22 PM org.apache.xmlrpc.server.XmlRpcErrorLogger log
GRAVE: Failed to invoke method logIn in class org.eclipse.emf.emfstore.internal.server.connection.xmlrpc.XmlRpcEmfStoreImpl: Access denied! Maybe your password changed.
org.apache.xmlrpc.common.XmlRpcInvocationException: Failed to invoke method logIn in class org.eclipse.emf.emfstore.internal.server.connection.xmlrpc.XmlRpcEmfStoreImpl: Access denied! Maybe your password changed.
at org.apache.xmlrpc.server.ReflectiveXmlRpcHandler.invoke(ReflectiveXmlRpcHandler.java:129)
at org.apache.xmlrpc.server.ReflectiveXmlRpcHandler.execute(ReflectiveXmlRpcHandler.java:106)
at org.apache.xmlrpc.server.XmlRpcServerWorker.execute(XmlRpcServerWorker.java:46)
at org.apache.xmlrpc.server.XmlRpcServer.execute(XmlRpcServer.java:86)
at org.apache.xmlrpc.server.XmlRpcStreamServer.execute(XmlRpcStreamServer.java:200)
at org.apache.xmlrpc.webserver.Connection.run(Connection.java:208)
at org.apache.xmlrpc.util.ThreadPool$Poolable$1.run(ThreadPool.java:68)
Caused by: org.eclipse.emf.emfstore.internal.server.exceptions.AccessControlException: Access denied! Maybe your password changed.
at org.eclipse.emf.emfstore.internal.server.accesscontrol.authentication.verifiers.UserVerifier.verifyUser(UserVerifier.java:72)
at org.eclipse.emf.emfstore.internal.server.accesscontrol.LoginService.logIn(LoginService.java:124)
at org.eclipse.emf.emfstore.internal.server.connection.xmlrpc.XmlRpcEmfStoreImpl.logIn(XmlRpcEmfStoreImpl.java:82)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.apache.xmlrpc.server.ReflectiveXmlRpcHandler.invoke(ReflectiveXmlRpcHandler.java:115)
... 6 more
Caused by:
org.eclipse.emf.emfstore.internal.server.exceptions.AccessControlException: Access denied! Maybe your password changed.
at org.eclipse.emf.emfstore.internal.server.accesscontrol.authentication.verifiers.UserVerifier.verifyUser(UserVerifier.java:72)
at org.eclipse.emf.emfstore.internal.server.accesscontrol.LoginService.logIn(LoginService.java:124)
at org.eclipse.emf.emfstore.internal.server.connection.xmlrpc.XmlRpcEmfStoreImpl.logIn(XmlRpcEmfStoreImpl.java:82)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.apache.xmlrpc.server.ReflectiveXmlRpcHandler.invoke(ReflectiveXmlRpcHandler.java:115)
at org.apache.xmlrpc.server.ReflectiveXmlRpcHandler.execute(ReflectiveXmlRpcHandler.java:106)
at org.apache.xmlrpc.server.XmlRpcServerWorker.execute(XmlRpcServerWorker.java:46)
at org.apache.xmlrpc.server.XmlRpcServer.execute(XmlRpcServer.java:86)
at org.apache.xmlrpc.server.XmlRpcStreamServer.execute(XmlRpcStreamServer.java:200)
at org.apache.xmlrpc.webserver.Connection.run(Connection.java:208)
at org.apache.xmlrpc.util.ThreadPool$Poolable$1.run(ThreadPool.java:68)

may 03, 2017 4:56:24 PM org.apache.xmlrpc.server.XmlRpcErrorLogger log
GRAVE: Failed to invoke method logIn in class org.eclipse.emf.emfstore.internal.server.connection.xmlrpc.XmlRpcEmfStoreImpl: Access denied! Maybe your password changed.
org.apache.xmlrpc.common.XmlRpcInvocationException: Failed to invoke method logIn in class org.eclipse.emf.emfstore.internal.server.connection.xmlrpc.XmlRpcEmfStoreImpl: Access denied! Maybe your password changed.
at org.apache.xmlrpc.server.ReflectiveXmlRpcHandler.invoke(ReflectiveXmlRpcHandler.java:129)
at org.apache.xmlrpc.server.ReflectiveXmlRpcHandler.execute(ReflectiveXmlRpcHandler.java:106)
at org.apache.xmlrpc.server.XmlRpcServerWorker.execute(XmlRpcServerWorker.java:46)
at org.apache.xmlrpc.server.XmlRpcServer.execute(XmlRpcServer.java:86)
at org.apache.xmlrpc.server.XmlRpcStreamServer.execute(XmlRpcStreamServer.java:200)
at org.apache.xmlrpc.webserver.Connection.run(Connection.java:208)
at org.apache.xmlrpc.util.ThreadPool$Poolable$1.run(ThreadPool.java:68)
Caused by: org.eclipse.emf.emfstore.internal.server.exceptions.AccessControlException: Access denied! Maybe your password changed.
at org.eclipse.emf.emfstore.internal.server.accesscontrol.authentication.verifiers.UserVerifier.verifyUser(UserVerifier.java:72)
at org.eclipse.emf.emfstore.internal.server.accesscontrol.LoginService.logIn(LoginService.java:124)
at org.eclipse.emf.emfstore.internal.server.connection.xmlrpc.XmlRpcEmfStoreImpl.logIn(XmlRpcEmfStoreImpl.java:82)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.apache.xmlrpc.server.ReflectiveXmlRpcHandler.invoke(ReflectiveXmlRpcHandler.java:115)
... 6 more
Caused by:
org.eclipse.emf.emfstore.internal.server.exceptions.AccessControlException: Access denied! Maybe your password changed.
at org.eclipse.emf.emfstore.internal.server.accesscontrol.authentication.verifiers.UserVerifier.verifyUser(UserVerifier.java:72)
at org.eclipse.emf.emfstore.internal.server.accesscontrol.LoginService.logIn(LoginService.java:124)
at org.eclipse.emf.emfstore.internal.server.connection.xmlrpc.XmlRpcEmfStoreImpl.logIn(XmlRpcEmfStoreImpl.java:82)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.apache.xmlrpc.server.ReflectiveXmlRpcHandler.invoke(ReflectiveXmlRpcHandler.java:115)
at org.apache.xmlrpc.server.ReflectiveXmlRpcHandler.execute(ReflectiveXmlRpcHandler.java:106)
at org.apache.xmlrpc.server.XmlRpcServerWorker.execute(XmlRpcServerWorker.java:46)
at org.apache.xmlrpc.server.XmlRpcServer.execute(XmlRpcServer.java:86)
at org.apache.xmlrpc.server.XmlRpcStreamServer.execute(XmlRpcStreamServer.java:200)
at org.apache.xmlrpc.webserver.Connection.run(Connection.java:208)
at org.apache.xmlrpc.util.ThreadPool$Poolable$1.run(ThreadPool.java:68)


Many thank in advanced.

Amalia
Re: [EMFStore]:How do you configure LDAP properties [message #1760956 is a reply to message #1760845] Thu, 04 May 2017 14:54 Go to previous messageGo to next message
Edgar Mueller is currently offline Edgar MuellerFriend
Messages: 17
Registered: March 2016
Junior Member
Hi,
did you also set the property emfstore.accesscontrol.authentication.policy to ldap?


--
Edgar Mueller

Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
Re: [EMFStore]:How do you configure LDAP properties [message #1760957 is a reply to message #1760845] Thu, 04 May 2017 14:54 Go to previous messageGo to next message
Edgar Mueller is currently offline Edgar MuellerFriend
Messages: 17
Registered: March 2016
Junior Member
Hi,
did you also set the property emfstore.accesscontrol.authentication.policy to ldap?


--
Edgar Mueller

Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
Re: [EMFStore]:How do you configure LDAP properties [message #1760966 is a reply to message #1760957] Thu, 04 May 2017 16:02 Go to previous messageGo to next message
Garcia de Mirasierra Perez is currently offline Garcia de Mirasierra PerezFriend
Messages: 15
Registered: August 2015
Junior Member
Hello Edgar,

Yes, I put emfstore.accesscontrol.authentication.policy=ldap

Many thanks advances.

Amalia
Re: [EMFStore]:How do you configure LDAP properties [message #1761154 is a reply to message #1760966] Mon, 08 May 2017 10:05 Go to previous messageGo to next message
Garcia de Mirasierra Perez is currently offline Garcia de Mirasierra PerezFriend
Messages: 15
Registered: August 2015
Junior Member
Hello Maxilimian And Edgar,


Error comes out in line : final T result = (T) client.execute(serverInterface + "." + methodName, adjustedParams); of XmlRpcClientManager class. The variable methodName is equals a logIn and adjustedParams is equals userName, encrypted password and Cliente Version Info.

The URL of my EMFSTore server is https://localhost:8081/xmlrpc

Many thanks advances.

Amalia

Re: [EMFStore]:How do you configure LDAP properties [message #1761199 is a reply to message #1761154] Mon, 08 May 2017 19:54 Go to previous message
Edgar Mueller is currently offline Edgar MuellerFriend
Messages: 17
Registered: March 2016
Junior Member
Did you try connecting to the LDAP server by other means, e.g. Directory Studio (https://directory.apache.org/studio/). Do your credentials work with the URL you've specified?
If that should be the case, let us know and we can have a closer look.
--
Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/


--
Edgar Mueller

Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/

[Updated on: Mon, 08 May 2017 19:55]

Report message to a moderator

Previous Topic:[EMFStore]:
Next Topic:[EMFStore]: How do you extend loginService
Goto Forum:
  


Current Time: Sat Apr 20 02:59:18 GMT 2024

Powered by FUDForum. Page generated in 0.03114 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top