spring-security icon indicating copy to clipboard operation
spring-security copied to clipboard

Spring Security

Results 621 spring-security issues
Sort by recently updated
recently updated
newest added

The default `SecurityContextRepository` for stateless applications is now `RequestAttributeSecurityContextRepository`. However, `SecurityContextConfigurer` sets the `SecurityContextRepository` to `HttpSessionSecurityContextRepository` if it isn't already set as a shared object. This results in the context...

status: waiting-for-triage
in: config
type: bug

**Describe the bug** https://github.com/spring-projects/spring-security/blob/5.7.3/docs/modules/ROOT/pages/servlet/test/mockmvc/result-matchers.adoc#authenticated-assertion The Kotlin examples for the MockMvc assertions call the Java functions, but these methods are not compatible with the Kotlin DSL, and so this test will...

in: docs
type: bug

In [this line](https://github.com/spring-projects/spring-security/blob/5.7.3/saml2/saml2-service-provider/src/main/java/org/springframework/security/saml2/provider/service/web/Saml2MetadataFilter.java#L108), the `Saml2MetadataFilter` sends out the response without specifying an encoding. The response will therefore be encoded using the default `ISO-8859-1` encoding (see `getWriter` Javadoc). However, the xml...

status: waiting-for-triage
type: bug

[Servlet spec states](https://jakarta.ee/specifications/servlet/5.0/jakarta-servlet-spec-5.0.html#the-include-method) that include dispatch: > ... cannot set headers or call any method that affects the headers of the response... Any attempt to set the headers must be...

status: waiting-for-triage
type: bug

**Expected Behavior** The `AuthorizationChannelInterceptor` implements a similar to the `preSend()` in the `postReceive()` contract which is applicable for the `PollableChannel` implementations. **Current Behavior** The `AuthorizationChannelInterceptor` currently implements only `preSend()` for...

status: waiting-for-triage
in: messaging
type: enhancement

The implements can replace the authentication token, which will be PreAuthenticatedAuthenticationToken or its subclass, by overriding the method createAuthenticationToken. The system may be authenticated by several external system, and if...

status: waiting-for-triage
in: web
type: enhancement

`AuthenticationManager` and `AuthenticationProvider` have the same primary signature. In an effort to simplify the API, `AuthenticationProvider` should be deprecated. Here is an initial list: - [ ] Have existing `AuthenticationProvider`s...

in: core
type: enhancement

**Describe the bug** As [mentioned in gitter](https://gitter.im/spring-projects/spring-security?at=633bbecbb4ccef19d021b93c)... My app currently runs on Spring Boot 2.7.4. I was testing compatibility with 3.0.0-M5. All appeared to work well except one aspect of...

status: waiting-for-triage
in: web
type: bug

We should look in every location and require that if an authorization manager abstained, then access should be denied. One option is that if the AuthorizationResult is null, then deny...

in: core
type: enhancement

Making Spring Security's actions observable at runtime will help make applications more secure. Following [recommendations from OWASP](https://cheatsheetseries.owasp.org/cheatsheets/Logging_Cheat_Sheet.html#which-events-to-log), we should: - [x] [Add authorization events](https://github.com/spring-projects/spring-security/pull/9527) - [ ] Add OAuth2 client...

in: core
type: enhancement