lol, i am so stupid of course it doesn't work, there are two classes with the same name..
1 of 1 people found this helpful
If you want to add additional info into Identity within a Portal, it's best to extend PortalIdentity as opposed to the Seam one, as there is Portal specific integration points within PortalIdentity that you would miss.
Well, i solved the problem by modifing my own class:
@Install(precedence = Install.FRAMEWORK+1) and copied the source code of Portalidentity into my own class to combine both classes into one.
I also though about extending, but importing portalidentityclass is a little bit complicated (because Seam web Project). I also thought about modify the sourcecode of portletbridge, but this seems not necessary.
Well, there is another error, but i haven't found the reason yet.