public class GatewayContextResolver extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
AUTH_SCHEME_APPLICATION_PREFIX
Prefix to the authentication scheme to indicate that the Kaazing client application will handle the challenge rather than
delegate to the browser or the native platform.
|
static String |
AUTH_SCHEME_APPLICATION_TOKEN |
static String |
AUTH_SCHEME_BASIC
Prefix to the authentication scheme to indicate that the Kaazing client application will handle the challenge rather than
delegate to the browser or the native platform.
|
static String |
AUTH_SCHEME_NEGOTIATE |
static String |
AUTHORIZATION_MODE_CHALLENGE |
| Constructor and Description |
|---|
GatewayContextResolver(ContextResolver<SecurityType,DefaultSecurityContext> securityResolver,
File webDir,
File tempDir) |
GatewayContextResolver(ContextResolver<SecurityType,DefaultSecurityContext> securityResolver,
File webDir,
File tempDir,
MBeanServer mbeanServer) |
GatewayContextResolver(File configDir,
File webDir,
File tempDir) |
GatewayContextResolver(File configDir,
File webDir,
File tempDir,
MBeanServer mbeanServer) |
| Modifier and Type | Method and Description |
|---|---|
void |
addInjectable(String key,
Object value) |
static String |
getCanonicalizedURI(String uri,
boolean canonicalizePath)
Create a canonical URI from a given URI.
|
static String |
getCanonicalURI(String uriString,
boolean canonicalizePath)
Create a canonical URI from a given URI.
|
Map<String,Object> |
getInjectables() |
GatewayContext |
resolve(GatewayConfigDocument gatewayConfigDoc) |
GatewayContext |
resolve(GatewayConfigDocument gatewayConfigDoc,
Properties configuration) |
public static final String AUTHORIZATION_MODE_CHALLENGE
public static final String AUTH_SCHEME_BASIC
public static final String AUTH_SCHEME_NEGOTIATE
public static final String AUTH_SCHEME_APPLICATION_TOKEN
public static final String AUTH_SCHEME_APPLICATION_PREFIX
public GatewayContextResolver(File configDir, File webDir, File tempDir, MBeanServer mbeanServer)
public GatewayContextResolver(ContextResolver<SecurityType,DefaultSecurityContext> securityResolver, File webDir, File tempDir)
public GatewayContextResolver(ContextResolver<SecurityType,DefaultSecurityContext> securityResolver, File webDir, File tempDir, MBeanServer mbeanServer)
public GatewayContext resolve(GatewayConfigDocument gatewayConfigDoc) throws Exception
Exceptionpublic GatewayContext resolve(GatewayConfigDocument gatewayConfigDoc, Properties configuration) throws Exception
Exceptionpublic static String getCanonicalURI(String uriString, boolean canonicalizePath)
uriString - the URI to canonicalize, in string formcanonicalizePath - if true, append trailing '/' when missingIllegalArgumentException - if the uriString is not valid syntaxpublic static String getCanonicalizedURI(String uri, boolean canonicalizePath)
uri - the URI to canonicalizecanonicalizePath - if true, append trailing '/' when missingIllegalArgumentException - if the uri is not valid syntaxCopyright © 2014–2016. All rights reserved.