Package org.apache.tomcat.websocket
Class AuthenticatorFactory
java.lang.Object
org.apache.tomcat.websocket.AuthenticatorFactory
Utility method to return the appropriate authenticator according to the scheme that the server uses.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Authenticator
getAuthenticator
(String authScheme) Return a new authenticator instance.
-
Constructor Details
-
AuthenticatorFactory
public AuthenticatorFactory()
-
-
Method Details
-
getAuthenticator
Return a new authenticator instance.- Parameters:
authScheme
- The scheme used- Returns:
- the authenticator
-