|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.krad.web.controller.UifControllerBase
org.kuali.rice.krad.labs.encryption.EncryptionController
@Controller @RequestMapping(value="/encryption") public class EncryptionController
Controller for the encrypt/decrypt utility
| Field Summary | |
|---|---|
static String |
ENCRYPTION_ERROR
|
static String |
INPUT_FIELD
|
| Constructor Summary | |
|---|---|
EncryptionController()
|
|
| 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 java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String INPUT_FIELD
public static final String ENCRYPTION_ERROR
| Constructor Detail |
|---|
public EncryptionController()
| Method Detail |
|---|
protected EncryptionForm createInitialForm(javax.servlet.http.HttpServletRequest request)
createInitialForm in class UifControllerBaserequest - - 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||