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

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.LdapRealmForm
All Implemented Interfaces:
Serializable

public class LdapRealmForm
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
LdapRealmForm()
           
 
Method Summary
 String getAlgorithm()
           
 String getAuthenticationMode()
           
 List getAuthenticationModeLdapValues()
           
 String getBaseDn()
           
 String getInitialContextFactory()
           
 String getLanguage()
           
 String getProviderUrl()
           
 String getReferral()
           
 String getRoleDn()
           
 String getRoleNameAttribute()
           
 String getRoleSearchFilter()
           
 List getSecurityAlgorithms()
           
 String getSecurityAuthentication()
           
 List getSecurityAuthenticationLdapValues()
           
 String getSecurityCredentials()
           
 String getSecurityPrincipal()
           
 String getSecurityProtocol()
           
 String getStateFactories()
           
 String getUserDn()
           
 String getUserPasswordAttribute()
           
 String getUserRolesAttribute()
           
 String getUserSearchFilter()
           
 void reset(org.apache.struts.action.ActionMapping mapping, HttpServletRequest request)
          Reset all properties to their default values.
 void setAlgorithm(String algorithm)
           
 void setAuthenticationMode(String authenticationMode)
           
 void setBaseDn(String baseDn)
           
 void setInitialContextFactory(String initialContextFactory)
           
 void setLanguage(String language)
           
 void setProviderUrl(String providerUrl)
           
 void setReferral(String referral)
           
 void setRoleDn(String roleDn)
           
 void setRoleNameAttribute(String roleNameAttribute)
           
 void setRoleSearchFilter(String roleSearchFilter)
           
 void setSecurityAuthentication(String securityAuthentication)
           
 void setSecurityCredentials(String securityCredentials)
           
 void setSecurityPrincipal(String securityPrincipal)
           
 void setSecurityProtocol(String securityProtocol)
           
 void setStateFactories(String stateFactories)
           
 void setUserDn(String userDn)
           
 void setUserPasswordAttribute(String userPasswordAttribute)
           
 void setUserRolesAttribute(String userRolesAttribute)
           
 void setUserSearchFilter(String userSearchFilter)
           
 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

LdapRealmForm

public LdapRealmForm()
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

getAuthenticationMode

public String getAuthenticationMode()

setAuthenticationMode

public void setAuthenticationMode(String authenticationMode)

getBaseDn

public String getBaseDn()

setBaseDn

public void setBaseDn(String baseDn)

getInitialContextFactory

public String getInitialContextFactory()

setInitialContextFactory

public void setInitialContextFactory(String initialContextFactory)

getLanguage

public String getLanguage()

setLanguage

public void setLanguage(String language)

getProviderUrl

public String getProviderUrl()

setProviderUrl

public void setProviderUrl(String providerUrl)

getReferral

public String getReferral()

setReferral

public void setReferral(String referral)

getRoleDn

public String getRoleDn()

setRoleDn

public void setRoleDn(String roleDn)

getRoleNameAttribute

public String getRoleNameAttribute()

setRoleNameAttribute

public void setRoleNameAttribute(String roleNameAttribute)

getRoleSearchFilter

public String getRoleSearchFilter()

setRoleSearchFilter

public void setRoleSearchFilter(String roleSearchFilter)

getSecurityAuthentication

public String getSecurityAuthentication()

setSecurityAuthentication

public void setSecurityAuthentication(String securityAuthentication)

getSecurityCredentials

public String getSecurityCredentials()

setSecurityCredentials

public void setSecurityCredentials(String securityCredentials)

getSecurityPrincipal

public String getSecurityPrincipal()

setSecurityPrincipal

public void setSecurityPrincipal(String securityPrincipal)

getSecurityProtocol

public String getSecurityProtocol()

setSecurityProtocol

public void setSecurityProtocol(String securityProtocol)

getStateFactories

public String getStateFactories()

setStateFactories

public void setStateFactories(String stateFactories)

getUserDn

public String getUserDn()

setUserDn

public void setUserDn(String userDn)

getUserPasswordAttribute

public String getUserPasswordAttribute()

setUserPasswordAttribute

public void setUserPasswordAttribute(String userPasswordAttribute)

getUserRolesAttribute

public String getUserRolesAttribute()

setUserRolesAttribute

public void setUserRolesAttribute(String userRolesAttribute)

getUserSearchFilter

public String getUserSearchFilter()

setUserSearchFilter

public void setUserSearchFilter(String userSearchFilter)

getSecurityAuthenticationLdapValues

public List getSecurityAuthenticationLdapValues()

getAuthenticationModeLdapValues

public List getAuthenticationModeLdapValues()

getAlgorithm

public String getAlgorithm()

setAlgorithm

public void setAlgorithm(String algorithm)

getSecurityAlgorithms

public List getSecurityAlgorithms()


Copyright © 2010 OW2 Consortium. All Rights Reserved.