spring security - Using PreAuthenticatedAuthenticationToken Understanding Pre Authenticated Authentication Token in Spring Security Spring Security is a powerful framework that helps secure Java applications One of its a 3 min read 08-10-2024 2
logging of spring security login/logout Tracking User Activity How to Log Spring Security Login and Logout Events Understanding how users interact with your application is essential for security monit 3 min read 07-10-2024 4
Mapping user roles to oauth2 scopes/authorities Mapping User Roles to O Auth 2 0 Scopes A Guide to Secure and Efficient Access Control O Auth 2 0 is a powerful tool for granting secure access to protected res 3 min read 07-10-2024 2
Spring Security allow all requests Spring Security Allowing All Requests A Beginners Guide Problem You re setting up a Spring Boot application and need to temporarily allow all requests for devel 2 min read 07-10-2024 2
How to return HTTP 403 after successful authentication, but unsuccessful authorization? Navigating the Forbidden Zone Returning HTTP 403 After Successful Authentication In the world of web development ensuring the security of your API is paramount 2 min read 07-10-2024 3
How to configure CORS in a Spring Boot + Spring Security application? Securing Your Spring Boot API Mastering CORS with Spring Security Cross Origin Resource Sharing CORS is a crucial aspect of modern web development allowing webs 2 min read 07-10-2024 7
Unable to authentication a user with spring custom filter Spring Security Authentication Headaches with Custom Filters Problem You ve built a custom filter in Spring Security to authenticate users based on unique logic 3 min read 07-10-2024 3
Spring Security Ant Matchers for home root / - spring boot 1.4.2 release version Securing Your Spring Boot 1 4 2 Application with Ant Matchers A Deep Dive into Home Root Access Protecting your Spring Boot application from unauthorized access 2 min read 07-10-2024 2
Spring security shows "bad credentials" error instead of redirect Spring Security Why You re Getting Bad Credentials Instead of Redirection Many Spring Security users encounter a frustrating issue instead of gracefully redirec 2 min read 07-10-2024 2
Spring QueryDsl pagination filter by ACL permissions Spring Querydsl Pagination and Filtering with ACL Permissions Implementing secure pagination and filtering in your Spring Boot application can be a complex task 2 min read 06-10-2024 7
Spring Security CSRF disable is not working Spring Security CSRF Protection Why Disabling It Might Not Be the Solution You Need Spring Securitys CSRF protection is a crucial layer of defense against cross 2 min read 06-10-2024 6
Spring Boot auto login Bad Credentials Spring Boot Auto Login Demystifying the Bad Credentials Error Have you ever set up auto login in your Spring Boot application only to be greeted with the frustr 3 min read 06-10-2024 6
spring boot starter security not generating default password in logs Spring Boot Security Why Your Default Password Isnt Showing in the Logs Have you ever set up Spring Boot security and found yourself scratching your head wonder 2 min read 06-10-2024 5
Configuring spring-boot-starter-oauth2-client to authenticate with Azure AD Authenticating Spring Boot Applications with Azure Active Directory using O Auth2 This article guides you through the process of integrating your Spring Boot ap 3 min read 06-10-2024 11
Federate authorization requests with Spring Authorization Server Federate Authorization Requests with Spring Authorization Server Streamlining Authentication Across Multiple Applications The Problem Imagine you have several a 2 min read 05-10-2024 9
It is possible to have sign in with user and credentials(JWT) and Oauth2 sign in with google? Combining Worlds Integrating JWT Authentication with O Auth2 for Seamless User Experiences In todays digital landscape users demand seamless and secure access t 3 min read 05-10-2024 9
Convert JWT Authentication Principal to something more usable in spring Ditch the JWT Principal Unlocking Usable User Data in Spring Dealing with JWT authentication in Spring can be a bit of a pain You get the JWT principal but its 2 min read 05-10-2024 7
Spring security OpenSAML 4.1.1 artifacts not found Spring Security Open SAML 4 1 1 Troubleshooting Artifact Resolution Errors Scenario You re setting up Single Sign On SSO in your Spring Boot application using O 3 min read 05-10-2024 7
Spring SecurityContext not available when using parallelStream Spring Security Context Disappears in Parallel Streams A Common Problem and Its Solutions Scenario You re working on a Spring Boot application that uses Spring 2 min read 05-10-2024 6
Spring security oauth2 login / spring cloud gateway sends 302 with XHR Spring Security O Auth2 and Spring Cloud Gateway Navigating the 302 Redirect with XHR The Problem You re building a microservices application with Spring Cloud 3 min read 05-10-2024 6
SpringBoot + Spring Security OAuth2 2.0 Resource Server JWT at Startup Expectation is not calling Authorisation Server Spring Boot Spring Security O Auth2 Why Your Resource Server Isnt Talking to the Authorization Server at Startup The Problem Silent Startup You ve meticulously 2 min read 05-10-2024 4
ProviderSettings class not found it says Cannot resolve symbol ProviderSettings Cannot resolve symbol Provider Settings Troubleshooting the Missing Provider Settings Class Problem You re encountering an error message Cannot resolve symbol P 2 min read 05-10-2024 11
Manual login/authenticationManager - Spring security 6 Manual Login and Authentication Manager in Spring Security 6 A Practical Guide Spring Security 6 offers a robust framework for securing your applications While 2 min read 05-10-2024 4
Disabling Basic Auth in Spring Boot 3 Disabling Basic Authentication in Spring Boot 3 Problem Basic Authentication is a common way to secure web applications but in some situations you might need to less than a minute read 04-10-2024 5
How to deal with CsrfAuthenticationStrategy unsetting XSRF-TOKEN cookie on authentication? Unlocking the Mystery of XSRF TOKEN Disappearing After Authentication A Guide to CSRF Protection The Problem A Vanishing Cookie Have you ever encountered the fr 2 min read 04-10-2024 8