public class SuperuserInformation extends UserInformation
SdxObject.ConfigurationNodeANONYMOUS_USERNAME, CLASS_NAME_SUFFIX, host, ip, SESSION_PROPERTY_configuration, _context, _description, _encoding, _id, _locale, _logger, _manager, _xmlizable_objects, _xmlLang, isToSaxInitializedDEFAULT_ENCODING| Constructor and Description |
|---|
SuperuserInformation() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAdmin(java.lang.String app)
Returns whether this user can admin an application.
|
boolean |
isMember(java.lang.String groupname)
Returns whether this user is a member of a group.
|
boolean |
isMember(java.lang.String[] groupnames)
Returns whether this user is a member of at least one of the groups.
|
boolean |
isMember(java.lang.String[] groupnames,
boolean all)
Return whether this user is member of some groups.
|
boolean |
isSuperuser()
Returns whether this user is a superuser.
|
getAppId, getClassNameSuffix, getEmail, getFirstname, getGroups, getHost, getIp, getLastname, getPreferredLocale, initToSax, initVolatileObjectsToSax, isAdmin, setEmail, setFirstname, setGroups, setHost, setIp, setLastname, setPreferredLocale, setUp, toSAXconfigure, configureDescription, contextualize, enableLogging, getBaseAttributes, getConfiguration, getContext, getDescription, getEncoding, getId, getLocale, getLog, getServiceManager, getXmlLang, service, setDescription, setEncoding, setId, setLocale, setUpSdxObject, setUpSdxObject, setXmlLang, verifyConfigurationResourcespublic boolean isAdmin(java.lang.String app)
For the superuser, it always returns true.
app - The application id.public boolean isSuperuser()
Always return true.
isSuperuser in class UserInformationpublic boolean isMember(java.lang.String[] groupnames,
boolean all)
Returns false.
isMember in class UserInformationgroupnames - The list of groups.all - If true, the user must be a member of each groups ; otherwise a member of at least one of them.public boolean isMember(java.lang.String[] groupnames)
Returns false.
isMember in class UserInformationgroupnames - The list of group names.public boolean isMember(java.lang.String groupname)
Returns false.
isMember in class UserInformationgroupname - The name of the group.Copyright © 2000-2010 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.