Package org.apache.tomcat.websocket
Class AuthenticatorFactory
- java.lang.Object
-
- org.apache.tomcat.websocket.AuthenticatorFactory
-
public class AuthenticatorFactory extends java.lang.Object
Utility method to return the appropriate authenticator according to the scheme that the server uses.
-
-
Constructor Summary
Constructors Constructor Description AuthenticatorFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Authenticator
getAuthenticator(java.lang.String authScheme)
Return a new authenticator instance.
-
-
-
Method Detail
-
getAuthenticator
public static Authenticator getAuthenticator(java.lang.String authScheme)
Return a new authenticator instance.- Parameters:
authScheme
- The scheme used- Returns:
- the authenticator
-
-