org.gcube.application.framework.userprofiles.commons
Class ProfileService
java.lang.Object
org.gcube.application.framework.userprofiles.commons.ProfileService
public class ProfileService
- extends Object
- Author:
- Rena - NKUA
|
Constructor Summary |
ProfileService(String username,
org.gcube.common.core.scope.GCUBEScope scope)
The constructor |
|
Method Summary |
org.gcube.personalization.profileadministration.stubs.ProfileAdministrationPortType |
getProfileAdministration(GSSCredential cred)
|
org.gcube.personalization.userprofileaccess.stubs.UserProfileAccessPortType |
getUserProfileAccess(org.gridforum.jgss.ExtendedGSSCredential cred)
|
org.gcube.personalization.userprofileaccess.stubs.UserProfileAccessPortType |
getUserProfileAccess(org.gcube.personalization.userprofileaccess.stubs.UserProfileAccessFactoryPortType upa,
org.gridforum.jgss.ExtendedGSSCredential cred)
|
org.gcube.personalization.userprofileaccess.stubs.UserProfileAccessFactoryPortType |
getUserProfileAccessFactory()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
profileId
protected static AtomicInteger profileId
username
protected String username
scope
protected org.gcube.common.core.scope.GCUBEScope scope
ProfileService
public ProfileService(String username,
org.gcube.common.core.scope.GCUBEScope scope)
- The constructor
- Parameters:
username - the user for each it will get the profile (Resource)scope - the scope of the active VRE
getUserProfileAccessFactory
public org.gcube.personalization.userprofileaccess.stubs.UserProfileAccessFactoryPortType getUserProfileAccessFactory()
- Returns:
- UserProfileAccessFactoryPortType
getUserProfileAccess
public org.gcube.personalization.userprofileaccess.stubs.UserProfileAccessPortType getUserProfileAccess(org.gridforum.jgss.ExtendedGSSCredential cred)
- Parameters:
cred - the X509 credential
- Returns:
- UserProfileAccessPortType
getUserProfileAccess
public org.gcube.personalization.userprofileaccess.stubs.UserProfileAccessPortType getUserProfileAccess(org.gcube.personalization.userprofileaccess.stubs.UserProfileAccessFactoryPortType upa,
org.gridforum.jgss.ExtendedGSSCredential cred)
- Parameters:
upa - UserProfileAccessFactoryPortTypecred - an X509 credential
- Returns:
- UserProfileAccessPortType
getProfileAdministration
public org.gcube.personalization.profileadministration.stubs.ProfileAdministrationPortType getProfileAdministration(GSSCredential cred)
- Parameters:
cred - the X509 credential
- Returns:
- a port type for profile admin service
Copyright © 2013. All Rights Reserved.