org.ow2.jonas.webapp.jonasadmin.security
Class MemoryRealmForm

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.ow2.jonas.webapp.jonasadmin.security.FactoryRealmForm
          extended by org.ow2.jonas.webapp.jonasadmin.security.MemoryRealmForm
All Implemented Interfaces:
Serializable

public class MemoryRealmForm
extends FactoryRealmForm

Author:
Michel-Ange ANTON
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
MemoryRealmForm()
           
 
Method Summary
 String[] getGroups()
           
 String[] getRoles()
           
 void reset(org.apache.struts.action.ActionMapping mapping, HttpServletRequest request)
          Reset all properties to their default values.
 void setGroups(String[] groups)
           
 void setRoles(String[] roles)
           
 org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, 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.ow2.jonas.webapp.jonasadmin.security.FactoryRealmForm
getAction, getName, getResource, isSave, setAction, setName, setResource, setSave
 
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
 

Constructor Detail

MemoryRealmForm

public MemoryRealmForm()
Method Detail

reset

public void reset(org.apache.struts.action.ActionMapping mapping,
                  HttpServletRequest request)
Reset all properties to their default values.

Overrides:
reset in class FactoryRealmForm
Parameters:
mapping - The mapping used to select this instance
request - The servlet request we are processing

validate

public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
                                                      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 instance
request - The servlet request we are processing
Returns:
List of errors

getGroups

public String[] getGroups()

setGroups

public void setGroups(String[] groups)

getRoles

public String[] getRoles()

setRoles

public void setRoles(String[] roles)


Copyright © 2010 OW2 Consortium. All Rights Reserved.