org.objectweb.jonas.webapp.jonasadmin.security
Class MemoryRealmForm
java.lang.Object
ActionForm
org.objectweb.jonas.webapp.jonasadmin.security.MemoryRealmForm
- public class MemoryRealmForm
- extends ActionForm
- See Also:
- Serialized Form
Method Summary |
java.lang.String |
getAction()
|
java.lang.String[] |
getGroups()
|
java.lang.String |
getName()
|
java.lang.String |
getResource()
|
java.lang.String[] |
getRoles()
|
boolean |
isSave()
|
void |
reset(ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
Reset all properties to their default values. |
void |
setAction(java.lang.String action)
|
void |
setGroups(java.lang.String[] groups)
|
void |
setName(java.lang.String name)
|
void |
setResource(java.lang.String resource)
|
void |
setRoles(java.lang.String[] roles)
|
void |
setSave(boolean save)
|
ActionErrors |
validate(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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MemoryRealmForm
public MemoryRealmForm()
reset
public void reset(ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
- Reset all properties to their default values.
- Parameters:
mapping
- The mapping used to select this instancerequest
- The servlet request we are processing
validate
public ActionErrors validate(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.
- Parameters:
mapping
- The mapping used to select this instancerequest
- The servlet request we are processing
getResource
public java.lang.String getResource()
setResource
public void setResource(java.lang.String resource)
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)
getAction
public java.lang.String getAction()
setAction
public void setAction(java.lang.String action)
isSave
public boolean isSave()
setSave
public void setSave(boolean save)
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)