com.sap.security.api.logon
Interface IAnonymousUserFactory


public interface IAnonymousUserFactory

Anonymous User Factory provides the retrieving of anonymous users.

Version:
1.0

Method Summary
 IUser getAnonymousUser()
          Gets the anonymous user.
 IUser getAnonymousUser(java.lang.String logonID)
          Gets a named anonymous user.
 

Method Detail

getAnonymousUser

public 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.

getAnonymousUser

public IUser getAnonymousUser(java.lang.String logonID)
                       throws UMException
Gets a named anonymous user. This user must be defined in the configuration property ume.login.guest_user.uniqueids.
Parameters:
the - logon id of a guest user.
Returns:
anonymous user with the given logon id or null if anonymous user mode is set off.


Copyright © 2002 SAP AG All Rights Reserved.