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

Move TestingAuthenticationToken and TestingAuthenticationProvider to test package #5463

Closed
HerrDerb opened this issue Jun 26, 2018 · 0 comments

Comments

@HerrDerb
Copy link

Summary

The classes TestingAuthenticationToken and TestingAuthenticationProvider are currently located inside of the productive package org.springframework.security.authentication.

As stated in both of the classes, these classes are for testing purposes and therefore should be moved to the corresponding test package.

TestingAuthenticationToken
 * An {@link org.springframework.security.core.Authentication} implementation that is
 * designed for use whilst unit testing.

TestingAuthenticationProvider
 * The purpose of this implementation is to facilitate unit testing. This provider should
 * <b>never be enabled on a production system</b>.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant