on 2007 Jul 16 12:37 AM
Regarding Portal Services:
I would like info on how Portal Service requests are processed. I am interested in
performing operations for the current user within a portal service. If I pass
IUser reference to the portal service can it perform operations like PCDirectory
lookups for the current user. So each user would pass a reference to its IUser object to the portal service. I notice that the portal service seems to have no access to the current user or session, so I need to know if they are suitable to perform this type of work on behalf of the current user if the current user is passed to them from a portal component or a WD component?
>If I pass IUser reference to the portal service can it perform operations like PCDirectory lookups for the current user.
Yes
>So each user would pass a reference to its IUser object to the portal service. I notice that the portal service seems to have no access to the current user or session
Indeed, a portal service is a singleton service (per J2EE instance) running independent of user sessions.
>so I need to know if they are suitable to perform this type of work on behalf of the current user if the current user is passed to them from a portal component or a WD component?
Yes
public void doSomething(IUser user);
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
59 | |
10 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.