Explore
1-3 of 3
Field injection is not recommended
Field injection is not recommended, because the list of required dependencies are unclear during instance creation. This makes testing more difficult and could lead to runtime exceptions when the bean is instantiated without spring.
- info
- java
- kotlin
- Spring
- Spring Core
- dependency injection
- framework specific
- quality
Field injection is not recommended (lombok)
Field injection is not recommended, because the list of required dependencies are unclear during instance creation. This makes testing more difficult and could lead to runtime exceptions when the bean is instantiated without spring.
- info
- java
- kotlin
- Spring
- Spring Core
- dependency injection
- framework specific
- Lombok
- quality
Input Validation: Avoid Spring Expression Language Injection: Do not evaluate expressions controlled by user input (ExpressionParser)
Could lead to Spring Expression Language Injection
- error
- java
- expression language
- Spring
- Spring Core
- security
- framework specific
- injection
- OWASP Top 10