Class OTPAuthenticationServiceImpl
java.lang.Object
org.oxerr.spring.security.otp.samples.helloworld.service.impl.OTPAuthenticationServiceImpl
- All Implemented Interfaces:
OTPAuthenticationService
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongenerateOneTimePassword
(org.springframework.security.core.Authentication authentication) org.springframework.security.core.Authentication
loadAuthenticationByOneTimePassword
(String oneTimePassword)
-
Field Details
-
store
-
-
Constructor Details
-
OTPAuthenticationServiceImpl
public OTPAuthenticationServiceImpl()
-
-
Method Details
-
loadAuthenticationByOneTimePassword
public org.springframework.security.core.Authentication loadAuthenticationByOneTimePassword(String oneTimePassword) throws org.springframework.security.core.AuthenticationException - Specified by:
loadAuthenticationByOneTimePassword
in interfaceOTPAuthenticationService
- Throws:
org.springframework.security.core.AuthenticationException
-
generateOneTimePassword
public String generateOneTimePassword(org.springframework.security.core.Authentication authentication)
-