org.glite.security.voms.webui.admin
Class RoleActions

java.lang.Object
  extended byorg.glite.security.voms.webui.Page
      extended byorg.glite.security.voms.webui.VOMSPage
          extended byorg.glite.security.voms.webui.admin.Page
              extended byorg.glite.security.voms.webui.admin.RoleActions

public class RoleActions
extends Page


Nested Class Summary
static class RoleActions.Create
           
static class RoleActions.CreateDo
           
static class RoleActions.Delete
           
static class RoleActions.DeleteDo
           
static class RoleActions.EditACL
           
static class RoleActions.List
           
static class RoleActions.ListACL
           
static class RoleActions.Search
           
 
Field Summary
static int ROLE_LIST_LIMIT
          Maximal number of roles to be listed.
 
Fields inherited from class org.glite.security.voms.webui.admin.Page
admin
 
Fields inherited from class org.glite.security.voms.webui.VOMSPage
cns, log
 
Fields inherited from class org.glite.security.voms.webui.Page
children, contentType, DEFAULT_CONTENT_TYPE, pages, parent, path, title, visible, visibleChild
 
Constructor Summary
RoleActions()
           
 
Method Summary
 void doAction(javax.servlet.http.HttpServletRequest req, java.io.PrintWriter w)
           
protected static void printNoRole(javax.servlet.http.HttpServletRequest req, java.io.PrintWriter w, int span, java.lang.String hfill)
           
protected static void printRole(javax.servlet.http.HttpServletRequest req, java.io.PrintWriter w, java.lang.String rolename, java.lang.String hfill, int span, java.util.HashMap id)
           
static void printRoleList(javax.servlet.http.HttpServletRequest req, java.io.PrintWriter w)
           
static void printSearchForm(javax.servlet.http.HttpServletRequest req, java.io.PrintWriter w)
           
static int printSimpleRoleList(javax.servlet.http.HttpServletRequest req, java.io.PrintWriter w, java.lang.String[] roles, java.lang.String rolename_pattern, java.lang.String hfill, int span, java.util.HashMap id)
           
protected static boolean unknownRole(javax.servlet.http.HttpServletRequest req, java.io.PrintWriter w)
           
 
Methods inherited from class org.glite.security.voms.webui.admin.Page
theAdmin
 
Methods inherited from class org.glite.security.voms.webui.VOMSPage
printMainTab, printRootTab
 
Methods inherited from class org.glite.security.voms.webui.Page
addChild, button, button, endForm, endForm, getPage, getTitle, getWebuiURL, hiddenField, hiddenField, init, options, printHeaderTab, printLink, printLink, printLoginInfoTab, printMenuTab, printPagePart, radio, radio, startForm, startForm, textField, textField, textField, textField
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ROLE_LIST_LIMIT

public static int ROLE_LIST_LIMIT
Maximal number of roles to be listed. If the number of roles is above this limit, then a search box is printed.

Constructor Detail

RoleActions

public RoleActions()
Method Detail

printRoleList

public static void printRoleList(javax.servlet.http.HttpServletRequest req,
                                 java.io.PrintWriter w)
                          throws java.rmi.RemoteException,
                                 VOMSException
Throws:
java.rmi.RemoteException
VOMSException

printSimpleRoleList

public static int printSimpleRoleList(javax.servlet.http.HttpServletRequest req,
                                      java.io.PrintWriter w,
                                      java.lang.String[] roles,
                                      java.lang.String rolename_pattern,
                                      java.lang.String hfill,
                                      int span,
                                      java.util.HashMap id)

printRole

protected static void printRole(javax.servlet.http.HttpServletRequest req,
                                java.io.PrintWriter w,
                                java.lang.String rolename,
                                java.lang.String hfill,
                                int span,
                                java.util.HashMap id)

printNoRole

protected static void printNoRole(javax.servlet.http.HttpServletRequest req,
                                  java.io.PrintWriter w,
                                  int span,
                                  java.lang.String hfill)

printSearchForm

public static void printSearchForm(javax.servlet.http.HttpServletRequest req,
                                   java.io.PrintWriter w)

unknownRole

protected static boolean unknownRole(javax.servlet.http.HttpServletRequest req,
                                     java.io.PrintWriter w)
                              throws java.rmi.RemoteException,
                                     VOMSException
Throws:
java.rmi.RemoteException
VOMSException

doAction

public void doAction(javax.servlet.http.HttpServletRequest req,
                     java.io.PrintWriter w)
              throws java.rmi.RemoteException,
                     VOMSException
Overrides:
doAction in class Page
Throws:
java.rmi.RemoteException
VOMSException