Advertisement
Guest User

Untitled

a guest
Apr 21st, 2017
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. ... else {
  2. usuarios.setNumReintentos(Integer.valueOf(0));
  3.  
  4. this.usuariosBo.update(usuarios);
  5.  
  6. /* JML - 20170321 */
  7. //FacesUtils.getExternalContext().redirect(FacesUtils.getExternalContext().encodeActionURL("/litigios/j_spring_security_check?j_username=" + URLEncoder.encode((String)this.usuario.getValue(), "UTF-8") + "&j_password=" + URLEncoder.encode((String)this.password.getValue(), "UTF-8")));
  8. FacesUtils.getExternalContext().redirect("/litigios/j_spring_security_check?j_username=" + URLEncoder.encode((String)this.usuario.getValue(), "UTF-8") + "&j_password=" + URLEncoder.encode((String)this.password.getValue(), "UTF-8"));
  9.  
  10. HashMap<String, String> params = new HashMap<>();
  11. params.put("j_username", URLEncoder.encode((String)this.usuario.getValue(), "UTF-8"));
  12. params.put("j_password", URLEncoder.encode((String)this.password.getValue(), "UTF-8"));
  13. //performPostCall("http://localhost:8080/litigios/j_spring_security_check", params);
  14.  
  15. /* JML - 20170321 */
  16.  
  17. this.formBean.mostrarMenuReclamacionesPrevias();
  18. this.logActividadBO.grabarLogActividad(1, null, null, true);
  19. } ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement