Skip to content

Add FirstOfMultifactorAuthenticationToken #5196

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

Closed

Conversation

ynojima
Copy link
Contributor

@ynojima ynojima commented Apr 2, 2018

(Please read the issue first : #2603 (comment))

To support FIDO-U2F or Web Authentication with FIDO-U2F device, an authentication token for indicating the user passed the first step of multi step(factor) authentication is required.
FirstOfMultiFactorAuthenticationToken is meant to support the scenario. Also, by making AuthenticationTrustResolverImpl return false for the token, existing spring security application can introduce Multi Factor AuthenticationProvider like https://github.com/ynojima/spring-security-webauthn with minimum modification.

(maybe FirstOfMultiFactorAuthenticationToken is not proper naming, but I couldn't find another name.)

@pivotal-issuemaster
Copy link

@ynojima Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

@pivotal-issuemaster
Copy link

@ynojima Thank you for signing the Contributor License Agreement!

ynojima added 2 commits April 10, 2018 23:38
To indicate the state of principal which passed first step of multi step (factor) authehntication
@ynojima ynojima force-pushed the custom-for-webauthn-support branch from 6cc387d to c1012e9 Compare April 10, 2018 14:39
@ynojima ynojima mentioned this pull request Apr 19, 2018
@rwinch
Copy link
Member

rwinch commented Apr 19, 2018

Thank you for the PR!

I'm going to close this ticket as I do not like to merge features in until we have concrete user facing code that is ready to merge. We will wait until we have #5238 ready.

Also of important notice is we cannot make breaking changes to our APIs. So something like this cannot be done https://github.com/spring-projects/spring-security/pull/5196/files#diff-ed434fe5d44eed9505c5ee9c205225e5R61

@rwinch rwinch closed this Apr 19, 2018
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

Successfully merging this pull request may close these issues.

3 participants