public class LoginServiceImpl extends com.google.gwt.user.server.rpc.RemoteServiceServlet implements NewLoginService
| Modifier and Type | Field and Description |
|---|---|
static String |
CACHED_VOS |
String |
SELECTED_THEMEID |
| Constructor and Description |
|---|
LoginServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addMembershipRequest(String scope,
String optionalMessage)
addMembershipRequest
|
HashMap<String,ArrayList<CheckResult>> |
checkInfrastructure(String infrastructure,
String startScopes) |
Boolean |
checkVresPresence(String infrastructure,
String startScopes)
check if the vo scope contain VREs
|
Boolean |
createAdministratorAccount(String email,
String password,
String firstname,
String lastname)
this method create a user and assigns the role Administrator to this user, also assigns the VO-ADMIN role or VRE-Manager
for each VO/VRE present in the infrastructure
|
String[] |
getConfigFromGCore()
return the infrastructure name in [0], the scopes in [1]
|
ArrayList<VO> |
getInfrastructureVOs()
first method called by the UI
|
VO |
getRootVO()
return the root org
|
ResearchEnvironment |
getSelectedRE()
return the current selected VRE
|
ArrayList<VO> |
getVresFromInfrastructure(String infrastructure,
String startScopes) |
Boolean |
installPortalEnv(String infrastructure,
String startScopes,
SelectedTheme theme,
boolean automaticRedirect)
this method start the portal installation, tipically the parameters come from the gHNConfig.xml
|
Boolean |
installVREs(ArrayList<VO> parents)
install the VREs chosen by the end user
|
Boolean |
isLayoutLoaded()
the first method to call
|
void |
loadLayout(String scope,
String URL) |
checkPermutationStrongName, doGetSerializationPolicy, getSerializationPolicy, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponsedoPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContentdoDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, servicepublic static final String CACHED_VOS
public String SELECTED_THEMEID
public ArrayList<VO> getInfrastructureVOs()
getInfrastructureVOs in interface NewLoginServicepublic void addMembershipRequest(String scope, String optionalMessage)
addMembershipRequest in interface NewLoginServicepublic String[] getConfigFromGCore()
getConfigFromGCore in interface NewLoginServicepublic VO getRootVO()
getRootVO in interface NewLoginServicepublic ResearchEnvironment getSelectedRE()
getSelectedRE in interface NewLoginServicepublic Boolean installPortalEnv(String infrastructure, String startScopes, SelectedTheme theme, boolean automaticRedirect)
installPortalEnv in interface NewLoginServiceinfrastructure - the name of the infrastructurestartScopes - the name of the starting scopes, comma separatedpublic Boolean isLayoutLoaded()
isLayoutLoaded in interface NewLoginServicepublic void loadLayout(String scope, String URL)
loadLayout in interface NewLoginServicescope - public HashMap<String,ArrayList<CheckResult>> checkInfrastructure(String infrastructure, String startScopes)
checkInfrastructure in interface NewLoginServiceinfrastructure - the infrastructure name as in GHNConfig.xmlstartScopes - the starting scopes as in GHNConfig.xmlpublic Boolean checkVresPresence(String infrastructure, String startScopes)
checkVresPresence in interface NewLoginServicepublic ArrayList<VO> getVresFromInfrastructure(String infrastructure, String startScopes)
getVresFromInfrastructure in interface NewLoginServiceinfrastructure - the infrastructure namestartScopes - the starting scopespublic Boolean installVREs(ArrayList<VO> parents)
installVREs in interface NewLoginServicepublic Boolean createAdministratorAccount(String email, String password, String firstname, String lastname)
createAdministratorAccount in interface NewLoginServiceCopyright © 2015. All Rights Reserved.