{"repo":"pac4j/undertow-pac4j","free":true,"listed":false,"github":"https://github.com/pac4j/undertow-pac4j","clone":"git clone https://github.com/pac4j/undertow-pac4j.git","description":"Security library for Undertow: OpenID Connect, SAML2, CAS, OAuth, LDAP, JWT...","language":"Java","stars":42,"topics":["java","undertow","security","authentication","authorization","cas","oauth","saml","openid-connect","ldap"],"license":null,"category":"auth-billing-email","readme_excerpt":"The undertow-pac4j project is an easy and powerful security library for Undertow web applications which supports authentication and authorization, but also application logout and advanced features like CSRF protection. It's based on Java 17, Undertow 2 and on the pac4j security engine v6 . It's available under the Apache 2 license. Main concepts and components: 1) A client represents an authentication mechanism. It performs the login process and returns a user profile. An indirect client is for web application authentication while a direct client is for web services authentication: &#9656; OpenID Connect - SAML - CAS - OAuth - HTTP - LDAP - SQL - JWT - MongoDB - Kerberos - IP address - REST API 2) An authorizer is meant to check authorizations on the authenticated user profile(s) or on the current web context: &#9656; Roles / permissions - Anonymous / remember-me / (fully) authenticated - Profile type, attribute - CORS - CSRF - Security headers - IP address, HTTP method 3) A matcher defines whether the SecurityFilter must be applied and can be used for additional web processing 4) The SecurityHandler protects an url by checking that the user is authenticated and that the authorizations are valid, according to the clients and authorizers configuration. If the user is not authenticated, it performs authentication for direct clients or starts the login process for indirect clients 5) The CallbackHandler finishes the login process for an indirect client 6) The LogoutHandler logs ","default_branch":null,"files":null,"tree":[],"storefront":"/r/pac4j","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/pac4j/undertow-pac4j/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}