@Controller @RequestMapping(value="/encryption") public class EncryptionController extends UifControllerBase
Modifier and Type | Field and Description |
---|---|
static String |
ENCRYPTION_ERROR |
static String |
INPUT_FIELD |
Constructor and Description |
---|
EncryptionController() |
Modifier and Type | Method and Description |
---|---|
protected EncryptionForm |
createInitialForm(javax.servlet.http.HttpServletRequest request)
Polulate the encryptionServiceName on the form.
|
org.springframework.web.servlet.ModelAndView |
decrypt(UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Decrypt the text of the input field.
|
org.springframework.web.servlet.ModelAndView |
encrypt(UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Encrypt the text of the input field.
|
addBlankLine, addLine, back, cancel, checkForm, checkViewAuthorization, createDataTablesPagingHelperInstance, defaultMapping, deleteLine, getBooleanDialogResponse, getMessageView, getStringDialogResponse, getUIFModelAndView, getUIFModelAndView, getUIFModelAndView, getUIFModelAndViewWithInit, getViewService, hasDialogBeenAnswered, hasDialogBeenDisplayed, initForm, navigate, performFieldQuery, performFieldSuggest, performLookup, performRedirect, performRedirect, refresh, resetDialogStatus, retrieveCollectionPage, retrieveOriginalComponent, returnFromLightbox, returnToHistory, returnToHub, returnToPrevious, saveLine, sessionTimeout, showDialog, start, tableCsvRetrieval, tableJsonRetrieval, tableXlsRetrieval, tableXmlRetrieval
public static final String INPUT_FIELD
public static final String ENCRYPTION_ERROR
public EncryptionController()
protected EncryptionForm createInitialForm(javax.servlet.http.HttpServletRequest request)
createInitialForm
in class UifControllerBase
request
- - the http request that was made@RequestMapping(params="methodToCall=encrypt") public org.springframework.web.servlet.ModelAndView encrypt(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
The encryptedText and decryptedText filds are populated when encryption is successful. An error message is displayed otherwise.
@RequestMapping(params="methodToCall=decrypt") public org.springframework.web.servlet.ModelAndView decrypt(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
The encryptedText and decryptedText filds are populated when decryption is successful. An error message is displayed otherwise.
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.