Skip navigation links
A E F G H I M N P R S U Z 

A

ATTR_ERROR_EXCEPTION - Static variable in class net.smartcosmos.cluster.gateway.resource.GatewayErrorController
 
ATTR_ERROR_MESSAGE - Static variable in class net.smartcosmos.cluster.gateway.resource.GatewayErrorController
 
ATTR_ERROR_STATUS_CODE - Static variable in class net.smartcosmos.cluster.gateway.resource.GatewayErrorController
 
ATTR_PROXY - Static variable in class net.smartcosmos.cluster.gateway.resource.GatewayErrorController
 
ATTR_SERVICE_ID - Static variable in class net.smartcosmos.cluster.gateway.resource.GatewayErrorController
 
AuthenticationClient - Interface in net.smartcosmos.cluster.gateway
Definition for a class to contact the auth server.
AuthenticationClientDefault - Class in net.smartcosmos.cluster.gateway
Connect to the Authentication service and get an OAuthToken for the basic auth credentials provided.
AuthenticationClientDefault(RestTemplate, AuthenticationServerConnectionProperties) - Constructor for class net.smartcosmos.cluster.gateway.AuthenticationClientDefault
 
AuthenticationErrorHandler - Class in net.smartcosmos.cluster.gateway.rest
Error Handler component for requests to the Auth Server.
AuthenticationErrorHandler() - Constructor for class net.smartcosmos.cluster.gateway.rest.AuthenticationErrorHandler
 
AuthenticationServerConnectionProperties - Class in net.smartcosmos.cluster.gateway.config
Properties read from the configuration files to connect to the authentication server.
AuthenticationServerConnectionProperties() - Constructor for class net.smartcosmos.cluster.gateway.config.AuthenticationServerConnectionProperties
 
authServerRestTemplate(RibbonClientHttpRequestFactory, AuthenticationErrorHandler, AuthenticationServerConnectionProperties) - Method in class net.smartcosmos.cluster.gateway.config.GatewayConfiguration
 

E

embeddedServletContainerFactory() - Method in class net.smartcosmos.cluster.gateway.config.GatewayConfiguration
Need to configure Undertow to allow non standard wrappers or the exception gets lost in the noise.
error() - Method in class net.smartcosmos.cluster.gateway.resource.GatewayErrorController
Error handling method that evalutes the current RequestContext and extracts information on the request, matching routes and error or exceptions that occurred during routing.
ERROR_MESSAGE_GENERAL - Static variable in class net.smartcosmos.cluster.gateway.resource.GatewayErrorController
 
ERROR_MESSAGE_TIMEOUT - Static variable in class net.smartcosmos.cluster.gateway.resource.GatewayErrorController
 
ERROR_PATH - Static variable in class net.smartcosmos.cluster.gateway.resource.GatewayErrorController
 
ErrorResponse - Class in net.smartcosmos.cluster.gateway.domain
 
ErrorResponse() - Constructor for class net.smartcosmos.cluster.gateway.domain.ErrorResponse
 
errorResponse(HttpStatus, String, String) - Method in class net.smartcosmos.cluster.gateway.resource.GatewayErrorController
Builds an ResponseEntity containing a ErrorResponse body to return JSON error responses.

F

filterOrder() - Method in class net.smartcosmos.cluster.gateway.filters.PreAuthorizationFilter
 
filterType() - Method in class net.smartcosmos.cluster.gateway.filters.PreAuthorizationFilter
 

G

GatewayApplication - Class in net.smartcosmos.cluster.gateway
The Gateway provides the primary and preferred entryway into the SMART COSMOS Cluster.
GatewayApplication() - Constructor for class net.smartcosmos.cluster.gateway.GatewayApplication
 
GatewayConfiguration - Class in net.smartcosmos.cluster.gateway.config
Configuration class for Gateway.
GatewayConfiguration() - Constructor for class net.smartcosmos.cluster.gateway.config.GatewayConfiguration
 
GatewayErrorController - Class in net.smartcosmos.cluster.gateway.resource
 
GatewayErrorController() - Constructor for class net.smartcosmos.cluster.gateway.resource.GatewayErrorController
 
getAuthenticationCredentials() - Method in class net.smartcosmos.cluster.gateway.filters.PreAuthorizationFilter
 
getCurrentContext() - Method in class net.smartcosmos.cluster.gateway.resource.GatewayErrorController
 
getErrorDescriptionFromBody(String) - Method in class net.smartcosmos.cluster.gateway.rest.AuthenticationErrorHandler
 
getErrorMessageFromRequestContext(RequestContext) - Method in class net.smartcosmos.cluster.gateway.resource.GatewayErrorController
 
getErrorPath() - Method in class net.smartcosmos.cluster.gateway.resource.GatewayErrorController
 
getExceptionFromRequestContext(RequestContext) - Method in class net.smartcosmos.cluster.gateway.resource.GatewayErrorController
 
getHttpStatusFromRequestContext(RequestContext) - Method in class net.smartcosmos.cluster.gateway.resource.GatewayErrorController
 
getOauthToken(String, String) - Method in interface net.smartcosmos.cluster.gateway.AuthenticationClient
Get the OAuth2 Token for the user with the provided username and password.
getOauthToken(String, String) - Method in class net.smartcosmos.cluster.gateway.AuthenticationClientDefault
 
getRequest() - Method in class net.smartcosmos.cluster.gateway.filters.PreAuthorizationFilter
 
getRequestUriFromRequestContext(RequestContext) - Method in class net.smartcosmos.cluster.gateway.resource.GatewayErrorController
 
getResponseBody(HttpStatus, String, String) - Method in class net.smartcosmos.cluster.gateway.filters.PreAuthorizationFilter
 
getResponseBody(ClientHttpResponse) - Method in class net.smartcosmos.cluster.gateway.rest.AuthenticationErrorHandler
 
getRouteFromRequestContext(RequestContext) - Method in class net.smartcosmos.cluster.gateway.resource.GatewayErrorController
 
getServiceIdFromRequestContext(RequestContext) - Method in class net.smartcosmos.cluster.gateway.resource.GatewayErrorController
 
GRANT_TYPE_PASSWORD - Static variable in interface net.smartcosmos.cluster.gateway.AuthenticationClient
 

H

handleError(ClientHttpResponse) - Method in class net.smartcosmos.cluster.gateway.rest.AuthenticationErrorHandler
The error handler intercepts the default error handler and checks if the returned HTTP status code is 400 Bad Request.

I

init(WebSecurity) - Method in class net.smartcosmos.cluster.gateway.GatewayApplication
 
isAuthorizationPath() - Method in class net.smartcosmos.cluster.gateway.filters.PreAuthorizationFilter
 
isBasicAuthRequest() - Method in class net.smartcosmos.cluster.gateway.filters.PreAuthorizationFilter
 
isForwardingRoute() - Method in class net.smartcosmos.cluster.gateway.filters.PreAuthorizationFilter
 
isGatewayTimeout(Throwable) - Method in class net.smartcosmos.cluster.gateway.resource.GatewayErrorController
Checks if a given throwable matches any of the exception types that are expected to return a HTTP status code of 504 Gateway Timeout.
isServiceUnavailable(Throwable) - Method in class net.smartcosmos.cluster.gateway.resource.GatewayErrorController
Checks if a given throwable matches any of the exception types that are expected to return a HTTP status code of 503 Service Unavailable.

M

main(String[]) - Static method in class net.smartcosmos.cluster.gateway.GatewayApplication
 

N

net.smartcosmos.cluster.gateway - package net.smartcosmos.cluster.gateway
 
net.smartcosmos.cluster.gateway.config - package net.smartcosmos.cluster.gateway.config
 
net.smartcosmos.cluster.gateway.domain - package net.smartcosmos.cluster.gateway.domain
 
net.smartcosmos.cluster.gateway.filters - package net.smartcosmos.cluster.gateway.filters
 
net.smartcosmos.cluster.gateway.resource - package net.smartcosmos.cluster.gateway.resource
 
net.smartcosmos.cluster.gateway.rest - package net.smartcosmos.cluster.gateway.rest
 
NOT_FOUND_PATH - Static variable in class net.smartcosmos.cluster.gateway.resource.NotFoundController
 
notFound() - Method in class net.smartcosmos.cluster.gateway.resource.NotFoundController
 
NotFoundController - Class in net.smartcosmos.cluster.gateway.resource
 
NotFoundController() - Constructor for class net.smartcosmos.cluster.gateway.resource.NotFoundController
 

P

PARAM_GRANT_TYPE - Static variable in interface net.smartcosmos.cluster.gateway.AuthenticationClient
 
PARAM_PASSWORD - Static variable in interface net.smartcosmos.cluster.gateway.AuthenticationClient
 
PARAM_USERNAME - Static variable in interface net.smartcosmos.cluster.gateway.AuthenticationClient
 
passwordEncoder() - Method in class net.smartcosmos.cluster.gateway.config.GatewayConfiguration
 
PATH_OAUTH_TOKEN_REQUEST - Static variable in interface net.smartcosmos.cluster.gateway.AuthenticationClient
 
PreAuthorizationFilter - Class in net.smartcosmos.cluster.gateway.filters
Filter that occurs before Zuul forwards the request to see if the provided request has a JWT.
PreAuthorizationFilter(AuthenticationClient, RouteLocator) - Constructor for class net.smartcosmos.cluster.gateway.filters.PreAuthorizationFilter
 

R

ribbonClientHttpRequestFactory(SpringClientFactory) - Method in class net.smartcosmos.cluster.gateway.config.GatewayConfiguration
 
run() - Method in class net.smartcosmos.cluster.gateway.filters.PreAuthorizationFilter
 

S

setErrorResponse(HttpStatus, String) - Method in class net.smartcosmos.cluster.gateway.filters.PreAuthorizationFilter
 
shouldFilter() - Method in class net.smartcosmos.cluster.gateway.filters.PreAuthorizationFilter
 

U

UserDetails - Class in net.smartcosmos.cluster.gateway.domain
This is the response from the User Details Service that will contain the necessary information for caching purposes.
UserDetails() - Constructor for class net.smartcosmos.cluster.gateway.domain.UserDetails
 

Z

ZUUL_REQUEST_URI - Static variable in class net.smartcosmos.cluster.gateway.resource.GatewayErrorController
 
A E F G H I M N P R S U Z 
Skip navigation links

Copyright © 2015–2016 Smartrac Technology Fletcher, Inc.. All rights reserved.