org.objectweb.jonas.webapp.jonasadmin.security
Class MemoryRealmForm
java.lang.Object
org.apache.struts.action.ActionForm
org.objectweb.jonas.webapp.jonasadmin.security.FactoryRealmForm
org.objectweb.jonas.webapp.jonasadmin.security.MemoryRealmForm
- All Implemented Interfaces:
- java.io.Serializable
public class MemoryRealmForm
- extends FactoryRealmForm
- Author:
- Michel-Ange ANTON
- See Also:
- Serialized Form
| Fields inherited from class org.apache.struts.action.ActionForm |
multipartRequestHandler, servlet |
|
Method Summary |
java.lang.String[] |
getGroups()
|
java.lang.String[] |
getRoles()
|
void |
reset(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
Reset all properties to their default values. |
void |
setGroups(java.lang.String[] groups)
|
void |
setRoles(java.lang.String[] roles)
|
org.apache.struts.action.ActionErrors |
validate(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
Validate the properties that have been set from this HTTP request,
and return an ActionErrors object that encapsulates any
validation errors that have been found. |
| Methods inherited from class org.apache.struts.action.ActionForm |
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MemoryRealmForm
public MemoryRealmForm()
reset
public void reset(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
- Reset all properties to their default values.
- Overrides:
reset in class FactoryRealmForm
- Parameters:
mapping - The mapping used to select this instancerequest - The servlet request we are processing
validate
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
- Validate the properties that have been set from this HTTP request,
and return an
ActionErrors object that encapsulates any
validation errors that have been found. If no errors are found, return
null or an ActionErrors object with no
recorded error messages.
- Overrides:
validate in class FactoryRealmForm
- Parameters:
mapping - The mapping used to select this instancerequest - The servlet request we are processing
- Returns:
- List of errors
getGroups
public java.lang.String[] getGroups()
setGroups
public void setGroups(java.lang.String[] groups)
getRoles
public java.lang.String[] getRoles()
setRoles
public void setRoles(java.lang.String[] roles)