public class AnonymousUserInformation extends UserInformation
The information for this user will be sent directly and not from an XML document.
SdxObject.ConfigurationNode
ANONYMOUS_USERNAME, CLASS_NAME_SUFFIX, host, ip, SESSION_PROPERTY
_configuration, _context, _description, _encoding, _id, _locale, _logger, _manager, _xmlizable_objects, _xmlLang, isToSaxInitialized
DEFAULT_ENCODING
Constructor and Description |
---|
AnonymousUserInformation(java.util.Locale locale)
Creates an anonymous user with a preferred locale.
|
Modifier and Type | Method and Description |
---|---|
void |
toSAX(org.xml.sax.ContentHandler handler)
Sends information about this anonymous user.
|
getAppId, getClassNameSuffix, getEmail, getFirstname, getGroups, getHost, getIp, getLastname, getPreferredLocale, initToSax, initVolatileObjectsToSax, isAdmin, isMember, isMember, isMember, isSuperuser, setEmail, setFirstname, setGroups, setHost, setIp, setLastname, setPreferredLocale, setUp
configure, configureDescription, contextualize, enableLogging, getBaseAttributes, getConfiguration, getContext, getDescription, getEncoding, getId, getLocale, getLog, getServiceManager, getXmlLang, service, setDescription, setEncoding, setId, setLocale, setUpSdxObject, setUpSdxObject, setXmlLang, verifyConfigurationResources
public AnonymousUserInformation(java.util.Locale locale) throws SDXException
locale
- The preferred locale.SDXException
public void toSAX(org.xml.sax.ContentHandler handler) throws org.xml.sax.SAXException
The information sent is basically a user definition with an anonymous property set to true.
toSAX
in interface org.apache.excalibur.xml.sax.XMLizable
toSAX
in class UserInformation
handler
- The handler where to send events.org.xml.sax.SAXException
Copyright © 2000-2010 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.