|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
com.google.gwt.user.server.rpc.RemoteServiceServlet
org.gcube.portlets.user.gcubelogin.server.LoginServiceImpl
public class LoginServiceImpl
Field Summary | |
---|---|
static String |
CACHED_VOS
|
String |
SELECTED_THEMEID
|
Fields inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet |
---|
perThreadRequest, perThreadResponse |
Constructor Summary | |
---|---|
LoginServiceImpl()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet |
---|
checkPermutationStrongName, doGetSerializationPolicy, getSerializationPolicy, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponse |
Methods inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet |
---|
doPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContent |
Methods inherited from class javax.servlet.http.HttpServlet |
---|
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
---|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String CACHED_VOS
public String SELECTED_THEMEID
Constructor Detail |
---|
public LoginServiceImpl()
Method Detail |
---|
public ArrayList<VO> getInfrastructureVOs()
getInfrastructureVOs
in interface NewLoginService
public void addMembershipRequest(String scope, String optionalMessage)
addMembershipRequest
in interface NewLoginService
public String[] getConfigFromGCore()
getConfigFromGCore
in interface NewLoginService
public VO getRootVO()
getRootVO
in interface NewLoginService
public ResearchEnvironment getSelectedRE()
getSelectedRE
in interface NewLoginService
public Boolean installPortalEnv(String infrastructure, String startScopes, SelectedTheme theme, boolean automaticRedirect)
installPortalEnv
in interface NewLoginService
infrastructure
- the name of the infrastructurestartScopes
- the name of the starting scopes, comma separatedpublic Boolean isLayoutLoaded()
isLayoutLoaded
in interface NewLoginService
public void loadLayout(String scope, String URL)
loadLayout
in interface NewLoginService
scope
- public HashMap<String,ArrayList<CheckResult>> checkInfrastructure(String infrastructure, String startScopes)
checkInfrastructure
in interface NewLoginService
infrastructure
- the infrastructure name as in GHNConfig.xmlstartScopes
- the starting scopes as in GHNConfig.xml
public Boolean checkVresPresence(String infrastructure, String startScopes)
checkVresPresence
in interface NewLoginService
public ArrayList<VO> getVresFromInfrastructure(String infrastructure, String startScopes)
getVresFromInfrastructure
in interface NewLoginService
infrastructure
- the infrastructure namestartScopes
- the starting scopes
public Boolean installVREs(ArrayList<VO> parents)
installVREs
in interface NewLoginService
public Boolean createAdministratorAccount(String email, String password, String firstname, String lastname)
createAdministratorAccount
in interface NewLoginService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |