public interface IJdbcBrowserClient extends Closeable
| Modifier and Type | Interface and Description |
|---|---|
static class |
IJdbcBrowserClient.HiveJdbcBrowserException |
static class |
IJdbcBrowserClient.HiveJdbcBrowserServerResponse
Util class which can be used to parse the response received from the server.
|
static class |
IJdbcBrowserClient.JdbcBrowserClientContext
Util class for encapsulating all the initialization context for the BrowserClient.
|
| Modifier and Type | Method and Description |
|---|---|
void |
doBrowserSSO()
Execute the browser actions to complete the SSO workflow.
|
String |
getClientIdentifier()
Gets the client identifier to be used to set in the http header for the requests
from this browser client.
|
Integer |
getPort()
Gets the port on this localhost where this browser client is listening on.
|
IJdbcBrowserClient.HiveJdbcBrowserServerResponse |
getServerResponse()
Returns the
IJdbcBrowserClient.HiveJdbcBrowserServerResponse as received from the server
on the port where this browser client is listening on. |
void |
init(IJdbcBrowserClient.JdbcBrowserClientContext context)
Initializes the browser client context.
|
void |
startListening()
Start a webserver and bind to a port number as configued.
|
void startListening()
throws IJdbcBrowserClient.HiveJdbcBrowserException
void doBrowserSSO()
throws IJdbcBrowserClient.HiveJdbcBrowserException
init(JdbcBrowserClientContext) method has been called already
to initialize the state needed for doing the browser based flow.IJdbcBrowserClient.HiveJdbcBrowserException - in case of any errors to instantiate or execute
browser flow.void init(IJdbcBrowserClient.JdbcBrowserClientContext context)
HiveSamlUtils.SSO_CLIENT_IDENTIFIER.Integer getPort()
IJdbcBrowserClient.HiveJdbcBrowserServerResponse getServerResponse()
IJdbcBrowserClient.HiveJdbcBrowserServerResponse as received from the server
on the port where this browser client is listening on.String getClientIdentifier()
Copyright © 2024 The Apache Software Foundation. All rights reserved.