Package io.hawt.web.auth
Interface AuthenticationContainerDiscovery
-
- All Known Implementing Classes:
TomcatAuthenticationContainerDiscovery
public interface AuthenticationContainerDiscoverySPI to allow various containers to discover and hook up needed configuration changes toAuthenticationConfigurationso hawtioAuthenticationFiltercan integrate with the container easily.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancanAuthenticate(AuthenticationConfiguration configuration)Whether the container can/should be used for authenticationStringgetContainerName()Gets the container name such as Apache Tomcat, used for logging purpose
-
-
-
Method Detail
-
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- Parameters:
configuration- the configuration option (muteable)- Returns:
- true if the container is being used for authentication.
-
-