com.oracle.producer.spi
Interface IUserContext


public interface IUserContext

Represents data of the "userContext" element, which is described in the WSRP specification. The producer is responsible for the creation and implementation of this object.

This interface is intended to be implemented only by Oracle Weblogic Portal. Oracle Systems reserves the right to add abstract methods to this interface without notice. Implementations of this interface by other parties must not be expected to compile without change in future versions of Oracle Weblogic Portal.

Method Summary
 List<String> getUserCategories()
          An option list of user categories.
 String getUserContextKey()
          A token to identify a user.
 IUserProfile getUserProfile()
          An optional profile data of the current user.
 boolean isUserProfileValid()
          Is the user context valid with respect to the user profile it contains or does it need to be re-supplied by the consumer?
 

Method Detail

getUserContextKey

String getUserContextKey()
A token to identify a user.

Returns
a token that identifies an user.

getUserProfile

IUserProfile getUserProfile()
An optional profile data of the current user.

Returns
the current user's profile data.

getUserCategories

List<String> getUserCategories()
An option list of user categories.


isUserProfileValid

boolean isUserProfileValid()
Is the user context valid with respect to the user profile it contains or does it need to be re-supplied by the consumer?



Copyright © 2011, Oracle. All rights reserved.