|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
IWDClientUser describes a Web Dynpro client user. It provides
accessor methods to some attributes of the user profile. It also provides a
method to access the com.sap.security.api.IUser which then can be
used to get full access on the user's profile.
An IWDClientUser can represent an authenticated user or an anonymous
user. See method isAnonymousUser() for details.
com.sap.tc.webdynpro.services.sal.core.IClientUserFactory| Method Summary | |
void |
checkPermission(java.security.Permission permission)
If the user has (possibly via implication) the specified permission, this method does nothing. |
java.lang.String |
getClientUserID()
Return is the client user ID of the actual client user. |
java.lang.String |
getFirstName()
Return is the user's first name. |
java.lang.String |
getLastName()
Return is the user's last name. |
java.util.Locale |
getLocale()
Return is the locale the is specified for the current user by the user management system. |
java.lang.String |
getSalutation()
Return is the salutation for the user. |
com.sap.security.api.IUser |
getSAPUser()
Return is the com.sap.security.api.IUser representing
the current user. |
java.lang.String |
getTitle()
Return is the user's title. |
boolean |
hasPermission(java.security.Permission permission)
Returns true if the user has (possibly via implication) the given permission. |
boolean |
isAnonymouseUser()
Deprecated. The name of this method contained a typo, use isAnonymousUser()
instead. The method with the old name has been kept for backward compatibility reasons
only and may be withdrawn with the first new NetWeaver release in 2006. |
boolean |
isAnonymousUser()
Return is true if the client user is an anonymous user, i.e. |
| Methods inherited from interface com.sap.tc.webdynpro.services.sal.api.IWDService |
getDescription, getServiceName, getVersion |
| Method Detail |
public java.lang.String getClientUserID()
public java.lang.String getFirstName()
public java.lang.String getLastName()
public java.lang.String getTitle()
public java.lang.String getSalutation()
public java.util.Locale getLocale()
null
is returned. WDResourceHandler.getCurrentSessionLocale().null is returnedpublic boolean isAnonymousUser()
public boolean isAnonymouseUser()
isAnonymousUser()
instead. The method with the old name has been kept for backward compatibility reasons
only and may be withdrawn with the first new NetWeaver release in 2006.
public com.sap.security.api.IUser getSAPUser()
com.sap.security.api.IUser representing
the current user. In case of the current user represents an anonymous
user, null is returned.com.sap.security.api.IUser representing
the current userpublic boolean hasPermission(java.security.Permission permission)
null is returned.permission - the permission the user may have
public void checkPermission(java.security.Permission permission)
throws java.security.AccessControlException
AccessControlEcxeption,
and possibly trigger appropriate tracing action.
In case of an anonymous user, an AccessControlEcxeption is thrown.
permission - the permission the user may havejava.security.AccessControlException - if the user doesn't have the specified permission
|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||