uk.ac.soton.itinnovation.grid.service.utils.webadmin
Class TrustedAccountsAdmin
java.lang.Object
uk.ac.soton.itinnovation.grid.service.utils.webadmin.TrustedAccountsAdmin
public class TrustedAccountsAdmin
- extends Object
Many services need to maintain a list of account and SLA services which they trust. Clients using the
service must have an account with one of these account services, or an SLA with one of the SLA services.
This class is used to provide a web-based administration interface for managing the list of
trusted services.
|
Method Summary |
String |
processPOST()
Check whether this request is a POST asking us to update anything. |
void |
showAdmin(Writer out,
String defaultServiceName)
Write an editable HTML table listing all trusted services. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TrustedAccountsAdmin
public TrustedAccountsAdmin(HttpServletRequest request,
Class<? extends ManagedGridService> serviceIface)
throws Stop
- Throws:
Stop
TrustedAccountsAdmin
public TrustedAccountsAdmin(HttpServletRequest request,
TrustedManagementServices management)
throws Stop
- Throws:
Stop
processPOST
public String processPOST()
throws Stop
- Check whether this request is a POST asking us to update anything.
If so, do the updates.
- Returns:
- a success message, or null if no action was performed
- Throws:
Stop
showAdmin
public void showAdmin(Writer out,
String defaultServiceName)
throws IOException,
Stop
- Write an editable HTML table listing all trusted services.
- Parameters:
out - stream to write todefaultServiceName - suggested service (e.g., "TradeAccountService" or "SLAService")
- Throws:
IOException
Stop
Copyright © 2001-2008 University of Southampton IT Innovation Centre. All Rights Reserved.