Class GenerateOTPController

java.lang.Object
org.oxerr.spring.security.otp.samples.helloworld.web.GenerateOTPController

@Controller @RolesAllowed("ROLE_USER") public class GenerateOTPController extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • getOtp

      @RequestMapping(method=GET, path="/generate-otp") public org.springframework.web.servlet.ModelAndView getOtp(org.springframework.security.core.Authentication authentication) throws IOException
      Throws:
      IOException