Package io.hawt.web.auth
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 TypeMethodDescriptionbooleancanAuthenticate(AuthenticationConfiguration configuration) 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
Whether the container can/should be used for authentication. If given discovery can be used,AuthenticationConfigurationmay be changed (for example by setting JAASConfiguration).- Parameters:
configuration- the configuration option (mutable)- Returns:
- true if the container is being used for authentication.
-