|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spagobi.commons.utilities.UserUtilities
public class UserUtilities
Constructor Summary | |
---|---|
UserUtilities()
|
Method Summary | |
---|---|
static void |
createUserFunctionalityRoot(it.eng.spago.security.IEngUserProfile userProfile)
Creates the user functionality root. |
static java.lang.String |
getSchema(java.lang.String ente,
it.eng.spago.security.IEngUserProfile userProfile)
|
static java.lang.String |
getSchema(java.lang.String ente,
it.eng.spago.base.RequestContainer aRequestContainer)
|
static java.lang.String |
getUserId(javax.servlet.http.HttpServletRequest req)
|
static it.eng.spago.security.IEngUserProfile |
getUserProfile()
Gets the user profile. |
static it.eng.spago.security.IEngUserProfile |
getUserProfile(javax.servlet.http.HttpServletRequest req)
|
static it.eng.spago.security.IEngUserProfile |
getUserProfile(java.lang.String userId)
|
static LowFunctionality |
loadUserFunctionalityRoot(it.eng.spagobi.commons.bo.UserProfile userProfile)
User functionality root exists. |
static java.lang.String[] |
readFunctionality(java.lang.String[] roles)
|
static boolean |
userFunctionalityRootExists(java.lang.String username)
User functionality root exists. |
static boolean |
userFunctionalityRootExists(it.eng.spagobi.commons.bo.UserProfile userProfile)
User functionality root exists. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserUtilities()
Method Detail |
---|
public static java.lang.String getSchema(java.lang.String ente, it.eng.spago.base.RequestContainer aRequestContainer)
public static java.lang.String getSchema(java.lang.String ente, it.eng.spago.security.IEngUserProfile userProfile)
public static it.eng.spago.security.IEngUserProfile getUserProfile() throws java.lang.Exception
java.lang.Exception
- the exceptionpublic static it.eng.spago.security.IEngUserProfile getUserProfile(javax.servlet.http.HttpServletRequest req) throws java.lang.Exception
java.lang.Exception
public static it.eng.spago.security.IEngUserProfile getUserProfile(java.lang.String userId) throws java.lang.Exception
java.lang.Exception
public static boolean userFunctionalityRootExists(java.lang.String username) throws java.lang.Exception
username
- the username
java.lang.Exception
- the exceptionpublic static boolean userFunctionalityRootExists(it.eng.spagobi.commons.bo.UserProfile userProfile)
userProfile
- the user profile
java.lang.Exception
- the exceptionpublic static LowFunctionality loadUserFunctionalityRoot(it.eng.spagobi.commons.bo.UserProfile userProfile)
userProfile
- the user profile
java.lang.Exception
- the exceptionpublic static void createUserFunctionalityRoot(it.eng.spago.security.IEngUserProfile userProfile) throws java.lang.Exception
userProfile
- the user profile
java.lang.Exception
- the exceptionpublic static java.lang.String[] readFunctionality(java.lang.String[] roles)
public static java.lang.String getUserId(javax.servlet.http.HttpServletRequest req)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |