Interface AuthenticationContainerDiscovery

All Known Implementing Classes:
TomcatAuthenticationContainerDiscovery

public interface AuthenticationContainerDiscovery
SPI to allow various containers to discover and hook up needed configuration changes to AuthenticationConfiguration so hawtio AuthenticationFilter can integrate with the container easily.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Whether the container can/should be used for authentication.
    Gets the container name such as Apache Tomcat, used for logging purpose
  • Method Details

    • getContainerName

      String getContainerName()
      Gets the container name such as Apache Tomcat, used for logging purpose
    • canAuthenticate

      boolean canAuthenticate(AuthenticationConfiguration configuration)
      Whether the container can/should be used for authentication. If given discovery can be used, AuthenticationConfiguration may be changed (for example by setting JAAS Configuration).
      Parameters:
      configuration - the configuration option (mutable)
      Returns:
      true if the container is being used for authentication.