Class FrontendController
java.lang.Object
se.swedenconnect.bankid.idp.authn.FrontendController
@RestController
@ConditionalOnProperty(value="bankid.built-in-frontend",
havingValue="true",
matchIfMissing=true)
public class FrontendController
extends Object
If we are running in "standalone" mode, i.e., if we are using the built in Vue frontend app, this controller
redirects calls made from the underlying SAML IdP library to our frontend start page.
- Author:
- Martin Lindström, Felix Hellman
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
view()
The entry point for the BankID authentication/signature process.
-
Constructor Details
-
FrontendController
public FrontendController()
-
-
Method Details
-
view
@GetMapping(value="/bankid", produces="text/html") @ResponseBody public byte[] view() throws IOExceptionThe entry point for the BankID authentication/signature process.- Returns:
- an HTML string of the frontend
- Throws:
IOException
-