Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EMFStore]: How do you extend loginService(Extension point to extend ServiceLogin Class)
[EMFStore]: How do you extend loginService [message #1760917] Thu, 04 May 2017 10:28 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 use EMFStore 1.7.0. I want extend LoginService Class. I read that 'The user verification step is customizable via an extension point.' (http://download.eclipse.org/emfstore/releases_17/javadoc/org/eclipse/emf/emfstore/internal/server/accesscontrol/LoginService.html)

My question is, What is it name of extension point necessary to extend LoginUser.

Many thanks in advance.

Amalia
Re: [EMFStore]: How do you extend loginService [message #1761371 is a reply to message #1760917] Wed, 10 May 2017 09:38 Go to previous messageGo to next message
Edgar Mueller is currently offline Edgar MuellerFriend
Messages: 17
Registered: March 2016
Junior Member
Hi Amalia,
you can not customize the LoginService directly but rather how it will be parameterized during construction. which you can do via the org.eclipse.emf.emfstore.server.accessContorl extension point.
That extension point has 4 different elements:

- orgUnitProvider is responsible for obtaining organizational units, i.e. users and groups
- userVerifierServiceProvider is responsible for verifying the credentials of a user, e.g. via a properties file or LDAP
- authorizationServiceProvider is responsible for authorizing certain actions
- orgUnitResolverProvider allows you to influence the resolution process of org units

For each of these elements there are default implementations, which will be used in case you don't specify any implementation.
--
Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/

[Updated on: Wed, 10 May 2017 09:42]

Report message to a moderator

Re: [EMFStore]: How do you extend loginService [message #1761381 is a reply to message #1761371] Wed, 10 May 2017 11:53 Go to previous message
Garcia de Mirasierra Perez is currently offline Garcia de Mirasierra PerezFriend
Messages: 15
Registered: August 2015
Junior Member
Thank Edgar.


I've already done it. It is work!!!
Previous Topic:[EMFStore]:How do you configure LDAP properties
Next Topic:[EMFStore]: What do I to invoke LADPUserVerifier Class
Goto Forum:
  


Current Time: Fri Jan 19 11:56:21 GMT 2018

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

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