public class TargetPrincipalsDroplet extends DynamoServlet implements atg.userdirectory.droplet.Constants
The following properties will typically be set in a properties file
The following properties will typically be set in jhtml file
The following output parameters are supported for this droplet
RepositoryUserDirectory| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | CLASS_VERSIONClass version string | 
| static java.lang.String | PRINCIPALS | 
| static ParameterName | ROLE_NAME | 
| static ParameterName | USER_ID | 
mAllowCleanupRequest, mParametersSERVLET_INFO_KEYSERVICE_INFO_KEYEMPTY, ERROR, INVALID_OPTIONAL_PARAM, MISSING_REQUIRED_PARAM, NO_ORGANIZATION, NO_USER, OUTPUTDEFAULT_LOG_TRACE_STATUSDEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS| Constructor and Description | 
|---|
| TargetPrincipalsDroplet() | 
| Modifier and Type | Method and Description | 
|---|---|
| UserDirectory | getUserDirectory()Gets the userDirectory property | 
| void | service(DynamoHttpServletRequest pRequest,
       DynamoHttpServletResponse pResponse)Gets the userId and roleName request parameters and does the
 following:
 1) Gets the relative roles associated with the user
 2) Gets the target principal of each role (organization) and
 returns them in the principals parameter | 
| void | setUserDirectory(UserDirectory pUserDirectory)Sets the userDirectory property | 
doDelete, doGet, doPost, doPut, getParameter, getParameters, getServletContext, init, service, service, setParameterdestroy, getServletConfig, getServletInfo, setServletInfogetAverageRequestHandlingTime, getHandledRequestCount, getRequestStartTime, getTotalRequestHandlingTime, isKeepingStatistics, notifyHandledRequest, resetStatistics, setKeepingStatisticsaddLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopServicevlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarningpublic static java.lang.String CLASS_VERSION
public static final ParameterName ROLE_NAME
public static final ParameterName USER_ID
public static final java.lang.String PRINCIPALS
public void setUserDirectory(UserDirectory pUserDirectory)
pUserDirectory - the userdirectory to perform onpublic UserDirectory getUserDirectory()
public void service(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
service in class DynamoServletpRequest - the request to examinepResponse - the response associated with the requestjavax.servlet.ServletException - if a servlet error occursjava.io.IOException - if an io error occurs