Skip navigation links
A B C D E F G H I J L M N O P R S T U V W X 

A

addressResolverOptions() - Method in class net.trajano.ms.vertx.VertxConfig
DNS Address resolver options where the max queries is increased to 10 to support more environments.
ALLOWED_TOKEN_CHARACTERS - Static variable in class net.trajano.ms.vertx.beans.TokenGenerator
Only allow letters and numbers, no symbols.
applicationContext - Variable in class net.trajano.ms.vertx.VertxMicroserviceEngine
 
assertionRequiredPredicate - Variable in class net.trajano.ms.vertx.jaxrs.JwtAssertionInterceptor
 

B

bootstrap() - Method in class net.trajano.ms.vertx.VertxMicroserviceEngine
Sets the system properties and sets up the logger.
buildConsumer() - Method in class net.trajano.ms.vertx.beans.CachedDataProvider
 
buildConsumer(HttpsJwks, List<String>) - Method in class net.trajano.ms.vertx.beans.CachedDataProvider
 
buildJwks() - Method in class net.trajano.ms.vertx.beans.CachedDataProvider
Builds JWKS if necessary after 60 seconds, but only builds 2 at a time.
buildNewRsaKey() - Method in class net.trajano.ms.vertx.beans.CachedDataProvider
 

C

CachedDataProvider - Class in net.trajano.ms.vertx.beans
 
CachedDataProvider() - Constructor for class net.trajano.ms.vertx.beans.CachedDataProvider
 
cachedDataProvider - Variable in class net.trajano.ms.vertx.beans.JcaCryptoOps
 
cachedDataProvider - Variable in class net.trajano.ms.vertx.beans.JwksRouteHandler
Cached data provider which provides the JWKS.
cachedDataProvider - Variable in class net.trajano.ms.vertx.jaxrs.JwtAssertionInterceptor
 
claimNonce(String) - Method in class net.trajano.ms.vertx.beans.CachedDataProvider
claimsProcessor - Variable in class net.trajano.ms.vertx.jaxrs.JwtAssertionInterceptor
 
cm - Variable in class net.trajano.ms.vertx.beans.CachedDataProvider
 
CommonMsJaxRs - Interface in net.trajano.ms.vertx.jaxrs
 

D

DefaultAssertionRequiredPredicate - Class in net.trajano.ms.vertx.beans
Checks if the URI has any JSR-250 annotations that would indicate a secured resource.
DefaultAssertionRequiredPredicate() - Constructor for class net.trajano.ms.vertx.beans.DefaultAssertionRequiredPredicate
 

E

engine - Variable in class net.trajano.ms.vertx.jaxrs.MDCInterceptor
 

F

filter(ContainerRequestContext) - Method in class net.trajano.ms.vertx.jaxrs.JwtAssertionInterceptor
 
filter(ContainerRequestContext) - Method in class net.trajano.ms.vertx.jaxrs.MDCInterceptor
 
filter(ContainerRequestContext) - Method in class net.trajano.ms.vertx.jaxrs.RequestIdContextInterceptor
 
fromJson(Reader, Class<T>) - Method in class net.trajano.ms.vertx.beans.GsonJacksonJsonOps
 

G

getAppropriateMediaType() - Method in class net.trajano.ms.vertx.jaxrs.JsonExceptionMapper
Determines the appropriate media type based on what is requested.
getASigningKey() - Method in class net.trajano.ms.vertx.beans.CachedDataProvider
Gets a single signing key.
getAuthenticationScheme() - Method in class net.trajano.ms.vertx.jaxrs.JwtSecurityContext
 
getCache(String) - Method in class net.trajano.ms.vertx.beans.CachedDataProvider
 
getKeySet() - Method in class net.trajano.ms.vertx.beans.CachedDataProvider
Builds the keys from the cache.
getSize(JsonElement, Class<?>, Type, Annotation[], MediaType) - Method in class net.trajano.ms.vertx.jaxrs.GsonMessageBodyHandler
 
getUri(ContainerRequestContext) - Method in class net.trajano.ms.vertx.jaxrs.JwksFromHeaderUriProvider
 
getUri(ContainerRequestContext) - Method in interface net.trajano.ms.vertx.jaxrs.JwksUriProvider
Obtains the JWKS URI based on the request context
getUserPrincipal() - Method in class net.trajano.ms.vertx.jaxrs.JwtSecurityContext
 
gson - Variable in class net.trajano.ms.vertx.beans.GsonJacksonJsonOps
 
gson() - Method in class net.trajano.ms.vertx.beans.GsonProvider
 
gson - Variable in class net.trajano.ms.vertx.jaxrs.GsonMessageBodyHandler
 
GsonJacksonJsonOps - Class in net.trajano.ms.vertx.beans
 
GsonJacksonJsonOps() - Constructor for class net.trajano.ms.vertx.beans.GsonJacksonJsonOps
 
GsonMessageBodyHandler - Class in net.trajano.ms.vertx.jaxrs
 
GsonMessageBodyHandler() - Constructor for class net.trajano.ms.vertx.jaxrs.GsonMessageBodyHandler
 
GsonProvider - Class in net.trajano.ms.vertx.beans
 
GsonProvider() - Constructor for class net.trajano.ms.vertx.beans.GsonProvider
 

H

handle(RoutingContext) - Method in class net.trajano.ms.vertx.beans.JwksRouteHandler
 
handlerStack - Variable in class net.trajano.ms.vertx.VertxMicroserviceEngine
 
headers - Variable in class net.trajano.ms.vertx.jaxrs.JsonExceptionMapper
 
hostname() - Method in class net.trajano.ms.vertx.VertxMicroserviceEngine
 
httpClientIdleTimeout - Variable in class net.trajano.ms.vertx.VertxConfig
Idle timeout, in seconds.
httpClientOptions() - Method in class net.trajano.ms.vertx.VertxConfig
 
httpClientProxyHost - Variable in class net.trajano.ms.vertx.VertxConfig
 
httpClientProxyPassword - Variable in class net.trajano.ms.vertx.VertxConfig
 
httpClientProxyPort - Variable in class net.trajano.ms.vertx.VertxConfig
Uses the default value from ProxyOptions.DEFAULT_PORT
httpClientProxyType - Variable in class net.trajano.ms.vertx.VertxConfig
Uses the default value from ProxyOptions.DEFAULT_TYPE
httpClientProxyUsername - Variable in class net.trajano.ms.vertx.VertxConfig
 
httpPort - Variable in class net.trajano.ms.vertx.VertxConfig
 
httpServerOptions() - Method in class net.trajano.ms.vertx.VertxConfig
 
httpServerOptions - Variable in class net.trajano.ms.vertx.VertxMicroserviceEngine
 

I

init() - Method in class net.trajano.ms.vertx.beans.CachedDataProvider
 
init() - Method in class net.trajano.ms.vertx.jaxrs.JwtAssertionInterceptor
 
initializeRandom() - Method in class net.trajano.ms.vertx.beans.TokenGenerator
Initializes the random source.
isReadable(Class<?>, Type, Annotation[], MediaType) - Method in class net.trajano.ms.vertx.jaxrs.GsonMessageBodyHandler
 
isSecure() - Method in class net.trajano.ms.vertx.jaxrs.JwtSecurityContext
 
issuer - Variable in class net.trajano.ms.vertx.jaxrs.JwtAssertionInterceptor
 
isUserInRole(String) - Method in class net.trajano.ms.vertx.jaxrs.JwtSecurityContext
 
isWriteable(Class<?>, Type, Annotation[], MediaType) - Method in class net.trajano.ms.vertx.jaxrs.GsonMessageBodyHandler
 

J

jaxRsRouter - Variable in class net.trajano.ms.vertx.VertxMicroserviceEngine
 
JcaCryptoOps - Class in net.trajano.ms.vertx.beans
 
JcaCryptoOps() - Constructor for class net.trajano.ms.vertx.beans.JcaCryptoOps
 
JsonExceptionMapper - Class in net.trajano.ms.vertx.jaxrs
 
JsonExceptionMapper() - Constructor for class net.trajano.ms.vertx.jaxrs.JsonExceptionMapper
 
jwks - Variable in class net.trajano.ms.vertx.jaxrs.JwtAssertionInterceptor
JWKS Map
jwksCache - Variable in class net.trajano.ms.vertx.beans.CachedDataProvider
This is a cache of JWKs.
JwksFromHeaderUriProvider - Class in net.trajano.ms.vertx.jaxrs
 
JwksFromHeaderUriProvider() - Constructor for class net.trajano.ms.vertx.jaxrs.JwksFromHeaderUriProvider
 
JwksRouteHandler - Class in net.trajano.ms.vertx.beans
This endpoint is exposed by every microservice to provide JWKS that is used by the microservice.
JwksRouteHandler() - Constructor for class net.trajano.ms.vertx.beans.JwksRouteHandler
 
JwksUriProvider - Interface in net.trajano.ms.vertx.jaxrs
 
JwtAssertionInterceptor - Class in net.trajano.ms.vertx.jaxrs
This performs assertion check on the header data.
JwtAssertionInterceptor() - Constructor for class net.trajano.ms.vertx.jaxrs.JwtAssertionInterceptor
 
JwtAssertionRequiredPredicate - Interface in net.trajano.ms.vertx.beans
The function returns true if assertion is required for the URI provided.
JwtClaimsProcessor - Interface in net.trajano.ms.vertx.beans
Performs validation on the claims.
JwtSecurityContext - Class in net.trajano.ms.vertx.jaxrs
 
JwtSecurityContext(JwtClaims, UriInfo) - Constructor for class net.trajano.ms.vertx.jaxrs.JwtSecurityContext
 

L

LOG - Static variable in class net.trajano.ms.vertx.beans.CachedDataProvider
 
LOG - Static variable in class net.trajano.ms.vertx.beans.DefaultAssertionRequiredPredicate
 
LOG - Static variable in class net.trajano.ms.vertx.jaxrs.JsonExceptionMapper
 
log(Throwable) - Method in class net.trajano.ms.vertx.jaxrs.JsonExceptionMapper
Log the exception if it is not NotFoundException and only use warn if it is a client error.
LOG - Static variable in class net.trajano.ms.vertx.jaxrs.JwksFromHeaderUriProvider
 
LOG - Static variable in class net.trajano.ms.vertx.jaxrs.JwtAssertionInterceptor
 
LOG - Static variable in class net.trajano.ms.vertx.jaxrs.MDCInterceptor
 
LOG - Static variable in class net.trajano.ms.vertx.VertxMicroserviceEngine
 

M

MAX_NUMBER_OF_KEYS - Static variable in class net.trajano.ms.vertx.beans.CachedDataProvider
Maximum number of keys to keep in the cache.
MDCInterceptor - Class in net.trajano.ms.vertx.jaxrs
This populates the MDC based on the data available on the request.
MDCInterceptor() - Constructor for class net.trajano.ms.vertx.jaxrs.MDCInterceptor
 
MIN_NUMBER_OF_KEYS - Static variable in class net.trajano.ms.vertx.beans.CachedDataProvider
 

N

net.trajano.ms.vertx - package net.trajano.ms.vertx
 
net.trajano.ms.vertx.beans - package net.trajano.ms.vertx.beans
Java Beans.
net.trajano.ms.vertx.jaxrs - package net.trajano.ms.vertx.jaxrs
JAX-RS Providers
newNonce() - Method in class net.trajano.ms.vertx.beans.CachedDataProvider
newToken() - Method in class net.trajano.ms.vertx.beans.JcaCryptoOps
newToken() - Method in class net.trajano.ms.vertx.beans.TokenGenerator
Provides a new string useful for keys and access tokens.
nonceCache - Variable in class net.trajano.ms.vertx.beans.CachedDataProvider
This is a cache of nonce.

O

objectMapper - Variable in class net.trajano.ms.vertx.beans.GsonJacksonJsonOps
 

P

port() - Method in class net.trajano.ms.vertx.VertxMicroserviceEngine
 
principal - Variable in class net.trajano.ms.vertx.jaxrs.JwtSecurityContext
 

R

random - Variable in class net.trajano.ms.vertx.beans.TokenGenerator
 
readFrom(Class<JsonElement>, Type, Annotation[], MediaType, MultivaluedMap<String, String>, InputStream) - Method in class net.trajano.ms.vertx.jaxrs.GsonMessageBodyHandler
 
REQUEST_ID - Static variable in class net.trajano.ms.vertx.jaxrs.RequestIdContextInterceptor
Request ID Header and MDC key.
RequestIdContextInterceptor - Class in net.trajano.ms.vertx.jaxrs
This adds the request ID from the header to the MDC if it is available.
RequestIdContextInterceptor() - Constructor for class net.trajano.ms.vertx.jaxrs.RequestIdContextInterceptor
 
resourceInfo - Variable in class net.trajano.ms.vertx.jaxrs.JwtAssertionInterceptor
 
roles - Variable in class net.trajano.ms.vertx.jaxrs.JwtSecurityContext
Roles.
routingContext - Variable in class net.trajano.ms.vertx.jaxrs.RequestIdContextInterceptor
 

S

secure - Variable in class net.trajano.ms.vertx.jaxrs.JwtSecurityContext
 
setAssertionRequiredFunction(JwtAssertionRequiredPredicate) - Method in class net.trajano.ms.vertx.jaxrs.JwtAssertionInterceptor
 
setCachedDataProvider(CachedDataProvider) - Method in class net.trajano.ms.vertx.beans.JwksRouteHandler
 
setCachedDataProvider(CachedDataProvider) - Method in class net.trajano.ms.vertx.jaxrs.JwtAssertionInterceptor
 
setClaimsProcessor(JwtClaimsProcessor) - Method in class net.trajano.ms.vertx.jaxrs.JwtAssertionInterceptor
 
setContextData(HttpHeaders, UriInfo, boolean) - Method in class net.trajano.ms.vertx.jaxrs.JsonExceptionMapper
This sets the context data so the mapper can be unit tested.
setDebugFlags() - Method in class net.trajano.ms.vertx.jaxrs.JsonExceptionMapper
If the show request URI or show stack trace are not defined, it will default to whether the current logger is on debug mode or not.
setResourceInfo(ResourceInfo) - Method in class net.trajano.ms.vertx.jaxrs.JwtAssertionInterceptor
 
showStackTrace - Variable in class net.trajano.ms.vertx.jaxrs.JsonExceptionMapper
 
sign(JwtClaims) - Method in class net.trajano.ms.vertx.beans.JcaCryptoOps
signatureJwksUri - Variable in class net.trajano.ms.vertx.jaxrs.JwksFromHeaderUriProvider
 
start() - Method in class net.trajano.ms.vertx.VertxMicroserviceEngine
 
stop() - Method in class net.trajano.ms.vertx.VertxMicroserviceEngine
 
SUPPORTED_MEDIA_TYPES - Static variable in class net.trajano.ms.vertx.jaxrs.JsonExceptionMapper
Supported media types.

T

test(ResourceInfo) - Method in class net.trajano.ms.vertx.beans.DefaultAssertionRequiredPredicate
The key logic for the test is as follows:
theHostname - Variable in class net.trajano.ms.vertx.VertxMicroserviceEngine
 
thePort - Variable in class net.trajano.ms.vertx.VertxMicroserviceEngine
 
toClaimsSet(String, String, HttpsJwks) - Method in class net.trajano.ms.vertx.beans.JcaCryptoOps
toJsonElement(Reader) - Method in class net.trajano.ms.vertx.beans.GsonJacksonJsonOps
 
TOKEN_LENGTH - Static variable in class net.trajano.ms.vertx.beans.TokenGenerator
This makes the possible combinations higher than a 256-bit key.
tokenGenerator - Variable in class net.trajano.ms.vertx.beans.CachedDataProvider
 
tokenGenerator - Variable in class net.trajano.ms.vertx.beans.JcaCryptoOps
 
TokenGenerator - Class in net.trajano.ms.vertx.beans
This is a util module that will be used to generate access tokens.
TokenGenerator() - Constructor for class net.trajano.ms.vertx.beans.TokenGenerator
 
toResponse(Throwable) - Method in class net.trajano.ms.vertx.jaxrs.JsonExceptionMapper
 

U

uriInfo - Variable in class net.trajano.ms.vertx.jaxrs.JsonExceptionMapper
 

V

vertx - Variable in class net.trajano.ms.vertx.VertxMicroserviceEngine
 
VertxConfig - Class in net.trajano.ms.vertx
Vert.X Microservice Engine Configuration.
VertxConfig() - Constructor for class net.trajano.ms.vertx.VertxConfig
 
VertxMicroserviceEngine - Class in net.trajano.ms.vertx
 
VertxMicroserviceEngine() - Constructor for class net.trajano.ms.vertx.VertxMicroserviceEngine
 
vertxOptions(AddressResolverOptions) - Method in class net.trajano.ms.vertx.VertxConfig
 
vertxOptions - Variable in class net.trajano.ms.vertx.VertxMicroserviceEngine
 
vertxWarningExceptionTime - Variable in class net.trajano.ms.vertx.VertxConfig
 
vertxWorkerPoolSize - Variable in class net.trajano.ms.vertx.VertxConfig
 

W

writeTo(Object, Writer) - Method in class net.trajano.ms.vertx.beans.GsonJacksonJsonOps
 
writeTo(JsonElement, Class<?>, Type, Annotation[], MediaType, MultivaluedMap<String, Object>, OutputStream) - Method in class net.trajano.ms.vertx.jaxrs.GsonMessageBodyHandler
 

X

X_JWKS_URI - Static variable in class net.trajano.ms.vertx.jaxrs.JwtAssertionInterceptor
 
X_JWT_ASSERTION - Static variable in class net.trajano.ms.vertx.jaxrs.JwtAssertionInterceptor
 
X_JWT_AUDIENCE - Static variable in class net.trajano.ms.vertx.jaxrs.JwtAssertionInterceptor
 
A B C D E F G H I J L M N O P R S T U V W X 
Skip navigation links

Copyright © 2012–2018 Trajano. All rights reserved.