Spring Security Keep getting LinkedHashMap cannot cast to .OAuth2AuthorizationRequest error

I have a BFF setup almost running (it took ages, and has been a very painstaking experience....75+ config files! - and I...

Spring Security Support jwt in introspection response

It would be nice to provide support for phantom tokens. Many IDPs already have this feature, for example keycloak or cur...

Spring Security AuthorizationAnnotationUtils.findUniqueAnnotation is broken when interface is inherited

Describe the bugWhen using @RolesAllowed annotation on interface level and inheriting that interface with another inter...

Spring Security Cannot Autowire ClientRegistrationRepository for a Servlet (works for Webflux)

For some reason, when I do this@Configuration@EnableWebSecurityinternal class DefaultSecurityConfig () { @Autowired ...

Spring Security Customize authentication converter (JwtAuthenticationConverter) in JwtIssuerReactiveAuthenticationManagerResolver

Expected BehaviorWe need to convert additional claims (i.e. roles) from a JWT to GrantedAuthority so that we can do meth...

Spring Security For an authenticated user hosted controllers are returning error response (redirected to login) if any subsequent REST calls are returning 401 error

Describe the bugWe are using Spring Security OAuth2 with WebFlux, For the rest end points/controllers we are implementin...

Spring Security Discrepancy in spring security tutorial concerning how bcrypt password strings structure looks like

Expected BehaviorThe tutorials say that when a password is encrypted with the bcrypt password encoder, the encoded strin...

Spring Security Allow for extending OAuth2AuthorizedClient with additional parameters in the code grant flow

Expected BehaviorOn successful authorization, the stored authorized client includes any additional parameters provided b...

Spring Security Why does remembering my authorization exception raise an authentication exception

What consideration is this code based on to exclude the need to remember that the token I generate throws an authenticat...

Spring Security Getting marshall No marshaller available for {urn:oasis:names:tc:SAML:2.0:assertion}Issuer, child of {urn:oasis:names:tc:SAML:2.0:protocol}AuthnRequest

I am trying to create a new authrequest using only opensaml and spring-security-saml-service-provider. I am getting the ...

Spring Security ActiveDirectoryLdapAuthenticationProvider does not implement support for multiple urls

SummaryThe javadoc for ActiveDirectoryLdapAuthenticationProvider constructors says the param url supports multiple URLs....

Spring Security How can classpath public key values be utilized in the OAuth2 client jwks_uri?

Context:I'm working with multiple OAuth2 Clients where I need to validate JWT tokens (id token) which is using JwtDecode...

Spring Security Bad return type for HeadersConfigurer#permissionsPolicy method with customizer

Describe the bugpermissionsPolicy(Customizer<PermissionsPolicyConfig> permissionsPolicyCustomizer) method in Heade...

Spring Security HeadersConfigurer.PermissionsPolicyConfig breaks fluent api

Describe the bugHeadersConfigurer.permissionsPolicy(Customizer<PermissionsPolicyConfig> permissionsPolicyCustomize...

Spring Security Considering making the RestTemplate configurable in ClientRegistrations

For example, configure SSLContext when SSL is enabled for authorization server. Currently there is no chance to do that....

Spring Security OpenSaml4AuthenticationProvider : Handle response not signed but assertions signed

Describe the bugWhen the response is not signed but assertions are signed, an error is thrown.To ReproduceConfigure an I...

Spring Security PreAuthorize not working on Services with an Interface, and also still not working on Kotlin Co-routines

Much background is here:https://stackoverflow.com/questions/78698990/spring-webflux-spring-security-preauthorize-not-wor...

Spring Security WebMvcTest seems to rely on a running OAuth2 provider

Describe the bugMy Spring Boot application uses spring-boot-starter-oauth2-client and spring-boot-starter-oauth2-resourc...

Spring Security Illegal group reference

java.lang.IllegalArgumentException: Illegal group reference at java.base/java.util.regex.Matcher.appendExpandedReplac...

Spring Security RelyingPartyRegistrations typically produces unusable registrationId

Describe the bugMethods such as RelyingPartyRegistrations.collectionFromMetadataLocation use the entity of the asserting...
上一页 下一页
.