Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.6)

E22562-05

oracle.apps.fnd.applcore.pref.model.util
Class PreferencesPublicUtil

java.lang.Object
  extended by oracle.apps.fnd.applcore.pref.model.util.PreferencesPublicUtil

public class PreferencesPublicUtil
extends java.lang.Object


Constructor Summary
PreferencesPublicUtil()
           
 
Method Summary
static boolean grantImpersonation(java.lang.String impersonator, java.lang.String impersonatee, java.sql.Timestamp startDate, java.sql.Timestamp endDate)
          Grants an impersonation permission for a Fusion Apps user.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreferencesPublicUtil

public PreferencesPublicUtil()
Method Detail

grantImpersonation

public static boolean grantImpersonation(java.lang.String impersonator,
                                         java.lang.String impersonatee,
                                         java.sql.Timestamp startDate,
                                         java.sql.Timestamp endDate)
                                  throws oracle.security.jps.service.policystore.PolicyStoreException
Grants an impersonation permission for a Fusion Apps user. All parameters are mandatory.

Parameters:
impersonator - User name of the impersonator who imitates another user's session. This has to be the user id or name with which the user logs into Fusion Apps.
impersonatee - User name of the impersonatee who grants the proxy permission to another user. This has to be the user id or name with which the user logs into Fusion Apps.
startDate - Start date for the grant to be activated. This should be a java.sql.Timestamp object.
endDate - End date for the grant to be de-activated. This should be a java.sql.Timestamp object.
Returns:
boolean The API will return a true if the grant is successfully added to the impersonatee in the LDAP store
Throws:
oracle.security.jps.service.policystore.PolicyStoreException

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.6)

E22562-05

Copyright © 2012 Oracle. All Rights Reserved.