Package org.apache.iceberg.aws
Class RESTSigV4AuthManager
java.lang.Object
org.apache.iceberg.aws.RESTSigV4AuthManager
- All Implemented Interfaces:
AutoCloseable,org.apache.iceberg.rest.auth.AuthManager
public class RESTSigV4AuthManager
extends Object
implements org.apache.iceberg.rest.auth.AuthManager
An AuthManager that authenticates requests with SigV4.
It takes a delegate AuthManager to handle double authentication cases, e.g. on top of OAuth2.
-
Constructor Summary
ConstructorsConstructorDescriptionRESTSigV4AuthManager(String ignored, org.apache.iceberg.rest.auth.AuthManager delegate) -
Method Summary
Modifier and TypeMethodDescriptioncatalogSession(org.apache.iceberg.rest.RESTClient sharedClient, Map<String, String> properties) voidclose()contextualSession(org.apache.iceberg.catalog.SessionCatalog.SessionContext context, org.apache.iceberg.rest.auth.AuthSession parent) initSession(org.apache.iceberg.rest.RESTClient initClient, Map<String, String> properties) tableSession(org.apache.iceberg.catalog.TableIdentifier table, Map<String, String> properties, org.apache.iceberg.rest.auth.AuthSession parent) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.iceberg.rest.auth.AuthManager
tableSession
-
Constructor Details
-
RESTSigV4AuthManager
-
-
Method Details
-
initSession
public RESTSigV4AuthSession initSession(org.apache.iceberg.rest.RESTClient initClient, Map<String, String> properties) - Specified by:
initSessionin interfaceorg.apache.iceberg.rest.auth.AuthManager
-
catalogSession
public RESTSigV4AuthSession catalogSession(org.apache.iceberg.rest.RESTClient sharedClient, Map<String, String> properties) - Specified by:
catalogSessionin interfaceorg.apache.iceberg.rest.auth.AuthManager
-
contextualSession
public RESTSigV4AuthSession contextualSession(org.apache.iceberg.catalog.SessionCatalog.SessionContext context, org.apache.iceberg.rest.auth.AuthSession parent) - Specified by:
contextualSessionin interfaceorg.apache.iceberg.rest.auth.AuthManager
-
tableSession
public RESTSigV4AuthSession tableSession(org.apache.iceberg.catalog.TableIdentifier table, Map<String, String> properties, org.apache.iceberg.rest.auth.AuthSession parent) - Specified by:
tableSessionin interfaceorg.apache.iceberg.rest.auth.AuthManager
-
close
public void close()- Specified by:
closein interfaceorg.apache.iceberg.rest.auth.AuthManager- Specified by:
closein interfaceAutoCloseable
-