Interface Form


@Experimental("This API is currently experimental and might get changed") public interface Form
This class provides a way to create a Form-based authentication mechanism. The HttpAuthenticationMechanism created with this class can be registered using the HttpSecurity.mechanism(HttpAuthenticationMechanism) method.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
     
  • Method Summary

    Static Methods
    Modifier and Type
    Method
    Description
     
    Creates a new Form-based authentication mechanism with a configuration provided in the 'application.properties' file.
  • Method Details

    • builder

      static Form.Builder builder()
      Returns:
      Form-based authentication configuration builder populated with a configuration provided in the 'application.properties' file. If no configuration was provided, the builder is populated with configuration defaults.
    • create

      static HttpAuthenticationMechanism create()
      Creates a new Form-based authentication mechanism with a configuration provided in the 'application.properties' file. If no configuration was provided, the default values are used instead.
      Returns:
      HttpAuthenticationMechanism