cancel
Showing results for 
Search instead for 
Did you mean: 

IUser - getTransientAttribute(...)?

Former Member
0 Kudos

Hi,

the method setTransientAttribute(String namespace,String name,Object o) of class IUser requires a namespace.

What is this namespace?

I would like to use this method in different Webdynpro applications running parallel, so that I can access the attributes across the applications.

Regards

Meesum

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

MK,

This just a string that helps to avid name conflicts for attribute name, same as with XML.

SAP has 3 reserved namespaces:

IPrincipal.DEFAULT_NAMESPACE

= "com.sap.security.core.usermanagement"

IPrincipal.DEFAULT_RELATION_NAMESPACE

= "com.sap.security.core.usermanagement.relation";

IPrincipal.TRANSIENT_NAMESPACE

= "$transient$";

Good practice is to give name in form com.company.application.module -- i.e. same as Java package.

VS

Answers (1)

Answers (1)

Former Member
0 Kudos