public class ExternalAuthenticationServer
extends com.google.common.util.concurrent.AbstractIdleService
| Modifier and Type | Class and Description |
|---|---|
static class |
ExternalAuthenticationServer.HandlerType
Constants for Handler types.
|
static class |
ExternalAuthenticationServer.ResponseFields
Constants for a valid JSON response.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
NAMED_EXTERNAL_AUTH |
| Constructor and Description |
|---|
ExternalAuthenticationServer(CConfiguration configuration,
SConfiguration sConfiguration,
DiscoveryService discoveryService,
Map<String,Object> handlers,
AuditLogHandler auditLogHandler) |
| Modifier and Type | Method and Description |
|---|---|
protected Executor |
executor(com.google.common.util.concurrent.Service.State state) |
InetSocketAddress |
getSocketAddress()
Get the InetSocketAddress of the server.
|
protected void |
initHandlers()
Initializes the handlers.
|
protected void |
shutDown() |
protected void |
startUp() |
public static final String NAMED_EXTERNAL_AUTH
@Inject public ExternalAuthenticationServer(CConfiguration configuration, SConfiguration sConfiguration, DiscoveryService discoveryService, Map<String,Object> handlers, AuditLogHandler auditLogHandler)
public InetSocketAddress getSocketAddress()
protected void startUp()
throws Exception
startUp in class com.google.common.util.concurrent.AbstractIdleServiceExceptionprotected void initHandlers()
throws Exception
Exceptionprotected Executor executor(com.google.common.util.concurrent.Service.State state)
executor in class com.google.common.util.concurrent.AbstractIdleServiceprotected void shutDown()
shutDown in class com.google.common.util.concurrent.AbstractIdleServiceCopyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.