update for liferay 6.2.5
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@129197 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
cba1145ac1
commit
3f9490f75b
1
pom.xml
1
pom.xml
|
@ -145,7 +145,6 @@
|
|||
<dependency>
|
||||
<groupId>org.gcube.dvos</groupId>
|
||||
<artifactId>usermanagement-core</artifactId>
|
||||
<version>[1.0.0-SNAPSHOT, 2.0.0-SNAPSHOT)</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
|
|
@ -35,8 +35,8 @@ import org.gcube.portlets.widgets.ckandatapublisherwidget.shared.MetaDataTypeWra
|
|||
import org.gcube.portlets.widgets.ckandatapublisherwidget.shared.MetadataFieldWrapper;
|
||||
import org.gcube.portlets.widgets.ckandatapublisherwidget.shared.ResourceBeanWrapper;
|
||||
import org.gcube.vomanagement.usermanagement.UserManager;
|
||||
import org.gcube.vomanagement.usermanagement.impl.liferay.LiferayUserManager;
|
||||
import org.gcube.vomanagement.usermanagement.model.UserModel;
|
||||
import org.gcube.vomanagement.usermanagement.impl.LiferayUserManager;
|
||||
import org.gcube.vomanagement.usermanagement.model.GCubeUser;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
import com.google.gwt.user.server.rpc.RemoteServiceServlet;
|
||||
|
@ -271,7 +271,8 @@ public class CKANPublisherServicesImpl extends RemoteServiceServlet implements C
|
|||
+ " whose owner is " + owner);
|
||||
// get usermanager (liferay)
|
||||
UserManager liferUserManager = new LiferayUserManager();
|
||||
UserModel userOwner = liferUserManager.getUserByScreenName(owner);
|
||||
GCubeUser userOwner = liferUserManager.getUserByUsername(owner);
|
||||
|
||||
|
||||
// build bean
|
||||
logger.debug("Building bean");
|
||||
|
|
Loading…
Reference in New Issue