{"id":{"repo_id":"coimbro","oai_identifier":"oai:estudogeral.uc.pt:10316/116397"},"canonical_url":"https://search.ndltd.org/etd/coimbro/oai:estudogeral.uc.pt:10316/116397","repository":{"repo_id":"coimbro","name":"Universidade de Coimbro","base_url":"https://estudogeral.sib.uc.pt/oai/request"},"display":{"title":"Single Sign-On Proxy for CERN Java Critical Applications","abstract":"As technologies evolve, deprecation becomes inevitable, leading to challenges, particularly in maintaining security. CERN Single Sign-On (SSO) proxy for Java critical applications was starting to get affected by deprecation since one of its major dependencies was announced to be deprecated, and this led to the creation of a project to find and implement a replacement of the whole SSO proxy to avoid having such a critical component with a higher risk of being compromised.The objective of this document is to show the process of replacing the CERN SSO proxy based on HAProxy and Lua as scripting language. CERN Java applications that require this proxy also expect specific functionalities from it, such as manipulating the request by adding or removing user information.The document presents an introduction to concepts and technologies relevant to the project, such as deprecation; technologies and concepts regarding the SSO and SSO proxy, like Keycloak, OpenID Connect (OIDC), HAProxy, and Lua; and technologies regarding deployment strategies, such as Kubernetes, Helm, Jinja templating, and Docker.Further ahead, the CERN Java application requirements are described, as is a section on how the SSO proxy was implemented. In that section, there are SSO proxy examples based on Spring Boot and OAuth2-proxy that were built to better understand the protocols that the project was facing, such as OIDC, but also to see if they fit the necessary requirements. Finally, the SSO proxy based on HAProxy and Lua as scripting language is described, as is how it is deployed using the previously referenced deployment technologies.The document ends with a validation section where tests were performed to ensure that the requirements were met, and a conclusion was drawn with an evaluation of the project’s success.","abstract_html":"As technologies evolve, deprecation becomes inevitable, leading to challenges, particularly in maintaining security. CERN Single Sign-On (SSO) proxy for Java critical applications was starting to get affected by deprecation since one of its major dependencies was announced to be deprecated, and this led to the creation of a project to find and implement a replacement of the whole SSO proxy to avoid having such a critical component with a higher risk of being compromised.The objective of this document is to show the process of replacing the CERN SSO proxy based on HAProxy and Lua as scripting language. CERN Java applications that require this proxy also expect specific functionalities from it, such as manipulating the request by adding or removing user information.The document presents an introduction to concepts and technologies relevant to the project, such as deprecation; technologies and concepts regarding the SSO and SSO proxy, like Keycloak, OpenID Connect (OIDC), HAProxy, and Lua; and technologies regarding deployment strategies, such as Kubernetes, Helm, Jinja templating, and Docker.Further ahead, the CERN Java application requirements are described, as is a section on how the SSO proxy was implemented. In that section, there are SSO proxy examples based on Spring Boot and OAuth2-proxy that were built to better understand the protocols that the project was facing, such as OIDC, but also to see if they fit the necessary requirements. Finally, the SSO proxy based on HAProxy and Lua as scripting language is described, as is how it is deployed using the previously referenced deployment technologies.The document ends with a validation section where tests were performed to ensure that the requirements were met, and a conclusion was drawn with an evaluation of the project’s success.","abstract_has_math":false,"creators":["Portovedo, Daniel Gonçalves"],"institution":null,"degree_name":null,"degree_level":null,"degree_discipline":null,"degree_department":null,"school":null,"contributors":[],"advisors":["Nappi, Antonio","Sousa, Bruno Miguel de Oliveira"],"committee_chairs":[],"committee_members":[],"year":2024,"date_issued":"2024-07-12","date_published":"2024-07-12","updated_at":"2026-11-26T15:55:39Z","subjects":["Single Sign-On (SSO)","Single Sign-On proxy (SSO Proxy)","HAProxy and Lua as SSO proxy","Software Security","Kubernetes","HAProxy e Lua como SSO proxy","Segurança de Software"],"languages":["eng"],"rights":["openAccess"],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.tid","label":"Dc Identifier Tid","values":["203693418"],"render_values":[{"text":"203693418","href":null,"code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/10316/116397","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/10316/116397","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":"open","embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Acoimbro%3Aoai%3Aestudogeral.uc.pt%3A10316%2F116397","prefix":"oai_dc"},"source_record":{"url":"https://estudogeral.sib.uc.pt/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Aestudogeral.uc.pt%3A10316%2F116397","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Nappi, Antonio","Sousa, Bruno Miguel de Oliveira"]},{"key":"dc:creator","label":"Author","values":["Portovedo, Daniel Gonçalves"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.issued","label":"Date","values":["2024-07-12"]},{"key":"dc:type","label":"Dc Type","values":["masterThesis"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Single Sign-On (SSO)","Single Sign-On proxy (SSO Proxy)","HAProxy and Lua as SSO proxy","Software Security","Kubernetes","HAProxy e Lua como SSO proxy","Segurança de Software"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["eng"]},{"key":"dc:rights","label":"Dc Rights","values":["openAccess"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.tid","label":"Dc Identifier Tid","values":["203693418"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/10316/116397"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description","label":"Description","values":["Dissertação de Mestrado em Segurança Informática apresentada à Faculdade de Ciências e Tecnologia"]},{"key":"dc:description.abstract","label":"Abstract","values":["As technologies evolve, deprecation becomes inevitable, leading to challenges, particularly in maintaining security. CERN Single Sign-On (SSO) proxy for Java critical applications was starting to get affected by deprecation since one of its major dependencies was announced to be deprecated, and this led to the creation of a project to find and implement a replacement of the whole SSO proxy to avoid having such a critical component with a higher risk of being compromised.The objective of this document is to show the process of replacing the CERN SSO proxy based on HAProxy and Lua as scripting language. CERN Java applications that require this proxy also expect specific functionalities from it, such as manipulating the request by adding or removing user information.The document presents an introduction to concepts and technologies relevant to the project, such as deprecation; technologies and concepts regarding the SSO and SSO proxy, like Keycloak, OpenID Connect (OIDC), HAProxy, and Lua; and technologies regarding deployment strategies, such as Kubernetes, Helm, Jinja templating, and Docker.Further ahead, the CERN Java application requirements are described, as is a section on how the SSO proxy was implemented. In that section, there are SSO proxy examples based on Spring Boot and OAuth2-proxy that were built to better understand the protocols that the project was facing, such as OIDC, but also to see if they fit the necessary requirements. Finally, the SSO proxy based on HAProxy and Lua as scripting language is described, as is how it is deployed using the previously referenced deployment technologies.The document ends with a validation section where tests were performed to ensure that the requirements were met, and a conclusion was drawn with an evaluation of the project’s success.","À medida que as tecnologias evoluem, a descontinuação torna-se inevitável o que leva a desafios, principalmente na manutenção da segurança. O Single Sign-On (SSO) proxy do CERN para aplicações críticas em Java começou a ser afetado pela descontinuação, uma vez que uma das suas principais dependências foi anunciada como descontinuada, o que levou à criação de um projeto para encontrar e implementar uma substituição para SSO proxy, de forma a evitar que um componente tão crítico tenha um maior risco de ser comprometido.O objetivo deste documento é mostrar o processo de substituição do SSO proxy do CERN, baseado em HAProxy e Lua como linguagem de script. As aplicações Java do CERN que requerem este proxy também esperam funcionalidades específicas dele, como manipular os pedidos adicionando ou removendo informações do utilizador.O documento apresenta uma introdução aos conceitos e tecnologias relevantes para o projeto, tais como descontinuação; tecnologias e conceitos relacionados com o SSO e o SSO proxy, como Keycloak, OpenID Connect (OIDC), HAProxy e Lua; e tecnologias relacionadas com estratégias de deployment, como Kubernetes, Helm, Jinja templating e Docker.Mais adiante, são descritos os requisitos das aplicações Java do CERN, assim como uma secção sobre como o SSO proxy foi implementado. Nesta secção, são apresentados exemplos de SSO proxies baseados em Spring Boot e OAuth2- proxy que foram construídos para compreender melhor os protocolos que o projeto enfrentava, como OIDC, mas também para verificar se atendem aos requisitos necessários. Finalmente, é descrito o SSO proxy baseado no HAProxy e Lua como linguagem de script, assim como o deployment utilizando as tecnologias de deployment anteriormente referenciadas.O documento termina com uma secção de validação onde foram realizados testes para asegurar que os requisitos foram cumpridos, e uma conclusão foi tirada com uma avaliação do sucesso do projeto."]},{"key":"dc:peerreviewed","label":"Dc Peerreviewed","values":["yes"]},{"key":"dc:title","label":"Title","values":["Single Sign-On Proxy for CERN Java Critical Applications"]},{"key":"dc:title.alternative","label":"Alternative Title","values":["Proxy de Single Sign-On para Aplicações Críticas de Java no CERN"]}]}],"canonical_facts":{"dc:contributor.advisor":["Nappi, Antonio","Sousa, Bruno Miguel de Oliveira"],"dc:creator":["Portovedo, Daniel Gonçalves"],"dc:date.issued":["2024-07-12"],"dc:description":["Dissertação de Mestrado em Segurança Informática apresentada à Faculdade de Ciências e Tecnologia"],"dc:description.abstract":["As technologies evolve, deprecation becomes inevitable, leading to challenges, particularly in maintaining security. CERN Single Sign-On (SSO) proxy for Java critical applications was starting to get affected by deprecation since one of its major dependencies was announced to be deprecated, and this led to the creation of a project to find and implement a replacement of the whole SSO proxy to avoid having such a critical component with a higher risk of being compromised.The objective of this document is to show the process of replacing the CERN SSO proxy based on HAProxy and Lua as scripting language. CERN Java applications that require this proxy also expect specific functionalities from it, such as manipulating the request by adding or removing user information.The document presents an introduction to concepts and technologies relevant to the project, such as deprecation; technologies and concepts regarding the SSO and SSO proxy, like Keycloak, OpenID Connect (OIDC), HAProxy, and Lua; and technologies regarding deployment strategies, such as Kubernetes, Helm, Jinja templating, and Docker.Further ahead, the CERN Java application requirements are described, as is a section on how the SSO proxy was implemented. In that section, there are SSO proxy examples based on Spring Boot and OAuth2-proxy that were built to better understand the protocols that the project was facing, such as OIDC, but also to see if they fit the necessary requirements. Finally, the SSO proxy based on HAProxy and Lua as scripting language is described, as is how it is deployed using the previously referenced deployment technologies.The document ends with a validation section where tests were performed to ensure that the requirements were met, and a conclusion was drawn with an evaluation of the project’s success.","À medida que as tecnologias evoluem, a descontinuação torna-se inevitável o que leva a desafios, principalmente na manutenção da segurança. O Single Sign-On (SSO) proxy do CERN para aplicações críticas em Java começou a ser afetado pela descontinuação, uma vez que uma das suas principais dependências foi anunciada como descontinuada, o que levou à criação de um projeto para encontrar e implementar uma substituição para SSO proxy, de forma a evitar que um componente tão crítico tenha um maior risco de ser comprometido.O objetivo deste documento é mostrar o processo de substituição do SSO proxy do CERN, baseado em HAProxy e Lua como linguagem de script. As aplicações Java do CERN que requerem este proxy também esperam funcionalidades específicas dele, como manipular os pedidos adicionando ou removendo informações do utilizador.O documento apresenta uma introdução aos conceitos e tecnologias relevantes para o projeto, tais como descontinuação; tecnologias e conceitos relacionados com o SSO e o SSO proxy, como Keycloak, OpenID Connect (OIDC), HAProxy e Lua; e tecnologias relacionadas com estratégias de deployment, como Kubernetes, Helm, Jinja templating e Docker.Mais adiante, são descritos os requisitos das aplicações Java do CERN, assim como uma secção sobre como o SSO proxy foi implementado. Nesta secção, são apresentados exemplos de SSO proxies baseados em Spring Boot e OAuth2- proxy que foram construídos para compreender melhor os protocolos que o projeto enfrentava, como OIDC, mas também para verificar se atendem aos requisitos necessários. Finalmente, é descrito o SSO proxy baseado no HAProxy e Lua como linguagem de script, assim como o deployment utilizando as tecnologias de deployment anteriormente referenciadas.O documento termina com uma secção de validação onde foram realizados testes para asegurar que os requisitos foram cumpridos, e uma conclusão foi tirada com uma avaliação do sucesso do projeto."],"dc:identifier.tid":["203693418"],"dc:identifier.uri":["https://hdl.handle.net/10316/116397"],"dc:language.iso":["eng"],"dc:peerreviewed":["yes"],"dc:rights":["openAccess"],"dc:subject":["Single Sign-On (SSO)","Single Sign-On proxy (SSO Proxy)","HAProxy and Lua as SSO proxy","Software Security","Kubernetes","HAProxy e Lua como SSO proxy","Segurança de Software"],"dc:title":["Single Sign-On Proxy for CERN Java Critical Applications"],"dc:title.alternative":["Proxy de Single Sign-On para Aplicações Críticas de Java no CERN"],"dc:type":["masterThesis"]},"updated_at":"2026-11-26T15:55:39Z"}