Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SEC-1538: Reduce number of pre-authenticated AuthenticationDetails implementations #1780

Closed
spring-projects-issues opened this issue Aug 12, 2010 · 3 comments

Comments

@spring-projects-issues
Copy link

@spring-projects-issues spring-projects-issues commented Aug 12, 2010

Luke Taylor (Migrated from SEC-1538) said:

I don't believe we need PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails and PreAuthenticatedGrantedAuthoritiesAuthenticationDetails. If they are used at all it is a minority of situations where a custom implementation should be used. Pre-authentication is part of the web module and assumes a dependency on the servlet API, so these extra implementations seem largely redundant.

@spring-projects-issues
Copy link
Author

@spring-projects-issues spring-projects-issues commented Aug 13, 2010

Luke Taylor said:

Most of the non-web classes seem to be there only to prop-up the WebSphere2SpringSecurityPropagationInterceptor class (which has somehow slipped into the web module). Rather than remove this immediately, I've deprecated it, along with the supporting classes. Setting up a security context for use by a bean shouldn't be something that is only available for websphere and it has wider applicability (for example setting up the invocation of an external service with a particular set of credentials). There is also an overlap with the concept of a "run-as" user.

@spring-projects-issues
Copy link
Author

@spring-projects-issues spring-projects-issues commented Aug 13, 2010

Luke Taylor said:

See SEC-1539 for planned replacement of WebSphere2SpringSecurityPropagationInterceptor.

@spring-projects-issues
Copy link
Author

@spring-projects-issues spring-projects-issues commented Feb 6, 2016

This issue is related to #1781

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant