org.edg.security.voms.webui.admin
Class RoleActions
java.lang.Object
|
+--org.edg.security.voms.webui.Page
|
+--org.edg.security.voms.webui.admin.Page
|
+--org.edg.security.voms.webui.admin.RoleActions
- public class RoleActions
- extends Page
Field Summary |
static int |
ROLE_LIST_LIMIT
Maximal number of roles to be listed. |
Fields inherited from class org.edg.security.voms.webui.admin.Page |
admin |
Fields inherited from class org.edg.security.voms.webui.Page |
children, contentType, ENC, log, pages, parent, path, TEXT_HTML, title, visible, visibleChild |
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.edg.security.voms.webui.Page |
addChild, button, button, endForm, endForm, getPage, getWebuiURL, hiddenField, hiddenField, options, printLink, printPagePart, startForm, textField, textField, textField |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
RoleActions
public RoleActions()
printRoleList
public static void printRoleList(javax.servlet.http.HttpServletRequest req,
java.io.PrintWriter w)
throws java.rmi.RemoteException,
VOMSException
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
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
java.rmi.RemoteException
VOMSException