On 11/08/2013 11:08 AM, Antti Lankinen wrote:
Yes, the package is org.apache.syncope.core.rest.data.UserDataBinder.
Should I configure some of xml files (syncopeContext.xml) or something else... ?
,Antti

No, because this is simple maven overlays build functionality.
So, starting with the assumption that to override UserDataBinder is the right way, what's your exactly problem?



On 11/08/2013 11:53 AM, Massimiliano Perrone wrote:
On 11/08/2013 10:49 AM, Antti Lankinen wrote:
I also tried to override UserDataBinder class but syncope didn't use my class.
,Antti

Sorry Antti, but this is impossible :) obviously in a right configuration.. In your overlay, are you sure that the package of your class is: ./core/src/main/java/org/apache/syncope/core/rest/data/UserDataBinder.java?


On 11/08/2013 11:45 AM, Massimiliano Perrone wrote:
Hi Antti, in line answer.

On 11/08/2013 10:38 AM, anttig wrote:
Hi,

I created overlay project where I have a class which extends UserDataBinder
class update method.
My class is named  UserDataBinderUpdate and it's in the same package
structure as UserDataBinder.
I can see that my class is included in syncope.war file when I build the
war.
But when I run Syncope and update user, original UserDataBinder update
method is used and not the one which
I wrote.
So my question is, how to extend UserDataBinder class ?

Why you have created a UserDataBinderUpdate class instead to override UserDataBinder class itself?


Kind regards,
  Antti



--
View this message in context: http://syncope-user.1051894.n5.nabble.com/Override-UserDataBinder-update-method-tp5707407.html
Sent from the syncope-user mailing list archive at Nabble.com.








--
Massimiliano Perrone
Tel +39 393 9121310

Tirasa S.r.l.
Viale D'Annunzio 267 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net

Apache Syncope PMC Member
http://people.apache.org/~massi/

"L'apprendere molte cose non insegna l'intelligenza"
(Eraclito)

Reply via email to