com.sap.security.api.logon
Interface IAnonymousUserFactory
- public interface IAnonymousUserFactory
Anonymous User Factory provides the retrieving of anonymous users.
- Version:
- 1.1
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.
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.
isAnonymousUser
public boolean isAnonymousUser(java.lang.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