Skip to content

Spring Framework Blog

Menu
  • Home
  • Spring
  • Spring Boot
  • About
Menu

Author: Armando Marques

Spring MVC Entities

Posted on June 3, 2024June 7, 2024 by Armando Marques

Annotations Name Description @Model Interface, holder for model attributes @ModelMap Class, in ModelMap attibute key can be omitted and the value of the attribute will be use to generate the key. @ModelAndView ModelAndView it’s a container for both View object and ModelMap @ModelAttribute Annotation that binds a method parameter or method return method to a…

Spring Security Entities

Posted on June 2, 2024June 14, 2024 by Armando Marques

Spring Security Entities

Spring Security

Posted on June 2, 2024June 14, 2024 by Armando Marques

Security concepts Architecture SecurityContextHolder – The SecurityContextHolder is where Spring Security stores the details of who is authenticated. SecurityContext – is obtained from the SecurityContextHolder and contains the Authentication of the currently authenticated user. Authentication – Can be the input to AuthenticationManager to provide the credentials a user has provided to authenticate or the current…

Spring Security II

Posted on June 2, 2024June 14, 2024 by Armando Marques

Security filters Spring Security MVC is based on Server Filters. DelegatingFilterProxy – Filter implementation that allows bridging between servlet container lifecycle and ApplicationContext. This filter follows standard servlets containers mechanisms but delegates all work to a spring bean that implements filter. FilterChainProxy – special filter, provided by Spring Security that allows delegating to many filter…

Method security

Posted on June 2, 2024June 14, 2024 by Armando Marques

Spring Security’s method authorization support is handy for: And since Method Security is built using Spring AoP. Annotation @EnableMethodSecurity Annotation @Secured is a legacy option to authorize invocations, superseded by @PreAuthorized. JSR 250 annotations correspond to @RolesAllowed, @PermitAll and @DenyAll. Annotations @PreAuthorize and @PostAuthorize – verifies condition before or after method invocation. @PreFilter and @PostFilter…

Posts pagination

  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • …
  • 8
  • Next
  • Spring
  • Documentation
  • References
  • Toc
  • Books
  • Certification
  • AOP
  • Config
  • Java
  • Java core
  • JDBC
  • JPA
  • Rest
  • Security
  • Spring
  • Spring Boot
  • Spring Core
  • Spring Data
  • Spring MVC
  • Spring Rest
  • Spring Security
  • Tests
  • Transactions

Recent Posts

  • Java operators
  • Java versions
  • Java Oracle Licenses
  • Configuration properties
  • MockMvc
  • Spring Security III
  • MVC Controller Method Params
  • JPA Methods
  • Transaction propagation and isolation
  • Spring JDBC
  • Spring Boot Auto-Configuration
  • Spring Resource interface
  • JSR 330 Standard Annotations
  • Spring Aware Interfaces
  • Spring Transactions
  • Spring Boot Core
  • MVC Rest
  • Spring Boot JPA
  • Tests
  • Spring Actuator
©2025 Spring Framework Blog | Built using WordPress and Responsive Blogily theme by Superb