src/main/org/h2/security/auth/AuthenticatorFactory.java
raw| 1 | /* |
| 2 | * Copyright 2004-2023 H2 Group. Multiple-Licensed under the MPL 2.0, |
| 3 | * and the EPL 1.0 (https://h2database.com/html/license.html). |
| 4 | * Initial Developer: Alessandro Ventura |
| 5 | */ |
| 6 | package org.h2.security.auth; |
| 7 | |
| 8 | /** |
| 9 | * Authenticator factory |
| 10 | */ |
| 11 | public class AuthenticatorFactory { |
| 12 | |
| 13 | /** |
| 14 | * Factory method. |
| 15 | * @return authenticator instance. |
| 16 | */ |
| 17 | public static Authenticator createAuthenticator() { |
| 18 | return DefaultAuthenticator.getInstance(); |
| 19 | } |
| 20 | } |