This is an automated email from the ASF dual-hosted git repository. mmerli pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-pulsar.git
The following commit(s) were added to refs/heads/master by this push: new 8e5b11a Remove org.apache.pulsar.proxy.socket.client.MockAuthenticationProvider (#1221) 8e5b11a is described below commit 8e5b11a28bd7b875f9eba56fcb5acbe67d6dfece Author: Masakazu Kitajo <mas...@apache.org> AuthorDate: Mon Feb 12 02:10:23 2018 +0900 Remove org.apache.pulsar.proxy.socket.client.MockAuthenticationProvider (#1221) Nobody use it, and there are lot of copies. --- .../socket/client/MockAuthenticationProvider.java | 54 ---------------------- 1 file changed, 54 deletions(-) diff --git a/pulsar-testclient/src/main/java/org/apache/pulsar/proxy/socket/client/MockAuthenticationProvider.java b/pulsar-testclient/src/main/java/org/apache/pulsar/proxy/socket/client/MockAuthenticationProvider.java deleted file mode 100644 index 4c77c14..0000000 --- a/pulsar-testclient/src/main/java/org/apache/pulsar/proxy/socket/client/MockAuthenticationProvider.java +++ /dev/null @@ -1,54 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.pulsar.proxy.socket.client; - -import java.io.IOException; - -import javax.naming.AuthenticationException; - -import org.apache.pulsar.broker.ServiceConfiguration; -import org.apache.pulsar.broker.authentication.AuthenticationDataSource; -import org.apache.pulsar.broker.authentication.AuthenticationProvider; - -public class MockAuthenticationProvider implements AuthenticationProvider { - - @Override - public void close() throws IOException { - // TODO Auto-generated method stub - - } - - @Override - public void initialize(ServiceConfiguration config) throws IOException { - - } - - @Override - public String getAuthMethodName() { - // method name - return "mockauth"; - } - - @Override - public String authenticate(AuthenticationDataSource authData) throws AuthenticationException { - // Return super user role - return "yahoo.cloud_messaging.yca.smoketest.env-perf"; - } - -} -- To stop receiving notification emails like this one, please contact mme...@apache.org.