Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Biscuit 2.0 #33

Merged
merged 8 commits into from
Mar 4, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
clean unused
  • Loading branch information
KannarFr committed Mar 4, 2022
commit adef978a5f7ac6ee266bfd1e86a655a55f6c71c3
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import org.apache.pulsar.client.api.Authentication;
import org.apache.pulsar.client.api.AuthenticationDataProvider;
import org.apache.pulsar.client.api.EncodedAuthenticationParameterSupport;
import org.apache.pulsar.client.api.PulsarClientException;

import java.io.IOException;
import java.net.URI;
Expand All @@ -31,7 +30,7 @@ public AuthenticationBiscuit(Supplier<String> biscuitSupplier) {
}

@Override
public void close() throws IOException {
public void close() {
// noop
}

Expand All @@ -41,7 +40,7 @@ public String getAuthMethodName() {
}

@Override
public AuthenticationDataProvider getAuthData() throws PulsarClientException {
public AuthenticationDataProvider getAuthData() {
return new AuthenticationDataBiscuit(biscuitSupplier);
}

Expand Down Expand Up @@ -72,7 +71,7 @@ public void configure(Map<String, String> authParams) {
}

@Override
public void start() throws PulsarClientException {
public void start() {
// noop
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;
import java.security.SignatureException;
import java.util.Base64;

public class AuthenticationProviderBiscuit implements AuthenticationProvider {
private static final Logger log = LoggerFactory.getLogger(AuthenticationProviderBiscuit.class);
Expand Down