HDIV API 2.0.4
A B C D E F G H I J K L M N O P R S T U V Z

A

AbstractDataComposer - Class in org.hdiv.dataComposer
It processes the data contributed by the HDIV custom tags.
AbstractDataComposer() - Constructor for class org.hdiv.dataComposer.AbstractDataComposer
 
AbstractMultipartConfig - Class in org.hdiv.config.multipart
Class containing multipart request configuration and methods initialized from Spring Factory.
AbstractMultipartConfig() - Constructor for class org.hdiv.config.multipart.AbstractMultipartConfig
 
AbstractValidatorHelper - Class in org.hdiv.filter
It validates client requests by comsuming an object of type IState and validating all the entry data, besides replacing relative values by its real values.
AbstractValidatorHelper() - Constructor for class org.hdiv.filter.AbstractValidatorHelper
 
acceptedPattern - Variable in class org.hdiv.validator.Validation
Regular expression that values received in the parameter must fit.
ACTION_ERROR - Static variable in class org.hdiv.util.HDIVErrorCodes
The action received in the request does not match the state action.
actionName(HttpServletRequest) - Static method in class org.hdiv.util.HDIVUtil
Return the URL representing the current request.
addCookie(Cookie) - Method in interface org.hdiv.filter.IResponseWrapper
Adds the specified cookie to the response.
addCookie(Cookie) - Method in class org.hdiv.filter.ResponseWrapper
Adds the specified cookie to the response.
addFileItem(String, MultipartFile) - Method in class org.hdiv.filter.RequestWrapper
Adds a file parameter to the set of file parameters for this request.
addFileItem(String, List) - Method in class org.hdiv.filter.RequestWrapper
Adds a file parameter to the set of file parameters for this request.
addFileParameter(RequestWrapper, FileItem) - Method in class org.hdiv.config.multipart.AbstractMultipartConfig
Adds a file parameter to the set of file parameters for this request and also to the list of all parameters.
addFileParameter(RequestWrapper, FileItem) - Method in interface org.hdiv.config.multipart.IMultipartConfig
Adds a file parameter to the set of file parameters for this request and also to the list of all parameters.
addFileParameter(RequestWrapper, FileItem) - Method in class org.hdiv.config.multipart.SpringMVCMultipartConfig
Adds a file parameter to the set of file parameters for this request and also to the list of all parameters.
addFlowId(String) - Method in class org.hdiv.dataComposer.DataComposerMemory
Adds the flow identifier to the page of type IPage.
addFlowId(String) - Method in interface org.hdiv.dataComposer.IDataComposer
Adds the flow identifier to the page of type IPage.
addHeader(String, String) - Method in class org.hdiv.filter.ResponseWrapper
The default behavior of this method is to return addHeader(String name, String value) on the wrapped response object.
addPage(String, IPage) - Method in interface org.hdiv.session.ISession
It adds a new page to the user session.
addPage(String) - Method in interface org.hdiv.session.IStateCache
Adds a new page identifier to the map pageIds.
addPage(String, IPage) - Method in class org.hdiv.session.SessionHDIV
It adds a new page to the user session.
addPage(String) - Method in class org.hdiv.session.StateCache
Adds a new page identifier to the map pageIds.
addParameter(String, Object) - Method in class org.hdiv.filter.RequestWrapper
Add a single value for the specified HTTP parameter name.
addParameter(String, IParameter) - Method in interface org.hdiv.state.IState
Adds a new parameter to the state this.
addParameter(String, IParameter) - Method in class org.hdiv.state.State
Adds a new parameter to the state this.
addState(IState) - Method in interface org.hdiv.state.IPage
Adds a new state to the page this.
addState(String, String) - Method in interface org.hdiv.state.IPage
Adds a new state hash to the page this.
addState(IState) - Method in class org.hdiv.state.Page
Adds a new state to the page this.
addState(String, String) - Method in class org.hdiv.state.Page
Adds a new state hash to the page this.
addTextParameter(RequestWrapper, FileItem) - Method in interface org.hdiv.config.multipart.IMultipartConfig
Adds a regular text parameter to the set of text parameters for this request.
addTextParameter(RequestWrapper, FileItem) - Method in class org.hdiv.config.multipart.SpringMVCMultipartConfig
Adds a regular text parameter to the set of text parameters for this request.
addTextParameter(RequestWrapper, FileItem) - Method in class org.hdiv.config.multipart.Struts2MultipartConfig
Adds a regular text parameter to the set of text parameters for this request.
addTextParameter(RequestWrapper, FileItem) - Method in class org.hdiv.config.multipart.StrutsMultipartConfig
Adds a regular text parameter to the set of text parameters for this request.
addTextParameter(String, Object) - Method in class org.hdiv.filter.RequestWrapper
Adds a regular text parameter to the set of text parameters for this request.
addValue(String) - Method in interface org.hdiv.state.IParameter
Adds the value value to the parameter this.
addValue(String) - Method in class org.hdiv.state.Parameter
Adds the value value to the parameter this.
ApplicationHDIV - Class in org.hdiv.application
ServletContext's Wrapper class
ApplicationHDIV() - Constructor for class org.hdiv.application.ApplicationHDIV
 
areEditableParameterValuesValid(String, String, String[], String) - Method in class org.hdiv.config.HDIVConfig
Checks if the values values are valid for the editable parameter parameter, using the validations defined in the hdiv-validations.xml configuration file of Spring.
ATTRIBUTE_MAX_LENGTH_EXCEEDED - Static variable in interface org.hdiv.config.multipart.IMultipartConfig
This is the ServletRequest attribute that should be set when a multipart request is being read and the maximum length is exceeded.
attributeAdded(HttpSessionBindingEvent) - Method in class org.hdiv.listener.InitListener
 
attributeAdded(ServletContextAttributeEvent) - Method in class org.hdiv.listener.InitListener
 
attributeAdded(HttpSessionBindingEvent) - Method in class org.hdiv.listener.InitWebSphereListener
 
attributeAdded(ServletContextAttributeEvent) - Method in class org.hdiv.listener.InitWebSphereListener
 
attributeRemoved(HttpSessionBindingEvent) - Method in class org.hdiv.listener.InitListener
 
attributeRemoved(ServletContextAttributeEvent) - Method in class org.hdiv.listener.InitListener
 
attributeRemoved(HttpSessionBindingEvent) - Method in class org.hdiv.listener.InitWebSphereListener
 
attributeRemoved(ServletContextAttributeEvent) - Method in class org.hdiv.listener.InitWebSphereListener
 
attributeReplaced(HttpSessionBindingEvent) - Method in class org.hdiv.listener.InitListener
 
attributeReplaced(ServletContextAttributeEvent) - Method in class org.hdiv.listener.InitListener
 
attributeReplaced(HttpSessionBindingEvent) - Method in class org.hdiv.listener.InitWebSphereListener
 
attributeReplaced(ServletContextAttributeEvent) - Method in class org.hdiv.listener.InitWebSphereListener
 

B

beginRequest() - Method in class org.hdiv.dataComposer.AbstractDataComposer
It is called by each request or form of the html page sent back by the server.
beginRequest(String) - Method in class org.hdiv.dataComposer.AbstractDataComposer
It is called by each request or form of the html page returned by the server, as long as the destiny of the request is an action.
beginRequest() - Method in class org.hdiv.dataComposer.DataComposerMemory
It is called by each request or form existing in the page returned by the server.
beginRequest(String) - Method in class org.hdiv.dataComposer.DataComposerMemory
It is called in the pre-processing stage of each request or form existing in the page returned by the server, as long as the destiny of the request is an action.
beginRequest() - Method in interface org.hdiv.dataComposer.IDataComposer
It is called by each request or form of the html page sent back by the server.
beginRequest(String) - Method in interface org.hdiv.dataComposer.IDataComposer
It is called by each request or form of the html page returned by the server, as long as the destiny of the request is an action.

C

CACHE_NAME - Static variable in class org.hdiv.util.Constants
 
calculateStateHash(String) - Method in class org.hdiv.util.EncodingUtil
Calculate data hash value.
checkValue(String, Map) - Method in class org.hdiv.config.HDIVConfig
Checks if value is an init action or parameter, in which case it will not be treated by HDIV.
CipherHTTP - Class in org.hdiv.cipher
The principal class related with cryptography.
CipherHTTP() - Constructor for class org.hdiv.cipher.CipherHTTP
 
cleanBuffer() - Method in class org.hdiv.session.StateCache
If the map pageIds has reached its maximun size maxSize, the oldest page identifier in the map is deleted.
compose(String, String, boolean) - Method in class org.hdiv.dataComposer.DataComposerMemory
It generates a new encoded value for the parameter parameter and the value value passed as parameters.
compose(String, String, String, boolean) - Method in class org.hdiv.dataComposer.DataComposerMemory
It generates a new encoded value for the parameter parameter and the value value passed as parameters.
compose(String, String, boolean, boolean) - Method in class org.hdiv.dataComposer.DataComposerMemory
Adds a new IParameter object, generated from the values passed as parameters, to the current state state.
compose(String, String, boolean, String) - Method in class org.hdiv.dataComposer.DataComposerMemory
It generates a new encoded value for the parameter parameter and the value value passed as parameters.
compose(String, String, String, boolean, boolean, String) - Method in class org.hdiv.dataComposer.DataComposerMemory
It generates a new encoded value for the parameter parameter and the value value passed as parameters.
compose(String, String, boolean, boolean, String) - Method in class org.hdiv.dataComposer.DataComposerMemory
Adds a new IParameter object, generated from the values passed as parameters, to the current state state.
compose(String, String, boolean, String, boolean, String) - Method in class org.hdiv.dataComposer.DataComposerMemory
Adds a new IParameter object, generated from the values passed as parameters, to the current state state.
compose(String, String, boolean) - Method in interface org.hdiv.dataComposer.IDataComposer
It generates a new encoded value for the parameter parameter and the value value passed as parameters.
compose(String, String, String, boolean) - Method in interface org.hdiv.dataComposer.IDataComposer
It generates a new encoded value for the parameter parameter and the value value passed as parameters.
compose(String, String, boolean, String) - Method in interface org.hdiv.dataComposer.IDataComposer
It generates a new encoded value for the parameter parameter and the value value passed as parameters.
compose(String, String, boolean, boolean, String) - Method in interface org.hdiv.dataComposer.IDataComposer
Adds a new IParameter object, generated from the values passed as parameters, to the current state state.
compose(String, String, String, boolean, boolean, String) - Method in interface org.hdiv.dataComposer.IDataComposer
It generates a new encoded value for the parameter parameter and the value value passed as parameters.
composeAction(String, int, String) - Static method in class org.hdiv.util.HDIVUtil
It generates a new encoded values for the url parameters.
CONFIDENTIAL_VALUE_INCORRECT - Static variable in class org.hdiv.util.HDIVErrorCodes
Incorrect value.
Constants - Class in org.hdiv.util
Global constants.
Constants() - Constructor for class org.hdiv.util.Constants
 
contextDestroyed(ServletContextEvent) - Method in class org.hdiv.listener.InitListener
 
contextDestroyed(ServletContextEvent) - Method in class org.hdiv.listener.InitWebSphereListener
 
contextInitialized(ServletContextEvent) - Method in class org.hdiv.listener.InitListener
 
contextInitialized(ServletContextEvent) - Method in class org.hdiv.listener.InitWebSphereListener
 
convertSizeToBytes(String, long) - Method in class org.hdiv.config.multipart.AbstractMultipartConfig
Converts a size value from a string representation to its numeric value.
COOKIE_INCORRECT - Static variable in class org.hdiv.util.HDIVErrorCodes
The cookie received in the request has an incorrect value.
createRandomToken(int) - Static method in class org.hdiv.util.HDIVUtil
Generates a random number between 0 (inclusive) and n (exclusive).

D

DASH - Static variable in class org.hdiv.dataComposer.DataComposerMemory
Dash character
DataComposerCipher - Class in org.hdiv.dataComposer
It generates the states of each page storing them in the client.
DataComposerCipher() - Constructor for class org.hdiv.dataComposer.DataComposerCipher
 
DataComposerHash - Class in org.hdiv.dataComposer
It generates the page states stored in the client and in the user session.
DataComposerHash() - Constructor for class org.hdiv.dataComposer.DataComposerHash
 
DataComposerMemory - Class in org.hdiv.dataComposer
It generates the states of each page by storing them in the user session.
DataComposerMemory() - Constructor for class org.hdiv.dataComposer.DataComposerMemory
 
DataValidator - Class in org.hdiv.dataValidator
It uses an object of type IState and validates all the entry data, besides to replacing the relative values by its real values.
DataValidator() - Constructor for class org.hdiv.dataValidator.DataValidator
 
decode64(String) - Method in class org.hdiv.util.EncodingUtil
Decodes Base64 alphabet characters of the string s and decompresses it.
decode64Cipher(String) - Method in class org.hdiv.util.EncodingUtil
Decodes Base64 alphabet characters of the string s, decrypts this string and finally decompresses it.
decrypt(byte[]) - Method in class org.hdiv.cipher.CipherHTTP
Decrypts data in a single-part operation, or finishes a multiple-part operation.
decrypt(byte[]) - Method in interface org.hdiv.cipher.ICipherHTTP
Decrypts data in a single-part operation, or finishes a multiple-part operation.
decrypt(String) - Method in class org.hdiv.cipher.MockCipherHTTP
 
decrypt(byte[]) - Method in class org.hdiv.cipher.MockCipherHTTP
 
DEFAULT_ALGORITHM - Static variable in class org.hdiv.cipher.KeyFactory
Name of the default PRNG algorithm
DEFAULT_PROVIDER - Static variable in class org.hdiv.cipher.KeyFactory
Name of the default provider
DEFAULT_SIZE_MAX - Static variable in interface org.hdiv.config.multipart.IMultipartConfig
The default value for the maximum allowable size, in bytes, of an uploaded file.
DEFAULT_SIZE_THRESHOLD - Static variable in interface org.hdiv.config.multipart.IMultipartConfig
The default value for the threshold which determines whether an uploaded file will be written to disk or cached in memory.
determineEncoding(HttpServletRequest) - Method in class org.hdiv.config.multipart.SpringMVCMultipartConfig
Determine the encoding for the given request.
doFilterInternal(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class org.hdiv.filter.ValidatorFilter
Called by the container each time a request/response pair is passed through the chain due to a client request for a resource at the end of the chain.

E

EDITABLE_PARAMETER_ERROR - Static variable in class org.hdiv.util.HDIVErrorCodes
The request attributes key under HDIV should store errors produced in the editable fields.
EDITABLE_VALIDATION_ERROR - Static variable in class org.hdiv.util.HDIVErrorCodes
Error in the editable parameter validation.
encode64(Object) - Method in class org.hdiv.util.EncodingUtil
The object obj is compressed and coded in Base64.
encode64Cipher(Object) - Method in class org.hdiv.util.EncodingUtil
The object obj is compressed, encrypted and coded in Base64.
EncodingUtil - Class in org.hdiv.util
Class containing utility methods for encoding.
EncodingUtil() - Constructor for class org.hdiv.util.EncodingUtil
 
encrypt(byte[]) - Method in class org.hdiv.cipher.CipherHTTP
Encrypts data in a single-part operation, or finishes a multiple-part operation.
encrypt(byte[]) - Method in interface org.hdiv.cipher.ICipherHTTP
Encrypts data in a single-part operation, or finishes a multiple-part operation.
encrypt(String) - Method in class org.hdiv.cipher.MockCipherHTTP
 
encrypt(byte[]) - Method in class org.hdiv.cipher.MockCipherHTTP
 
endPage() - Method in class org.hdiv.dataComposer.DataComposerCipher
Only if the generated encoded state exceeds the maximun length allowed it will be necessary to store in session the object representing the current page.
endPage() - Method in class org.hdiv.dataComposer.DataComposerMemory
This method is called in the pre-processing stage of each user request to add an IPage object, which represents the page to show by the server, with all its states to the user session.
endPage() - Method in interface org.hdiv.dataComposer.IDataComposer
It is called in the post-processing stage of each user request.
endPage() - Method in class org.hdiv.filter.AbstractValidatorHelper
Handle the storing of HDIV's state, which is done after action invocation.
endPage() - Method in interface org.hdiv.filter.IValidationHelper
It is called in the post-processing stage of each user request.
endPage() - Method in class org.hdiv.filter.ValidatorHelperRequest
Handle the storing of HDIV's state, which is done after action invocation.
endPage() - Method in class org.hdiv.filter.ValidatorHelperThreadLocal
It is called in the post-processing stage of each user request.
endRequest() - Method in class org.hdiv.dataComposer.DataComposerCipher
It is called by each request or form existing in the page returned by the server.
endRequest() - Method in class org.hdiv.dataComposer.DataComposerHash
The state that is sent to the client is generated in Base64 and the hash of this state is stored in the session.
endRequest() - Method in class org.hdiv.dataComposer.DataComposerMemory
It is called in the pre-processing stage of each request or form existing in the page returned by the server.
endRequest() - Method in interface org.hdiv.dataComposer.IDataComposer
It is called in the pre-processing stage of each request or form existing in the page returned by the server.
equals(Cookie, boolean) - Method in class org.hdiv.filter.SavedCookie
Compares this Cookie to the specified object.
existComponentType() - Method in class org.hdiv.validator.Validation
Checks if a component type has been defined to which apply the validation this.
existIgnoreParameters() - Method in class org.hdiv.validator.Validation
Checks if there are editable parameters that must be ignored in the validation process.
existParameter(String) - Method in interface org.hdiv.state.IState
Checks if exists a parameter with the given identifier key.
existParameter(String) - Method in class org.hdiv.state.State
Checks if exists a parameter with the given identifier key.
existPosition(int) - Method in interface org.hdiv.state.IParameter
Checks if the position position exists in the array of values values.
existPosition(int) - Method in class org.hdiv.state.Parameter
Checks if the position position exists in the array of values values.
existState(String) - Method in interface org.hdiv.state.IPage
Checks if exists a state with the given identifier key.
existState(String) - Method in class org.hdiv.state.Page
Checks if exists a state with the given identifier key.
existValidations() - Method in class org.hdiv.config.HDIVConfig
Checks if there are validations defined for editable fields
existValue(String) - Method in interface org.hdiv.state.IParameter
Checks if parameter has value.
existValue(String) - Method in class org.hdiv.state.Parameter
Checks if parameter has value.

F

FILEUPLOAD_EXCEPTION - Static variable in interface org.hdiv.config.multipart.IMultipartConfig
This is the ServletRequest attribute that should be set when a multipart request is being read and failed.
format(String, String, String, String) - Method in class org.hdiv.logs.Logger
String formateado con la información del ataque producido por el usuario.

G

generateInitialPageId() - Method in class org.hdiv.session.SessionHDIV
Generates a random number for the first page identifier
generateKey() - Method in interface org.hdiv.cipher.IKeyFactory
This method is called whenever a key needs to be generated.
generateKey() - Method in class org.hdiv.cipher.KeyFactory
This method is called whenever a key needs to be generated.
generateKeyWithDefaultValues() - Method in interface org.hdiv.cipher.IKeyFactory
This method is called whenever a key needs to be generated.
generateKeyWithDefaultValues() - Method in class org.hdiv.cipher.KeyFactory
This method is called whenever a key needs to be generated with Pseudo Random Number Generator algorithm and provider default values.
generateUid() - Method in class org.hdiv.util.RandomGuidUidGenerator
 
generateUid() - Method in interface org.hdiv.util.UidGenerator
Generate a new unique id.
getAction() - Method in class org.hdiv.dataComposer.AbstractDataComposer
 
getAction() - Method in interface org.hdiv.state.IState
 
getAction() - Method in class org.hdiv.state.State
 
getActionMappingName(String) - Static method in class org.hdiv.util.HDIVUtil
Return the form action converted into an action mapping path.
getAlgorithm() - Method in class org.hdiv.cipher.KeyFactory
 
getAlgorithm() - Method in class org.hdiv.cipher.MockCipherHTTP
 
getApplication() - Method in class org.hdiv.application.ApplicationHDIV
 
getApplication() - Method in class org.hdiv.dataComposer.AbstractDataComposer
 
getApplication() - Method in interface org.hdiv.dataComposer.IDataComposer
 
getApplication() - Static method in class org.hdiv.util.HDIVUtil
 
getBean(String) - Method in class org.hdiv.application.ApplicationHDIV
Return an instance, which may be shared or independent, of the given bean name.
getBean(String) - Method in interface org.hdiv.application.IApplication
Return an instance, which may be shared or independent, of the given bean name.
getBeanFactory() - Method in class org.hdiv.filter.AbstractValidatorHelper
 
getCacheName() - Method in class org.hdiv.session.SessionHDIV
 
getCause() - Method in exception org.hdiv.exception.HDIVException
Returns the cause of this throwable or null if the cause is nonexistent or unknown.
getCipherName() - Method in class org.hdiv.session.SessionHDIV
 
getComment() - Method in class org.hdiv.filter.SavedCookie
 
getConfidentiality() - Method in class org.hdiv.config.HDIVConfig
 
getCookies() - Method in class org.hdiv.filter.ResponseWrapper
Obtains all the cookies added by the application.
getCount() - Method in interface org.hdiv.state.IParameter
 
getCount() - Method in class org.hdiv.state.Parameter
 
getDataComposer(HttpServletRequest) - Static method in class org.hdiv.util.HDIVUtil
Returns data composer object from request.
getDataComposer() - Static method in class org.hdiv.util.HDIVUtil
 
getDataComposerName() - Static method in class org.hdiv.util.HDIVUtil
 
getDataValidator() - Method in class org.hdiv.filter.AbstractValidatorHelper
 
getDataValidator() - Static method in class org.hdiv.util.HDIVUtil
 
getDecryptCipher() - Method in interface org.hdiv.session.ISession
Inilitializes the data decrypter.
getDecryptCipher() - Method in class org.hdiv.session.SessionHDIV
Inilitializes the data decrypter.
getDefaultEncoding() - Method in class org.hdiv.config.multipart.SpringMVCMultipartConfig
 
getDomain() - Method in class org.hdiv.filter.SavedCookie
 
getEditableDataType() - Method in interface org.hdiv.state.IParameter
 
getEditableDataType() - Method in class org.hdiv.state.Parameter
 
getEncodingUtil() - Method in class org.hdiv.dataComposer.DataComposerCipher
 
getEncodingUtil() - Method in class org.hdiv.dataComposer.DataComposerHash
 
getEncodingUtil() - Method in class org.hdiv.state.StateUtil
 
getEncryptCipher() - Method in interface org.hdiv.session.ISession
Initializes the data cipher.
getEncryptCipher() - Method in class org.hdiv.session.SessionHDIV
Initializes the data cipher.
getErrorPage() - Method in class org.hdiv.config.HDIVConfig
 
getExpectedValue() - Method in interface org.hdiv.dataValidator.IValidationResult
 
getExpectedValue() - Method in class org.hdiv.dataValidator.ValidationResult
 
getFileElements() - Method in class org.hdiv.filter.RequestWrapper
Returns a hash table containing the file (that is, non-text) request parameters.
getFlowId() - Method in interface org.hdiv.state.IPage
Returns the unique id of flow.
getFlowId() - Method in class org.hdiv.state.Page
Returns the unique id of flow.
getHdivConfig() - Method in class org.hdiv.filter.AbstractValidatorHelper
 
getHDIVParameter() - Method in class org.hdiv.dataComposer.DataComposerMemory
 
getHDIVParameter() - Method in interface org.hdiv.dataComposer.IDataComposer
 
getHDIVParameter() - Method in class org.hdiv.state.StateUtil
 
getHdivStateSuffix() - Method in class org.hdiv.dataComposer.DataComposerMemory
Obtains the suffix to add to the _HDIV_STATE_ parameter in the memory version.
getHeader(String) - Method in class org.hdiv.filter.RequestWrapper
Returns the value of the specified request header as a String.
getHeaders(String) - Method in class org.hdiv.filter.RequestWrapper
Returns all the values of the specified request header as an Enumeration of String objects.
getHttpSession() - Static method in class org.hdiv.util.HDIVUtil
 
getId() - Method in interface org.hdiv.state.IState
 
getId() - Method in class org.hdiv.state.State
 
getInitVector() - Method in class org.hdiv.cipher.Key
 
getKey() - Method in class org.hdiv.cipher.Key
 
getKeyName() - Method in class org.hdiv.session.SessionHDIV
 
getKeySize() - Method in class org.hdiv.cipher.KeyFactory
 
getLegal() - Method in interface org.hdiv.dataValidator.IValidationResult
 
getLegal() - Method in class org.hdiv.dataValidator.ValidationResult
 
getLogger() - Method in class org.hdiv.filter.AbstractValidatorHelper
 
getMaxAge() - Method in class org.hdiv.filter.SavedCookie
 
getMaxSize() - Method in class org.hdiv.session.StateCache
 
getMessage(String) - Static method in class org.hdiv.util.HDIVUtil
Try to resolve the message.
getMessage(String, String) - Static method in class org.hdiv.util.HDIVUtil
Try to resolve the message.
getMessage(String, String, Locale) - Static method in class org.hdiv.util.HDIVUtil
Try to resolve the message.
getName() - Method in class org.hdiv.filter.SavedCookie
 
getName() - Method in interface org.hdiv.state.IPage
 
getName() - Method in interface org.hdiv.state.IParameter
 
getName() - Method in class org.hdiv.state.Page
 
getName() - Method in class org.hdiv.state.Parameter
 
getPage() - Method in class org.hdiv.dataComposer.DataComposerMemory
 
getPage(String) - Method in interface org.hdiv.session.ISession
Returns the page with id pageId.
getPage(String) - Method in class org.hdiv.session.SessionHDIV
Returns the page with id pageId.
getPageId() - Method in class org.hdiv.dataComposer.AbstractDataComposer
Obtains the page identifier that contains the request or form in process
getPageId() - Method in interface org.hdiv.session.ISession
Obtains from the user session the page identifier where the current request or form is
getPageId() - Method in class org.hdiv.session.SessionHDIV
Obtains from the user session the page identifier where the current request or form is
getPageId() - Method in interface org.hdiv.state.IState
 
getPageId() - Method in class org.hdiv.state.State
 
getPageIds() - Method in interface org.hdiv.session.IStateCache
 
getPageIds() - Method in class org.hdiv.session.StateCache
 
getParameter(String) - Method in class org.hdiv.filter.RequestWrapper
Returns the value of a request parameter as a String.
getParameter(String) - Method in interface org.hdiv.state.IState
Returns the parameter that matches the given identifier key.
getParameter(String) - Method in class org.hdiv.state.State
Returns the parameter that matches the given identifier key.
getParameterMap() - Method in class org.hdiv.filter.RequestWrapper
Combines the parameters stored here with those in the underlying request.
getParameterNames() - Method in class org.hdiv.filter.RequestWrapper
Returns the names of the parameters for this request.
getParameters() - Method in interface org.hdiv.state.IState
 
getParameters() - Method in class org.hdiv.state.State
 
getParameterValues(String) - Method in class org.hdiv.filter.RequestWrapper
Returns an array of String objects containing all of the values the given request parameter has.
getParamsWithoutValidation() - Method in class org.hdiv.config.HDIVConfig
 
getPath() - Method in class org.hdiv.filter.SavedCookie
 
getPrngAlgorithm() - Method in class org.hdiv.cipher.KeyFactory
 
getProtectedURLPatterns() - Method in class org.hdiv.config.HDIVConfig
 
getProvider() - Method in class org.hdiv.cipher.KeyFactory
 
getRandomToken() - Method in interface org.hdiv.state.IPage
 
getRandomToken() - Method in class org.hdiv.state.Page
 
getRandomTokenGenerator() - Static method in class org.hdiv.util.HDIVUtil
 
getRepositoryPath(ServletContext) - Method in class org.hdiv.config.multipart.AbstractMultipartConfig
Returns the path to the temporary directory to be used for uploaded files which are written to disk.
getRepositoryPath(ServletContext) - Method in interface org.hdiv.config.multipart.IMultipartConfig
Returns the path to the temporary directory to be used for uploaded files which are written to disk.
getRepositoryPath(ServletContext) - Method in class org.hdiv.config.multipart.SpringMVCMultipartConfig
 
getRequest() - Method in class org.hdiv.filter.AbstractValidatorHelper
 
getRequestName() - Method in class org.hdiv.session.SessionHDIV
 
getRequestWrapper() - Method in class org.hdiv.filter.AbstractValidatorHelper
 
getRequestWrapper() - Method in interface org.hdiv.filter.IValidationHelper
 
getRequiredParams() - Method in interface org.hdiv.state.IState
 
getRequiredParams() - Method in class org.hdiv.state.State
 
getResult() - Method in interface org.hdiv.dataValidator.IValidationResult
 
getResult() - Method in class org.hdiv.dataValidator.ValidationResult
 
getServletContext() - Static method in class org.hdiv.util.HDIVUtil
 
getSession() - Method in class org.hdiv.dataComposer.AbstractDataComposer
 
getSession() - Method in interface org.hdiv.dataComposer.IDataComposer
 
getSession() - Method in class org.hdiv.util.EncodingUtil
 
getSession() - Static method in class org.hdiv.util.HDIVUtil
 
getSizeMax() - Method in class org.hdiv.config.multipart.AbstractMultipartConfig
Returns the maximum allowable size, in bytes, of an uploaded file.
getSizeThreshold() - Method in class org.hdiv.config.multipart.StrutsMultipartConfig
Returns the size threshold which determines whether an uploaded file will be written to disk or cached in memory.
getState() - Method in class org.hdiv.dataValidator.DataValidator
 
getState(String, String) - Method in interface org.hdiv.session.ISession
Obtains the state identifier stateId related to the page identifier pageId.
getState(String, String) - Method in class org.hdiv.session.SessionHDIV
Obtains the state identifier stateId related to the page identifier pageId.
getState(String) - Method in interface org.hdiv.state.IPage
Returns the state with the given identifier key from the map of states
getState(String) - Method in class org.hdiv.state.Page
Returns the state with the given identifier key from the map of states
getStateHash(String, String) - Method in interface org.hdiv.session.ISession
Obtains the hash of the state identifier stateId related to page identifier pageId.
getStateHash(String, String) - Method in class org.hdiv.session.SessionHDIV
Obtains the hash of the state identifier stateId related to page identifier pageId.
getStateHash(String) - Method in interface org.hdiv.state.IPage
Returns the state hash with the given identifier key from the map of states
getStateHash(String) - Method in class org.hdiv.state.Page
Returns the state hash with the given identifier key from the map of states
getStates() - Method in interface org.hdiv.state.IPage
 
getStates() - Method in class org.hdiv.state.Page
 
getStateUtil() - Method in class org.hdiv.filter.AbstractValidatorHelper
 
getTarget() - Method in class org.hdiv.filter.AbstractValidatorHelper
 
getTarget() - Method in interface org.hdiv.filter.IValidationHelper
 
getTextElements() - Method in class org.hdiv.filter.RequestWrapper
Returns a hash table containing the text (that is, non-file) request parameters.
getUrls() - Method in class org.hdiv.config.HDIVValidations
 
getUserData() - Method in class org.hdiv.logs.Logger
 
getUsername(HttpServletRequest) - Method in interface org.hdiv.logs.IUserData
 
getUsername(HttpServletRequest) - Method in class org.hdiv.logs.UserData
 
getValidationResult() - Method in class org.hdiv.dataValidator.DataValidator
 
getValue() - Method in class org.hdiv.filter.SavedCookie
 
getValuePosition(int) - Method in interface org.hdiv.state.IParameter
 
getValuePosition(int) - Method in class org.hdiv.state.Parameter
 
getValues() - Method in interface org.hdiv.state.IParameter
 
getValues() - Method in class org.hdiv.state.Parameter
 
getVersion() - Method in class org.hdiv.filter.SavedCookie
 
getWebSession() - Method in interface org.hdiv.session.ISession
 
getWebSession() - Method in class org.hdiv.session.SessionHDIV
 

H

handleMultipartRequest(RequestWrapper, ServletContext) - Method in interface org.hdiv.config.multipart.IMultipartConfig
Parses the input stream and partitions the parsed items into a set of form fields and a set of file items.
handleMultipartRequest(RequestWrapper, ServletContext) - Method in class org.hdiv.config.multipart.SpringMVCMultipartConfig
Parses the input stream and partitions the parsed items into a set of form fields and a set of file items.
handleMultipartRequest(RequestWrapper, ServletContext) - Method in class org.hdiv.config.multipart.Struts2MultipartConfig
Parses the input stream and partitions the parsed items into a set of form fields and a set of file items.
handleMultipartRequest(RequestWrapper, ServletContext) - Method in class org.hdiv.config.multipart.StrutsMultipartConfig
Parses the input stream and partitions the parsed items into a set of form fields and a set of file items.
HDIV_COOKIES_KEY - Static variable in class org.hdiv.util.Constants
Name of the attribute which is used for storing cookies in session.
HDIV_PARAMETER - Static variable in class org.hdiv.util.Constants
 
HDIV_PARAMETER_INCORRECT_VALUE - Static variable in class org.hdiv.util.HDIVErrorCodes
Incorrect HDIV parameter value.
HDIV_PARAMETER_NOT_EXISTS - Static variable in class org.hdiv.util.HDIVErrorCodes
The HDIV parameter has not been received in the request.
HDIVConfig - Class in org.hdiv.config
Class containing HDIV configuration initialized from Spring Factory.
HDIVConfig() - Constructor for class org.hdiv.config.HDIVConfig
 
HDIVErrorCodes - Class in org.hdiv.util
Code Errors used by HDIV validation process.
HDIVErrorCodes() - Constructor for class org.hdiv.util.HDIVErrorCodes
 
HDIVException - Exception in org.hdiv.exception
Exception thrown when HDIV validation is not passed.
HDIVException() - Constructor for exception org.hdiv.exception.HDIVException
Create a new exception.
HDIVException(Throwable) - Constructor for exception org.hdiv.exception.HDIVException
Constructs a new runtime exception with the specified cause and a detail message of (cause==null ?
HDIVException(String) - Constructor for exception org.hdiv.exception.HDIVException
Constructs a new runtime exception with the specified detail message.
HDIVException(String, Throwable) - Constructor for exception org.hdiv.exception.HDIVException
Constructs a new runtime exception with the specified detail message and cause.
HDIVUtil - Class in org.hdiv.util
Class containing utility methods for access HDIV components: IDataComposer, IDataValidator, IApplication, ISession.
HDIVUtil() - Constructor for class org.hdiv.util.HDIVUtil
 
HDIVValidations - Class in org.hdiv.config
Validations for urls defined by the user in the hdiv-validations.xml file of Spring.
HDIVValidations() - Constructor for class org.hdiv.config.HDIVValidations
 

I

IApplication - Interface in org.hdiv.application
ServletContext Wrapper interface
ICipherHTTP - Interface in org.hdiv.cipher
The main interface for cryptography functions
IDataComposer - Interface in org.hdiv.dataComposer
DataComposers's main interface.
IDataValidator - Interface in org.hdiv.dataValidator
Interface to validate the data sent by the user.
IKeyFactory - Interface in org.hdiv.cipher
Key Factory Interface
IMultipartConfig - Interface in org.hdiv.config.multipart
Class containing multipart request configuration and methods initialized from Spring Factory.
init() - Method in class org.hdiv.cipher.CipherHTTP
Generates a Cipher object that implements the specified transformation.
init(ISession, IApplication) - Method in class org.hdiv.dataComposer.AbstractDataComposer
Initializes IdataComposer with the user session and the application context
init() - Method in class org.hdiv.dataComposer.DataComposerMemory
DataComposerMemory initialization with HTTP session wrapper and new stack to store all states of the page page.
init(ISession, IApplication) - Method in interface org.hdiv.dataComposer.IDataComposer
Initializes IdataComposer with the user session and the application context
init(HttpServletRequest) - Method in class org.hdiv.filter.AbstractValidatorHelper
Initialization of the objects needed for the validation process.
init(HttpServletRequest) - Method in interface org.hdiv.filter.IValidationHelper
Initialization of the objects needed for the validation process.
init(HttpServletRequest) - Method in class org.hdiv.filter.ValidatorHelperRequest
Initialization of the objects needed for the validation process.
init(HttpServletRequest, HttpSession) - Method in class org.hdiv.logs.Logger
Logger is initialized with http request and user web session.
init() - Method in class org.hdiv.session.SessionHDIV
SessionHDIV initialization with HTTP session.
init() - Method in class org.hdiv.session.StateCache
pageIds map initialization
init() - Method in class org.hdiv.state.Parameter
Initialization of the parameter this value array
init() - Method in class org.hdiv.state.StateUtil
StateUtil initialization with HDIV parameter name stored in http session.
init() - Method in class org.hdiv.util.EncodingUtil
Initialize the EncodingUtil with Http Session and message resource.
initDecryptMode(Key) - Method in class org.hdiv.cipher.CipherHTTP
Generates a Cipher object that implements the specified transformation, initializes cipher vector and initializes cipher to decryption mode with a key and a set of algorithm parameters.
initDecryptMode(Key) - Method in interface org.hdiv.cipher.ICipherHTTP
Generates a Cipher object that implements the specified transformation, initializes cipher vector and initializes cipher to decryption mode with a key and a set of algorithm parameters.
initDecryptMode(Key) - Method in class org.hdiv.cipher.MockCipherHTTP
 
initEncryptMode(Key) - Method in class org.hdiv.cipher.CipherHTTP
Generates a Cipher object that implements the specified transformation, initializes cipher vector and initializes cipher to encryption mode with a key and a set of algorithm parameters.
initEncryptMode(Key) - Method in interface org.hdiv.cipher.ICipherHTTP
Generates a Cipher object that implements the specified transformation, initializes cipher vector and initializes cipher to encryption mode with a key and a set of algorithm parameters.
initEncryptMode(Key) - Method in class org.hdiv.cipher.MockCipherHTTP
 
initFactory() - Static method in class org.hdiv.util.HDIVUtil
Find the root WebApplicationContext for this web app, which is typically loaded via ContextLoaderListener or ContextLoaderServlet.
initFilterBean() - Method in class org.hdiv.filter.ValidatorFilter
Called by the web container to indicate to a filter that it is being placed into service.
initHDIV(HttpServletRequest) - Method in class org.hdiv.filter.ValidatorFilter
Initialize HDIV HTTP session
InitListener - Class in org.hdiv.listener
HDIV listener.
InitListener() - Constructor for class org.hdiv.listener.InitListener
 
initPageId() - Method in class org.hdiv.dataComposer.AbstractDataComposer
Obtains a new unique identifier for the page
initTesting() - Method in class org.hdiv.dataComposer.DataComposerMemory
Testing initialization
initTesting() - Method in class org.hdiv.filter.AbstractValidatorHelper
Testing objects initilization.
initTesting() - Method in class org.hdiv.session.SessionHDIV
Testing initialization
initTesting() - Method in class org.hdiv.util.EncodingUtil
Initialize the EncodingUtil with message resource.
InitWebSphereListener - Class in org.hdiv.listener
HDIV listener for WebSphere environment.
InitWebSphereListener() - Constructor for class org.hdiv.listener.InitWebSphereListener
 
IPage - Interface in org.hdiv.state
 
IParameter - Interface in org.hdiv.state
 
IResponseWrapper - Interface in org.hdiv.filter
Interface to provide response information for HTTP servlets.
isActionParam() - Method in interface org.hdiv.state.IParameter
Indicates if the parameter has been added to the action attribute of a link or form.
isActionParam() - Method in class org.hdiv.state.Parameter
Indicates if the parameter has been added to the action attribute of a link or form.
isCookiesConfidentialityActivated() - Method in class org.hdiv.config.HDIVConfig
 
isCookiesIntegrityActivated() - Method in class org.hdiv.config.HDIVConfig
 
isEditable() - Method in interface org.hdiv.state.IParameter
 
isEditable() - Method in class org.hdiv.state.Parameter
 
isEncryptMode() - Method in class org.hdiv.cipher.CipherHTTP
 
ISession - Interface in org.hdiv.session
A custom wrapper for http session request that returns a wrapped http session.
isIgnoreParameter(String) - Method in class org.hdiv.validator.Validation
Checks if parameter is a parameter that must be ignored during the validation process of the editable parameters.
isMemoryStrategy(String) - Method in class org.hdiv.state.StateUtil
Checks if the memory strategy is being used
isMultipartContent(String) - Method in class org.hdiv.filter.ValidatorFilter
Utility method that determines whether the request contains multipart content.
isParameterWithoutValidation(String, String) - Method in class org.hdiv.config.HDIVConfig
Checks if the parameter parameter is defined by the user as a no required validation parameter for the action action.
isSecure() - Method in class org.hdiv.filter.SavedCookie
 
isSecure() - Method in class org.hdiv.util.RandomGuidUidGenerator
Returns whether or not the generated random numbers are secure, meaning cryptographically strong.
isStartPage(String) - Method in class org.hdiv.config.HDIVConfig
Checks if target is an init action, in which case it will not be treated by HDIV.
isStartParameter(String) - Method in class org.hdiv.config.HDIVConfig
Checks if parameter is an init parameter, in which case it will not be treated by HDIV.
IState - Interface in org.hdiv.state
 
IStateCache - Interface in org.hdiv.session
 
isTheSameAction() - Method in class org.hdiv.filter.AbstractValidatorHelper
Checks if the action received in the request is the same as the one stored in the HDIV state.
isTheSameComponentType(String) - Method in class org.hdiv.validator.Validation
Checks if the type parameterType is the same as the one defined in the validation this.
IUserData - Interface in org.hdiv.logs
Interface to get request's username
IValidation - Interface in org.hdiv.validator
Interface for editable data validations.
IValidationHelper - Interface in org.hdiv.filter
Interface to validate a client request.
IValidationResult - Interface in org.hdiv.dataValidator
Interface to store validation result.

J

JSESSIONID - Static variable in class org.hdiv.util.Constants
Session's cookie identifier

K

Key - Class in org.hdiv.cipher
Stored Session related data in the cipher section
Key() - Constructor for class org.hdiv.cipher.Key
 
KEY_NAME - Static variable in class org.hdiv.util.Constants
 
KeyFactory - Class in org.hdiv.cipher
Key Factory generator.
KeyFactory() - Constructor for class org.hdiv.cipher.KeyFactory
 

L

lastParameter - Variable in class org.hdiv.dataComposer.DataComposerMemory
Last parameter treated by the compose method
log(String, String, String, String) - Method in class org.hdiv.logs.Logger
Imprime el ataque formateado producido por el usuario siempre y cuando el nivel de logueo definido en la aplicación web sea como mínimo de tipo INFO.
Logger - Class in org.hdiv.logs
Log that shows the attacks detected by HDIV.
Logger() - Constructor for class org.hdiv.logs.Logger
 

M

maxFileSize - Variable in class org.hdiv.config.multipart.AbstractMultipartConfig
The maximum allowable size, in bytes, of an uploaded file.
memFileSize - Variable in class org.hdiv.config.multipart.StrutsMultipartConfig
The size threshold which determines whether an uploaded file will be written to disk or cached in memory.
mergeParameters(String, String) - Method in class org.hdiv.dataComposer.DataComposerMemory
Creates a new parameter called newParameter and adds all the values of oldParameter stored in the state to it.
mergeParameters(String, String) - Method in interface org.hdiv.dataComposer.IDataComposer
Creates a new parameter called newParameter and adds all the values of oldParameter stored in the state to it.
MockCipherHTTP - Class in org.hdiv.cipher
Mock implementation of ICipherHTTP only to tests.
MockCipherHTTP() - Constructor for class org.hdiv.cipher.MockCipherHTTP
 

N

needValidation(String, String) - Method in class org.hdiv.config.HDIVConfig
Checks if the HDIV validation must be applied to the parameter parameter
newFileItemFactory() - Method in class org.hdiv.config.multipart.SpringMVCMultipartConfig
Factory method for a Commons DiskFileItemFactory instance.
newFileUpload(FileItemFactory) - Method in class org.hdiv.config.multipart.SpringMVCMultipartConfig
Initialize the underlying org.apache.commons.fileupload.servlet.ServletFileUpload instance.

O

org.hdiv.application - package org.hdiv.application
 
org.hdiv.cipher - package org.hdiv.cipher
 
org.hdiv.config - package org.hdiv.config
 
org.hdiv.config.multipart - package org.hdiv.config.multipart
 
org.hdiv.dataComposer - package org.hdiv.dataComposer
 
org.hdiv.dataValidator - package org.hdiv.dataValidator
 
org.hdiv.exception - package org.hdiv.exception
 
org.hdiv.filter - package org.hdiv.filter
 
org.hdiv.listener - package org.hdiv.listener
 
org.hdiv.logs - package org.hdiv.logs
 
org.hdiv.session - package org.hdiv.session
 
org.hdiv.state - package org.hdiv.state
 
org.hdiv.util - package org.hdiv.util
 
org.hdiv.validator - package org.hdiv.validator
 

P

page - Variable in class org.hdiv.dataComposer.DataComposerMemory
Page with the possible requests or states
Page - Class in org.hdiv.state
DataStructure to store server states
Page() - Constructor for class org.hdiv.state.Page
Creates a new Page object with a new states map.
PAGE_ID_INCORRECT - Static variable in class org.hdiv.util.HDIVErrorCodes
HDIV parameter has an incorrect page identifier.
Parameter - Class in org.hdiv.state
Data struture to store all the values of a parameter
Parameter() - Constructor for class org.hdiv.state.Parameter
Creates a new Parameter object.
PARAMETER_NOT_EXISTS - Static variable in class org.hdiv.util.HDIVErrorCodes
The parameter received in the request does not exist in the request state.
PARAMETER_VALUE_INCORRECT - Static variable in class org.hdiv.util.HDIVErrorCodes
Incorrect parameter value.
parseFileItems(RequestWrapper, List) - Method in class org.hdiv.config.multipart.SpringMVCMultipartConfig
Parse the given List of Commons FileItems into a Spring MultipartParsingResult, containing Spring MultipartFile instances and a Map of multipart parameter.
parseUid(String) - Method in class org.hdiv.util.RandomGuidUidGenerator
 
parseUid(String) - Method in interface org.hdiv.util.UidGenerator
Convert the string-encoded uid into its original object form.
prepareFileUpload(String) - Method in class org.hdiv.config.multipart.SpringMVCMultipartConfig
Determine an appropriate FileUpload instance for the given encoding.
processRequest(IValidationHelper, ResponseWrapper, FilterChain) - Method in class org.hdiv.filter.ValidatorFilter
Processes requests for both HTTP GET and POST methods.
protectCharacters(String) - Static method in class org.hdiv.util.HDIVUtil
Function to protect meaningful characters of regular expressions (+,*,...)

R

RandomGuid - Class in org.hdiv.util
Globally unique identifier generator.
RandomGuid() - Constructor for class org.hdiv.util.RandomGuid
Default constructor.
RandomGuid(boolean) - Constructor for class org.hdiv.util.RandomGuid
Constructor with security option.
RandomGuidUidGenerator - Class in org.hdiv.util
A key generator that uses the RandomGuid support class.
RandomGuidUidGenerator() - Constructor for class org.hdiv.util.RandomGuidUidGenerator
 
rejectedPattern - Variable in class org.hdiv.validator.Validation
Regular expression that values received in the parameter can't fit.
removeCookiesFromSession() - Method in class org.hdiv.filter.ResponseWrapper
Removes from user's session the cookies added by the application.
removeEndedPages(String) - Method in interface org.hdiv.session.ISession
Deletes from session the data related to the finished flows.
removeEndedPages(String) - Method in class org.hdiv.session.SessionHDIV
Deletes from session the data related to the finished flows.
REPEATED_VALUES - Static variable in class org.hdiv.util.HDIVErrorCodes
Repeated values have been received for the same parameter.
replaceOriginalValues(List, String) - Method in class org.hdiv.filter.ResponseWrapper
Replaces cookies' original values by relative values in order to provide confidentiality.
requestCounter - Variable in class org.hdiv.dataComposer.DataComposerMemory
Represents the identifier of each possible state stored in the page page.
requestURL(HttpServletRequest) - Static method in class org.hdiv.util.HDIVUtil
Return the URL representing the current request.
RequestWrapper - Class in org.hdiv.filter
A wrapper for HTTP servlet request.
RequestWrapper(HttpServletRequest) - Constructor for class org.hdiv.filter.RequestWrapper
Constructs a request object wrapping the given request.
REQUIRED_PARAMETERS - Static variable in class org.hdiv.util.HDIVErrorCodes
All the required parameters for the request have not been received.
reset() - Method in class org.hdiv.filter.ResponseWrapper
Resets the response.
resetLocalData() - Static method in class org.hdiv.util.HDIVUtil
ThreadLocales is always guaranteed to be cleaned up when returning the thread to the server's pool.
ResponseWrapper - Class in org.hdiv.filter
A wrapper for HTTP servlet response.
ResponseWrapper(HttpServletResponse) - Constructor for class org.hdiv.filter.ResponseWrapper
Constructs a response object wrapping the given response.
restoreHashState(String) - Method in class org.hdiv.state.StateUtil
Checks if the state hash received from the client and the hash stored in session match.
restoreState(String) - Method in class org.hdiv.state.StateUtil
Restore state data from request.

S

SavedCookie - Class in org.hdiv.filter
Stores off the values of a cookie in a serializable holder.
SavedCookie(String, String, String, String, int, String, boolean, int) - Constructor for class org.hdiv.filter.SavedCookie
Constructs a new SavedCookie.
SavedCookie(Cookie) - Constructor for class org.hdiv.filter.SavedCookie
Constructs a new SavedCookie from cookie object.
SavedCookie(String, String) - Constructor for class org.hdiv.filter.SavedCookie
Constructs a new SavedCookie.
sessionCreated(HttpSessionEvent) - Method in class org.hdiv.listener.InitListener
For each user session, a new cipher key is created if the cipher strategy has been chosen, and a new cache is created to store the data to be validated.
sessionCreated(HttpSessionEvent) - Method in class org.hdiv.listener.InitWebSphereListener
For each user session, a new cipher key is created if the cipher strategy has been chosen, and a new cache is created to store the data to be validated.
sessionDestroyed(HttpSessionEvent) - Method in class org.hdiv.listener.InitListener
 
sessionDestroyed(HttpSessionEvent) - Method in class org.hdiv.listener.InitWebSphereListener
 
SessionHDIV - Class in org.hdiv.session
A custom wrapper for http session request that returns a wrapped http session.
SessionHDIV() - Constructor for class org.hdiv.session.SessionHDIV
 
setAcceptedPattern(String) - Method in class org.hdiv.validator.Validation
 
setAction(String) - Method in class org.hdiv.dataComposer.AbstractDataComposer
 
setAction(String) - Method in interface org.hdiv.state.IState
 
setAction(String) - Method in class org.hdiv.state.State
 
setActionParam(boolean) - Method in interface org.hdiv.state.IParameter
 
setActionParam(boolean) - Method in class org.hdiv.state.Parameter
 
setAlgorithm(String) - Method in class org.hdiv.cipher.KeyFactory
 
setAlgorithm(String) - Method in class org.hdiv.cipher.MockCipherHTTP
 
setAlgorithmName(String) - Method in class org.hdiv.util.EncodingUtil
 
setAllowedLength(int) - Method in class org.hdiv.dataComposer.DataComposerCipher
 
setAllowedLength(int) - Method in class org.hdiv.dataComposer.DataComposerHash
 
setApplication(ServletContext) - Method in class org.hdiv.application.ApplicationHDIV
 
setApplication(ServletContext) - Method in interface org.hdiv.application.IApplication
 
setApplication(IApplication) - Method in class org.hdiv.dataComposer.AbstractDataComposer
 
setApplication(IApplication) - Method in interface org.hdiv.dataComposer.IDataComposer
 
setBeanFactory(BeanFactory) - Method in class org.hdiv.application.ApplicationHDIV
Callback that supplies the owning factory to a bean instance.
setBeanFactory(BeanFactory) - Method in interface org.hdiv.application.IApplication
Callback that supplies the owning factory to a bean instance.
setBeanFactory(BeanFactory) - Method in class org.hdiv.filter.AbstractValidatorHelper
Callback that supplies the owning factory to a bean instance.
setBeanFactory(BeanFactory) - Method in class org.hdiv.session.SessionHDIV
Callback that supplies the owning factory to a bean instance.
setCacheName(String) - Method in class org.hdiv.session.SessionHDIV
 
setCipherName(String) - Method in class org.hdiv.session.SessionHDIV
 
setComponentType(String) - Method in class org.hdiv.validator.Validation
 
setConfidentiality(Boolean) - Method in class org.hdiv.config.HDIVConfig
 
setConfidentiality(Boolean) - Method in class org.hdiv.dataComposer.DataComposerMemory
 
setConfidentiality(Boolean) - Method in class org.hdiv.dataValidator.DataValidator
 
setConfidentiality(Boolean) - Method in class org.hdiv.filter.RequestWrapper
 
setCookiesConfidentiality(Boolean) - Method in class org.hdiv.config.HDIVConfig
 
setCookiesConfidentiality(boolean) - Method in class org.hdiv.filter.RequestWrapper
 
setCookiesIntegrity(Boolean) - Method in class org.hdiv.config.HDIVConfig
 
setCount(int) - Method in class org.hdiv.state.Parameter
 
setDataValidator(IDataValidator) - Method in class org.hdiv.filter.AbstractValidatorHelper
 
setEditable(boolean) - Method in interface org.hdiv.state.IParameter
 
setEditable(boolean) - Method in class org.hdiv.state.Parameter
 
setEditableDataType(String) - Method in interface org.hdiv.state.IParameter
 
setEditableDataType(String) - Method in class org.hdiv.state.Parameter
 
setEncodingUtil(EncodingUtil) - Method in class org.hdiv.dataComposer.DataComposerCipher
 
setEncodingUtil(EncodingUtil) - Method in class org.hdiv.dataComposer.DataComposerHash
 
setEncodingUtil(EncodingUtil) - Method in class org.hdiv.state.StateUtil
 
setEncryptMode(boolean) - Method in class org.hdiv.cipher.CipherHTTP
 
setErrorPage(String) - Method in class org.hdiv.config.HDIVConfig
 
setExpectedValue(String) - Method in interface org.hdiv.dataValidator.IValidationResult
 
setExpectedValue(String) - Method in class org.hdiv.dataValidator.ValidationResult
 
setFlowId(String) - Method in interface org.hdiv.state.IPage
 
setFlowId(String) - Method in class org.hdiv.state.Page
 
setHdivConfig(HDIVConfig) - Method in class org.hdiv.dataComposer.DataComposerMemory
 
setHdivConfig(HDIVConfig) - Method in class org.hdiv.filter.AbstractValidatorHelper
 
setHdivConfig(HDIVConfig) - Method in interface org.hdiv.filter.IValidationHelper
 
setHDIVParameter(String) - Method in class org.hdiv.state.StateUtil
 
setHeader(String, String) - Method in class org.hdiv.filter.ResponseWrapper
The default behavior of this method is to return setHeader(String name, String value) on the wrapped response object.
setHttpSession(HttpSession) - Static method in class org.hdiv.util.HDIVUtil
 
setId(String) - Method in interface org.hdiv.state.IState
 
setId(String) - Method in class org.hdiv.state.State
 
setIgnoreParameters(List) - Method in class org.hdiv.validator.Validation
It creates a map from the list of ignore parameters defined for a URL.
setInitVector(byte[]) - Method in class org.hdiv.cipher.Key
 
setKey(SecretKeySpec) - Method in class org.hdiv.cipher.Key
 
setKeyName(String) - Method in class org.hdiv.session.SessionHDIV
 
setKeySize(int) - Method in class org.hdiv.cipher.KeyFactory
 
setLegal(boolean) - Method in interface org.hdiv.dataValidator.IValidationResult
 
setLegal(boolean) - Method in class org.hdiv.dataValidator.ValidationResult
 
setLogger(Logger) - Method in class org.hdiv.filter.AbstractValidatorHelper
 
setMaxFileSize(String) - Method in class org.hdiv.config.multipart.AbstractMultipartConfig
 
setMaxSize(int) - Method in class org.hdiv.session.StateCache
 
setMemFileSize(String) - Method in class org.hdiv.config.multipart.StrutsMultipartConfig
 
setMessageDigest(MessageDigest) - Method in class org.hdiv.util.EncodingUtil
 
setMultipart(boolean) - Method in class org.hdiv.filter.RequestWrapper
Determines whether this request is multipart.
setMultipartResolver(CommonsMultipartResolver) - Method in class org.hdiv.config.multipart.SpringMVCMultipartConfig
 
setName(String) - Method in interface org.hdiv.state.IPage
 
setName(String) - Method in interface org.hdiv.state.IParameter
 
setName(String) - Method in class org.hdiv.state.Page
 
setName(String) - Method in class org.hdiv.state.Parameter
 
setPage(IPage) - Method in class org.hdiv.dataComposer.DataComposerMemory
 
setPageId(String) - Method in interface org.hdiv.state.IState
 
setPageId(String) - Method in class org.hdiv.state.State
 
setParameters(Map) - Method in class org.hdiv.state.State
 
setParamsWithoutValidation(Map) - Method in class org.hdiv.config.HDIVConfig
 
setPrngAlgorithm(String) - Method in class org.hdiv.cipher.KeyFactory
 
setProtectedExtensions(List) - Method in class org.hdiv.config.HDIVConfig
 
setProvider(String) - Method in class org.hdiv.cipher.CipherHTTP
 
setProvider(String) - Method in class org.hdiv.cipher.KeyFactory
 
setRandomToken(String) - Method in interface org.hdiv.state.IPage
 
setRandomToken(String) - Method in class org.hdiv.state.Page
 
setRejectedPattern(String) - Method in class org.hdiv.validator.Validation
 
setRequest(HttpServletRequest) - Method in class org.hdiv.filter.AbstractValidatorHelper
 
setRequestName(String) - Method in class org.hdiv.session.SessionHDIV
 
setRequestWrapper(RequestWrapper) - Method in class org.hdiv.filter.AbstractValidatorHelper
 
setRequestWrapper(RequestWrapper) - Method in interface org.hdiv.filter.IValidationHelper
 
setResult(Object) - Method in interface org.hdiv.dataValidator.IValidationResult
 
setResult(Object) - Method in class org.hdiv.dataValidator.ValidationResult
 
setSecure(boolean) - Method in class org.hdiv.util.RandomGuidUidGenerator
Sets whether or not the generated random numbers should be secure.
setServletContext(ServletContext) - Static method in class org.hdiv.util.HDIVUtil
 
setSession(ISession) - Method in class org.hdiv.dataComposer.AbstractDataComposer
 
setSession(ISession) - Method in interface org.hdiv.dataComposer.IDataComposer
 
setSession(ISession) - Method in class org.hdiv.util.EncodingUtil
 
setSession(ISession) - Static method in class org.hdiv.util.HDIVUtil
Only for testing.
setState(IState) - Method in class org.hdiv.dataValidator.DataValidator
 
setState(IState) - Method in interface org.hdiv.dataValidator.IDataValidator
 
setStateUtil(StateUtil) - Method in class org.hdiv.filter.AbstractValidatorHelper
 
setStrategy(String) - Method in class org.hdiv.state.StateUtil
 
setTarget(String) - Method in class org.hdiv.filter.AbstractValidatorHelper
 
setTarget(String) - Method in interface org.hdiv.filter.IValidationHelper
 
setTargetWithoutContextPath(String) - Method in class org.hdiv.filter.AbstractValidatorHelper
 
setTargetWithoutContextPath(String) - Method in interface org.hdiv.filter.IValidationHelper
 
setTempDir(String) - Method in class org.hdiv.config.multipart.AbstractMultipartConfig
 
setTransformation(String) - Method in class org.hdiv.cipher.CipherHTTP
 
setUrls(Map) - Method in class org.hdiv.config.HDIVValidations
 
setUserData(IUserData) - Method in class org.hdiv.logs.Logger
 
setUserStartPages(List) - Method in class org.hdiv.config.HDIVConfig
It creates a map from the list of start pages defined by the user.
setUserStartParameters(List) - Method in class org.hdiv.config.HDIVConfig
It creates a map from the list of init parameters defined by the user.
setValidationResult(IValidationResult) - Method in class org.hdiv.dataValidator.DataValidator
 
setValidations(HDIVValidations) - Method in class org.hdiv.config.HDIVConfig
 
setValues(List) - Method in class org.hdiv.state.Parameter
 
setWebSession(HttpSession) - Method in class org.hdiv.session.SessionHDIV
 
SpringMVCMultipartConfig - Class in org.hdiv.config.multipart
Class containing multipart request configuration.
SpringMVCMultipartConfig() - Constructor for class org.hdiv.config.multipart.SpringMVCMultipartConfig
 
startPage() - Method in class org.hdiv.dataComposer.DataComposerCipher
 
startPage() - Method in class org.hdiv.dataComposer.DataComposerMemory
It is called in the pre-processing stage of each user request assigning a new page identifier to the page.
startPage() - Method in interface org.hdiv.dataComposer.IDataComposer
It is called in the pre-processing stage of each user request.
startPage() - Method in class org.hdiv.filter.AbstractValidatorHelper
It is called in the pre-processing stage of each user request.
startPage() - Method in interface org.hdiv.filter.IValidationHelper
It is called in the pre-processing stage of each user request.
startPage() - Method in class org.hdiv.filter.ValidatorHelperRequest
It is called in the pre-processing stage of each user request.
startPage() - Method in class org.hdiv.filter.ValidatorHelperThreadLocal
It is called in the pre-processing stage of each user request.
startPages - Variable in class org.hdiv.config.HDIVConfig
Map with the pages that will not be Treated by the HDIV filter.
state - Variable in class org.hdiv.dataComposer.DataComposerMemory
State that represents all the data of a request or a form existing in a page page
State - Class in org.hdiv.state
Data structure to store all data related with one request (parameters, parameter values, ...)
State() - Constructor for class org.hdiv.state.State
Creates a new State object with a new parameters map and a new required parameters map.
STATE_SUFFIX - Static variable in class org.hdiv.util.Constants
Name of the attribute which is used for storing the suffix added to the HDIV state.
StateCache - Class in org.hdiv.session
It is composed by a data struture limited by a maximun size (maxSize).
StateCache() - Constructor for class org.hdiv.session.StateCache
 
states - Variable in class org.hdiv.state.Page
Map with the states of the page this.
statesStack - Variable in class org.hdiv.dataComposer.DataComposerMemory
States stack to store all states of the page page
StateUtil - Class in org.hdiv.state
Class containing utility methods for state.
StateUtil() - Constructor for class org.hdiv.state.StateUtil
 
stripSession(String) - Static method in class org.hdiv.util.HDIVUtil
Strips a servlet session ID from url.
Struts2MultipartConfig - Class in org.hdiv.config.multipart
Class containing multipart request configuration and methods initialized from Spring Factory.
Struts2MultipartConfig() - Constructor for class org.hdiv.config.multipart.Struts2MultipartConfig
 
StrutsMultipartConfig - Class in org.hdiv.config.multipart
Class containing multipart request configuration and methods initialized from Spring Factory.
StrutsMultipartConfig() - Constructor for class org.hdiv.config.multipart.StrutsMultipartConfig
 

T

tempDir - Variable in class org.hdiv.config.multipart.AbstractMultipartConfig
The temporary working directory to use for file uploads.
toString() - Method in class org.hdiv.session.StateCache
 
toString() - Method in class org.hdiv.state.Page
 
toString() - Method in class org.hdiv.state.Parameter
 
toString() - Method in class org.hdiv.util.RandomGuid
Convert to the standard format for GUID (Useful for SQL Server UniqueIdentifiers, etc).

U

UidGenerator - Interface in org.hdiv.util
A strategy for generating random tokens.
updateComposerState() - Method in class org.hdiv.dataComposer.DataComposerMemory
Updates the state state of this with the state in the first position of the state stack.
urls - Variable in class org.hdiv.config.HDIVValidations
Map containing the urls to which the user wants to apply validation for the editable parameters.
UserData - Class in org.hdiv.logs
 
UserData() - Constructor for class org.hdiv.logs.UserData
 

V

validate(String, String, String) - Method in class org.hdiv.dataValidator.DataValidator
Checks if the value data sent by the user to the server in the parameter parameter is correct or not.
validate(String, String, String) - Method in interface org.hdiv.dataValidator.IDataValidator
Checks if the value data sent by the user to the server in the parameter parameter is correct or not.
validate() - Method in class org.hdiv.filter.AbstractValidatorHelper
Checks if the values of the parameters received in the request request are valid.
validate() - Method in interface org.hdiv.filter.IValidationHelper
Checks if the values of the parameters received in the request request are valid.
validate(String, String[], String) - Method in interface org.hdiv.validator.IValidation
Checks if the values values are valid for the editable parameter parameter.
validate(String, String[], String) - Method in class org.hdiv.validator.Validation
Checks if the values values are valid for the editable parameter parameter.
validateEditableParameter(String, String[], String, Hashtable) - Method in class org.hdiv.filter.AbstractValidatorHelper
Checks if the values values are valid for the editable parameter parameter.
validateHDIVSuffix(String) - Method in class org.hdiv.filter.AbstractValidatorHelper
Checks if the suffix added in the memory version to all requests in the HDIV parameter is the same as the one stored in session, which is the original suffix.
validateRequestCookies(Cookie[]) - Method in class org.hdiv.filter.AbstractValidatorHelper
Checks if the cookies received in the request are correct.
validateStartPageParameters() - Method in class org.hdiv.filter.AbstractValidatorHelper
It validates the parameters of an init page because our application can receive requests that require validation but don't have any HDIV state.
Validation - Class in org.hdiv.validator
Validation defined by the user in the hdiv-validation.xml for the editable data (text/textarea).
Validation() - Constructor for class org.hdiv.validator.Validation
 
ValidationResult - Class in org.hdiv.dataValidator
Validation Result class.
ValidationResult() - Constructor for class org.hdiv.dataValidator.ValidationResult
 
ValidatorFilter - Class in org.hdiv.filter
An unique filter exists within HDIV.
ValidatorFilter() - Constructor for class org.hdiv.filter.ValidatorFilter
Creates a new ValidatorFilter object.
ValidatorHelperRequest - Class in org.hdiv.filter
It validates client requests by comsuming an object of type IState and validating all the entry data, besides replacing relative values by its real values.
ValidatorHelperRequest() - Constructor for class org.hdiv.filter.ValidatorHelperRequest
 
ValidatorHelperThreadLocal - Class in org.hdiv.filter
It validates client requests by comsuming an object of type IState and validating all the entry data, besides replacing relative values by its real values.
ValidatorHelperThreadLocal() - Constructor for class org.hdiv.filter.ValidatorHelperThreadLocal
 
VALUE_LENGTH_INCORRECT - Static variable in class org.hdiv.util.HDIVErrorCodes
For a certain parameter not the expected number of values has been receiced.

Z

ZIP_CHARSET - Static variable in class org.hdiv.util.EncodingUtil
Name of a supported charset

A B C D E F G H I J K L M N O P R S T U V Z
HDIV 2.0.4

Copyright © 2008 hdiv.org. All Rights Reserved.