{"id":12365,"date":"2022-09-29T14:10:02","date_gmt":"2022-09-29T20:10:02","guid":{"rendered":"http:\/\/201.237.206.56\/Sitios\/ugit.siua.ac.cr\/?p=12365"},"modified":"2022-09-30T16:05:21","modified_gmt":"2022-09-30T22:05:21","slug":"cgi-conceptos","status":"publish","type":"post","link":"https:\/\/sada.services\/?p=12365","title":{"rendered":"CGI: Conceptos"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Spring Boot curso<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>P\u00e1gina official: https:\/\/spring.io\/projects<\/li><li>Curso: https:\/\/www.youtube.com\/watch?v=ltA-mIYyxhY&amp;list=PLvimn1Ins-40wR4PC-YtTQ5TKt3vRrVwl<\/li><li><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Spring Security<\/h2>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Spring Framework en Espa\u00f1ol - \u00bfQu\u00e9 es Spring Security? | 4SoftwareDevelopers\" width=\"1290\" height=\"726\" src=\"https:\/\/www.youtube.com\/embed\/fJoZicPVuTI?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Funcionamiento<\/h3>\n\n\n\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"336\" height=\"464\" src=\"\/wp-content\/uploads\/2022\/09\/Seleccion_018-3.png\" alt=\"\" class=\"wp-image-12367\" srcset=\"https:\/\/sada.services\/wp-content\/uploads\/2022\/09\/Seleccion_018-3.png 336w, https:\/\/sada.services\/wp-content\/uploads\/2022\/09\/Seleccion_018-3-217x300.png 217w\" sizes=\"(max-width: 336px) 100vw, 336px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>Se recibe una petici\u00f3n de autenticaci\u00f3n<\/li><li> Aqu\u00ed entra a funcionar un componente de Spring Security  llamado <strong>\u00abAuthentication Manager\u00bb <\/strong>y este se compone de un <strong>\u00abUserDetailsService\u00bb<\/strong> y esto es una interface donde manipulamos la autenticaci\u00f3n  y le damos a los usuarios los permisos correspondientes<\/li><li>Una vez se ejecuta este proceso el usuario es cargado a <strong>\u00abSecurity Context Holder\u00bb<\/strong> que es donde se almacena la informaci\u00f3n del usuario autenticado <\/li><li>Y a si el <strong>\u00abAuthentication Manager\u00bb<\/strong> devuelve a la <strong>\u00abrequest\u00bb<\/strong> una respuesta existosa o err\u00f3nea <\/li><li>As\u00ed podemos utilizar <strong>\u00abSpring Security\u00bb<\/strong> para trabajar o integrarlo para trabajar   con otros sistema de autenticaci\u00f3n como:<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"910\" height=\"398\" src=\"\/wp-content\/uploads\/2022\/09\/Seleccion_019-1.png\" alt=\"\" class=\"wp-image-12370\" srcset=\"https:\/\/sada.services\/wp-content\/uploads\/2022\/09\/Seleccion_019-1.png 910w, https:\/\/sada.services\/wp-content\/uploads\/2022\/09\/Seleccion_019-1-300x131.png 300w, https:\/\/sada.services\/wp-content\/uploads\/2022\/09\/Seleccion_019-1-768x336.png 768w\" sizes=\"(max-width: 910px) 100vw, 910px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>Permite hacer <strong>\u00abRecordar usuario\u00bb<\/strong><\/li><li>Tiene manejo de cach\u00e9 alto performance<\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Spring Boot curso P\u00e1gina official: https:\/\/spring.io\/projects Curso: https:\/\/www.youtube.com\/watch?v=ltA-mIYyxhY&amp;list=PLvimn1Ins-40wR4PC-YtTQ5TKt3vRrVwl Spring Security Funcionamiento Se recibe una petici\u00f3n de autenticaci\u00f3n Aqu\u00ed entra a funcionar un componente de Spring Security llamado \u00abAuthentication Manager\u00bb y este se compone de un \u00abUserDetailsService\u00bb y esto es una interface donde manipulamos la autenticaci\u00f3n y le damos a los usuarios los permisos correspondientes Una [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[429],"tags":[430],"class_list":["post-12365","post","type-post","status-publish","format-standard","hentry","category-cgi","tag-cgi"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":6}},"_links":{"self":[{"href":"https:\/\/sada.services\/index.php?rest_route=\/wp\/v2\/posts\/12365","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sada.services\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sada.services\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sada.services\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/sada.services\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=12365"}],"version-history":[{"count":5,"href":"https:\/\/sada.services\/index.php?rest_route=\/wp\/v2\/posts\/12365\/revisions"}],"predecessor-version":[{"id":12560,"href":"https:\/\/sada.services\/index.php?rest_route=\/wp\/v2\/posts\/12365\/revisions\/12560"}],"wp:attachment":[{"href":"https:\/\/sada.services\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12365"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sada.services\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=12365"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sada.services\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=12365"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}