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

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.
Throws:
UMException

getAnonymousUser

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

Returns:
anonymous user with the given logon id or null if anonymous user mode is set off.
Throws:
UMException

isAnonymousUser

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

Returns:
true if the user is in the list or false if not


Copyright 2006 SAP AG Complete Copyright Notice