|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.2) E22562-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PreferencesExtractor
This class uses the cookies present in the request to provide ApplCore session preferences. Instead of a more general dependency on HttpServletRequest, an explicit dependency on cookies has been used. This is because the current implementation of the BI proxy servlet imposes certain requirements on code running within the webapp, in particular with regard to certain methods on the servlet request. In order to prevent unexpected calls to the servlet request API, it is proposed that a restrictive, and minimalistic contract be used here.
Method Summary | |
---|---|
boolean |
checkPrefsUpdateRequired(javax.servlet.http.Cookie[] cookies,
java.lang.String cacheKey)
This method checks the current set of cookies to see if any pillar update has occurred for preferences since the last time preferences were retrieved. |
UserPreferences |
getPreferences(ConfigurationProvider cfgProvider,
javax.servlet.http.Cookie[] cookies,
java.lang.String userName)
This method will retrieve the user preferences properties by invoking the Applsession webservice. |
UserPreferences |
getPreferencesFromLdap(java.lang.String userName)
Deprecated. kept for backward compatibilty Get the User preferences from the LDAP server |
Method Detail |
---|
boolean checkPrefsUpdateRequired(javax.servlet.http.Cookie[] cookies, java.lang.String cacheKey)
cookies
- Collection of cookies in the current requestcacheKey
- Cache key returned by previous call to getPreferences or null
UserPreferences getPreferences(ConfigurationProvider cfgProvider, javax.servlet.http.Cookie[] cookies, java.lang.String userName)
cfgProvider
- Abstract interface which provides configuration parameterscookies
- Collection of cookies in the current requestuserName
- this parameter is needed in case LDAP needs to be queried
UserPreferences getPreferencesFromLdap(java.lang.String userName)
userName
-
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.2) E22562-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |