org.kuali.rice.krad.labs.encryption
Class EncryptionController
java.lang.Object
org.kuali.rice.krad.web.controller.UifControllerBase
org.kuali.rice.krad.labs.encryption.EncryptionController
@Controller
@RequestMapping(value="/encryption")
public class EncryptionController
- extends UifControllerBase
Controller for the encrypt/decrypt utility
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Method Summary |
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. |
Methods inherited from class org.kuali.rice.krad.web.controller.UifControllerBase |
addBlankLine, addLine, back, cancel, checkForm, checkViewAuthorization, defaultMapping, deleteLine, getBooleanDialogResponse, getMessageView, getStringDialogResponse, getUIFModelAndView, getUIFModelAndView, getUIFModelAndViewWithInit, getViewService, hasDialogBeenAnswered, hasDialogBeenDisplayed, initForm, navigate, performFieldQuery, performFieldSuggest, performLookup, performRedirect, performRedirect, refresh, returnFromLightbox, returnToHistory, returnToHub, returnToPrevious, saveLine, sessionTimeout, showDialog, start |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INPUT_FIELD
public static final String INPUT_FIELD
- See Also:
- Constant Field Values
ENCRYPTION_ERROR
public static final String ENCRYPTION_ERROR
- See Also:
- Constant Field Values
EncryptionController
public EncryptionController()
createInitialForm
protected EncryptionForm createInitialForm(javax.servlet.http.HttpServletRequest request)
- Polulate the encryptionServiceName on the form.
- Specified by:
createInitialForm
in class UifControllerBase
- Parameters:
request
- - the http request that was made
encrypt
@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)
- Encrypt the text of the input field.
The encryptedText and decryptedText filds are populated when encryption is successful. An error message
is displayed otherwise.
decrypt
@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)
- Decrypt the text of the input field.
The encryptedText and decryptedText filds are populated when decryption is successful. An error message
is displayed otherwise.
Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.