class: AdminHelper

public class: AdminHelper
Author: franke (initial creation)
Project: Phase: 1.0; Status: Proposed; Version: $Revision: 2027 $ $LastChangedDate: 2009-01-29 15:; Complexity: 1
Dates: Created: 16.07.2009 15:31:17; Modified: 16.07.2009 15:31:17;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {0AFDDBD5-0936-4b1f-BE21-861C3BFC1998}
Utility class for pubman logic.
 

Goto: Custom Properties, Fields, Methods

Appears in: util

Custom Properties
 
AdminHelper Attributes
Attribute Details
private static String
  adminUserHandle
Initial: null
private static const Logger
  LOGGER
Initial: Logger.getLogger(AdminHelper.class)
Notes: Logger for this class.
private static Date
  loginTime
Initial: null
private static const int
  NUMBER_OF_URL_TOKENS
Initial: 2
 
AdminHelper Methods
Operation Details
protected
AdminHelper():
Sequential
Notes: Hide the constructor.
public static
getAdminUserHandle():String
Sequential
Notes: Gets the admin users user handle.
@return The admin's user handle.
protected static
loginUser(
   String userid,
   String password):String
Sequential
Tags: throws=HttpException,IOException,ServiceException,URISyntaxException
Notes: Logs in the given user with the given password.
@return The handle for the logged in user.