Class OTPAuthenticationServiceImpl
- java.lang.Object
-
- org.oxerr.spring.security.otp.samples.helloworld.service.impl.OTPAuthenticationServiceImpl
-
- All Implemented Interfaces:
OTPAuthenticationService
public class OTPAuthenticationServiceImpl extends Object implements OTPAuthenticationService
-
-
Constructor Summary
Constructors Constructor Description OTPAuthenticationServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
generateOneTimePassword(org.springframework.security.core.Authentication authentication)
org.springframework.security.core.Authentication
loadAuthenticationByOneTimePassword(String oneTimePassword)
-
-
-
Method Detail
-
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)
-
-