Package org.keycloak.authentication
Interface FormAuthenticator
-
- All Superinterfaces:
Provider
- All Known Implementing Classes:
RegistrationPage
public interface FormAuthenticator extends Provider
This class is responsible for rendering a form. The way it works is that each FormAction that is a child of this FormAuthenticator, will have its buildPage() method call first, then the FormAuthenticator.render() method will be invoked. This gives each FormAction a chance to add information to the form in an independent manner.- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.ws.rs.core.Response
render(FormContext context, LoginFormsProvider form)
Called to render the FormAuthenticator's challenge page.
-
-
-
Method Detail
-
render
javax.ws.rs.core.Response render(FormContext context, LoginFormsProvider form)
Called to render the FormAuthenticator's challenge page. If null is returned, then success is assumed and the next authenticator in the flow will be invoked.- Parameters:
context
-form
-- Returns:
-
-