Package org.apache.iceberg.aws
Class RESTSigV4AuthManager
- java.lang.Object
-
- org.apache.iceberg.aws.RESTSigV4AuthManager
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.apache.iceberg.rest.auth.AuthManager
public class RESTSigV4AuthManager extends java.lang.Object implements org.apache.iceberg.rest.auth.AuthManagerAn AuthManager that authenticates requests with SigV4.It takes a delegate AuthManager to handle double authentication cases, e.g. on top of OAuth2.
-
-
Constructor Summary
Constructors Constructor Description RESTSigV4AuthManager(java.lang.String name, org.apache.iceberg.rest.auth.AuthManager delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RESTSigV4AuthSessioncatalogSession(org.apache.iceberg.rest.RESTClient sharedClient, java.util.Map<java.lang.String,java.lang.String> properties)voidclose()org.apache.iceberg.rest.auth.AuthSessioncontextualSession(org.apache.iceberg.catalog.SessionCatalog.SessionContext context, org.apache.iceberg.rest.auth.AuthSession parent)RESTSigV4AuthSessioninitSession(org.apache.iceberg.rest.RESTClient initClient, java.util.Map<java.lang.String,java.lang.String> properties)org.apache.iceberg.rest.auth.AuthSessiontableSession(org.apache.iceberg.catalog.TableIdentifier table, java.util.Map<java.lang.String,java.lang.String> properties, org.apache.iceberg.rest.auth.AuthSession parent)
-
-
-
Method Detail
-
initSession
public RESTSigV4AuthSession initSession(org.apache.iceberg.rest.RESTClient initClient, java.util.Map<java.lang.String,java.lang.String> properties)
- Specified by:
initSessionin interfaceorg.apache.iceberg.rest.auth.AuthManager
-
catalogSession
public RESTSigV4AuthSession catalogSession(org.apache.iceberg.rest.RESTClient sharedClient, java.util.Map<java.lang.String,java.lang.String> properties)
- Specified by:
catalogSessionin interfaceorg.apache.iceberg.rest.auth.AuthManager
-
contextualSession
public org.apache.iceberg.rest.auth.AuthSession 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 org.apache.iceberg.rest.auth.AuthSession tableSession(org.apache.iceberg.catalog.TableIdentifier table, java.util.Map<java.lang.String,java.lang.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 interfacejava.lang.AutoCloseable
-
-