SAP NetWeaver 7.1 Composition Environment

com.sap.security.api.logon
Interface IAnonymousUserFactory


public interface IAnonymousUserFactory

Anonymous User Factory provides the retrieving of anonymous users.


Method Summary
 IUser getAnonymousUser()
          Gets the anonymous user.
 IUser getAnonymousUser(String logonID)
          Gets a named anonymous user.
 boolean isAnonymousUser(String logonID)
          Checks a named anonymous user.
 

Method Detail

getAnonymousUser

IUser getAnonymousUser()
                       throws UMException
Gets the anonymous user. If anonymous user mode is set, the default user is returned and if no default user is set, the first user of the guest user's unique id is returned.

Returns:
anonymous user or null if anonymous user mode is set off.
Throws:
UMException

getAnonymousUser

IUser getAnonymousUser(String logonID)
                       throws UMException
Gets a named anonymous user. This user must be defined in the configuration property ume.login.guest_user.uniqueids. This user is not authenticated.

Parameters:
logonID - the logon id of a guest user.
Returns:
anonymous user with the given logon id or null if anonymous user mode is set off.
Throws:
UMException

isAnonymousUser

boolean isAnonymousUser(String logonID)
Checks a named anonymous user. This user must be defined in the configuration property ume.login.guest_user.uniqueids.

Parameters:
logonID - the logon id of a guest user.
Returns:
true if the user is in the list or false if not

SAP NetWeaver 7.1 Composition Environment

Copyright © 2007 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.