diff --git a/curriculumsearch/src/main/java/com/roshka/configuration/WebSecurityConfig.java b/curriculumsearch/src/main/java/com/roshka/configuration/WebSecurityConfig.java index 6b366df..4cd6033 100644 --- a/curriculumsearch/src/main/java/com/roshka/configuration/WebSecurityConfig.java +++ b/curriculumsearch/src/main/java/com/roshka/configuration/WebSecurityConfig.java @@ -1,6 +1,5 @@ package com.roshka.configuration; -import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.dao.DaoAuthenticationProvider; @@ -12,13 +11,11 @@ import org.springframework.security.core.userdetails.UserDetailsService; import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; import org.springframework.security.web.util.matcher.AntPathRequestMatcher; -import javax.sql.DataSource; @Configuration @EnableWebSecurity public class WebSecurityConfig extends WebSecurityConfigurerAdapter { - @Autowired - private DataSource dataSource; + @Bean public UserDetailsService userDetailsService() { diff --git a/curriculumsearch/src/main/webapp/jsp/edit-user-data.jsp b/curriculumsearch/src/main/webapp/jsp/edit-user-data.jsp index 38b2f2b..751c0ae 100644 --- a/curriculumsearch/src/main/webapp/jsp/edit-user-data.jsp +++ b/curriculumsearch/src/main/webapp/jsp/edit-user-data.jsp @@ -1,66 +1,53 @@ -<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> - - - - Edit Profile - - - - - - - - - -
-
-
-
-
- Sample photo -
-

Perfil

- - -
- Email - -
-
-
-
- Nombre - -
-
-
-
- Apellido - -
-
-
-
-
+<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> +<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> +<%@ page contentType="text/html;charset=UTF-8" language="java" %> +<%@ taglib uri="http://kwonnam.pe.kr/jsp/template-inheritance" prefix="layout"%> + + + +
+
+
Datos del usuario
+
+ +
+
+ Email +
+ +
+
+
+ Nombre +
+ +
+
+
+ Apellido +
+ +
+
+ +
+ +
+
+ +
+ -
-
+ + - - Volver -
-
-
-
-
-
-
- - diff --git a/curriculumsearch/src/main/webapp/jsp/layouts/base.jsp b/curriculumsearch/src/main/webapp/jsp/layouts/base.jsp index 689f81c..09bcf67 100644 --- a/curriculumsearch/src/main/webapp/jsp/layouts/base.jsp +++ b/curriculumsearch/src/main/webapp/jsp/layouts/base.jsp @@ -62,6 +62,9 @@ + diff --git a/curriculumsearch/src/main/webapp/jsp/postulantes.jsp b/curriculumsearch/src/main/webapp/jsp/postulantes.jsp index f5ce660..8db5f9d 100644 --- a/curriculumsearch/src/main/webapp/jsp/postulantes.jsp +++ b/curriculumsearch/src/main/webapp/jsp/postulantes.jsp @@ -123,9 +123,12 @@