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

A

ACCESS_TOKEN_TO_ENTRY - Static variable in class net.trajano.ms.authz.internal.CacheNames
 
accessToken - Variable in class net.trajano.ms.auth.token.OAuthTokenResponse
 
accessToken - Variable in class net.trajano.ms.authz.internal.TokenCacheEntry
 
accessTokenExpirationInSeconds - Variable in class net.trajano.ms.authz.internal.HazelcastConfiguration
 
accessTokenExpirationInSeconds - Variable in class net.trajano.ms.authz.internal.TokenCache
 
accessTokenToEntry - Variable in class net.trajano.ms.authz.internal.TokenCache
 
audience - Variable in class net.trajano.ms.auth.token.IdTokenResponse
 
audiences - Variable in class net.trajano.ms.authz.internal.TokenCacheEntry
Audiences.
Authorization - Class in net.trajano.ms.authz
Authorization token endpoint.
Authorization() - Constructor for class net.trajano.ms.authz.Authorization
 
authorization - Variable in class net.trajano.ms.authz.ClientCheckRequest
 
AUTHORIZATION_CODE - Static variable in class net.trajano.ms.auth.token.GrantTypes
 
AuthorizationType - Enum in net.trajano.ms.auth.util
HTTP Authorization types.
AuthorizationType() - Constructor for enum net.trajano.ms.auth.util.AuthorizationType
 

B

BASIC_AUTHORIZATION_PATTERN - Static variable in class net.trajano.ms.auth.util.HttpAuthorizationHeaders
Basic Authorization pattern.
BEARER_AUTHORIZATION_PATTERN - Static variable in class net.trajano.ms.auth.util.HttpAuthorizationHeaders
 
buildBasicAuthorization(String, String) - Static method in class net.trajano.ms.auth.util.HttpAuthorizationHeaders
 
buildInternalJWTClaimsSet(JwtClaims) - Method in interface net.trajano.ms.authz.spi.InternalClaimsBuilder
This is an extension point that allows the assembly of an internal JWT Claims set based on data from another JWT Claims Set.

C

CacheNames - Class in net.trajano.ms.authz.internal
 
CacheNames() - Constructor for class net.trajano.ms.authz.internal.CacheNames
 
ClientCheckRequest - Class in net.trajano.ms.authz
 
ClientCheckRequest() - Constructor for class net.trajano.ms.authz.ClientCheckRequest
 
ClientCheckResource - Class in net.trajano.ms.authz
Client check resource.
ClientCheckResource() - Constructor for class net.trajano.ms.authz.ClientCheckResource
 
clientId - Variable in class net.trajano.ms.auth.jsonclientvalidator.ClientInfo
 
ClientInfo - Class in net.trajano.ms.auth.jsonclientvalidator
Client information.
ClientInfo() - Constructor for class net.trajano.ms.auth.jsonclientvalidator.ClientInfo
 
clientInfoList - Variable in class net.trajano.ms.auth.jsonclientvalidator.Clients
 
Clients - Class in net.trajano.ms.auth.jsonclientvalidator
Holds a list of client info.
Clients() - Constructor for class net.trajano.ms.auth.jsonclientvalidator.Clients
 
clients - Variable in class net.trajano.ms.auth.jsonclientvalidator.JsonClientValidator
 
clientSecret - Variable in class net.trajano.ms.auth.jsonclientvalidator.ClientInfo
 
clientsFile - Variable in class net.trajano.ms.auth.jsonclientvalidator.JsonClientValidator
 
ClientValidator - Interface in net.trajano.ms.auth.spi
This is used to validate the client ID and secret.
clientValidator - Variable in class net.trajano.ms.authz.ClientCheckResource
 
clientValidator - Variable in class net.trajano.ms.authz.RevocationResource
 
clientValidator - Variable in class net.trajano.ms.authz.TokenResource
 
cm - Variable in class net.trajano.ms.authz.internal.TokenCache
 
createdOn - Variable in class net.trajano.ms.authz.internal.TokenCacheEntry
Created on.
cryptoOps - Variable in class net.trajano.ms.authz.internal.TokenCache
 
cryptoOps - Variable in class net.trajano.ms.authz.TokenResource
 

D

dispatch(String, String, String, String, String, URI, String) - Method in class net.trajano.ms.authz.TokenResource
Performs client credential validation then dispatches to the appropriate handler for a given grant type.

E

entryAdded(EntryEvent<String, Object>) - Method in class net.trajano.ms.authz.internal.LoggingEntryListener
 
entryEvicted(EntryEvent<String, Object>) - Method in class net.trajano.ms.authz.internal.LoggingEntryListener
 
entryListener - Variable in class net.trajano.ms.authz.internal.HazelcastConfiguration
 
entryRemoved(EntryEvent<String, Object>) - Method in class net.trajano.ms.authz.internal.LoggingEntryListener
 
entryUpdated(EntryEvent<String, Object>) - Method in class net.trajano.ms.authz.internal.LoggingEntryListener
 
evictEntry(TokenCacheEntry) - Method in class net.trajano.ms.authz.internal.TokenCache
Evicts the entry from the caches.
expiresIn - Variable in class net.trajano.ms.auth.token.OAuthTokenResponse
 
expiresOn - Variable in class net.trajano.ms.authz.internal.TokenCacheEntry
Expires on.

G

get(String) - Method in class net.trajano.ms.authz.internal.TokenCache
This will return null if a valid entry was not found.
getAccessToken() - Method in class net.trajano.ms.auth.token.OAuthTokenResponse
 
getAccessToken() - Method in class net.trajano.ms.authz.internal.TokenCacheEntry
 
getAudiences() - Method in class net.trajano.ms.authz.internal.TokenCacheEntry
 
getAuthorization() - Method in class net.trajano.ms.authz.ClientCheckRequest
 
getAuthorizationType(String) - Static method in class net.trajano.ms.auth.util.HttpAuthorizationHeaders
 
getCacheEntry(String) - Method in class net.trajano.ms.authz.internal.TokenCache
This will return null if a valid entry was not found.
getClientId() - Method in class net.trajano.ms.auth.jsonclientvalidator.ClientInfo
 
getClientInfo(String) - Method in class net.trajano.ms.auth.jsonclientvalidator.JsonClientValidator
 
getClients() - Method in class net.trajano.ms.auth.jsonclientvalidator.Clients
 
getClientSecret() - Method in class net.trajano.ms.auth.jsonclientvalidator.ClientInfo
 
getCreatedOn() - Method in class net.trajano.ms.authz.internal.TokenCacheEntry
 
getExpiresIn() - Method in class net.trajano.ms.auth.token.OAuthTokenResponse
 
getExpiresInSeconds() - Method in class net.trajano.ms.authz.internal.TokenCacheEntry
If TokenCacheEntry.getExpiresOn() is null, then this will return null.
getExpiresOn() - Method in class net.trajano.ms.authz.internal.TokenCacheEntry
 
getGrantTypes() - Method in class net.trajano.ms.auth.jsonclientvalidator.ClientInfo
 
getIdToken() - Method in class net.trajano.ms.auth.token.IdTokenResponse
 
getJwksUri() - Method in class net.trajano.ms.auth.jsonclientvalidator.ClientInfo
 
getJwksUri(String) - Method in class net.trajano.ms.auth.jsonclientvalidator.JsonClientValidator
 
getJwksUri(String) - Method in interface net.trajano.ms.auth.spi.ClientValidator
Gets the JWKS URI associated with the client ID.
getJwt() - Method in class net.trajano.ms.authz.internal.TokenCacheEntry
 
getOrigin() - Method in class net.trajano.ms.auth.jsonclientvalidator.ClientInfo
 
getOrigin() - Method in class net.trajano.ms.authz.ClientCheckRequest
 
getRedirectUri() - Method in class net.trajano.ms.auth.jsonclientvalidator.ClientInfo
 
getRedirectUri(String) - Method in class net.trajano.ms.auth.jsonclientvalidator.JsonClientValidator
 
getRedirectUri(String) - Method in interface net.trajano.ms.auth.spi.ClientValidator
 
getRedirectUriFromAuthorization(String) - Method in interface net.trajano.ms.auth.spi.ClientValidator
Obtains the client redirect URI from the Authorization header.
getRefreshToken() - Method in class net.trajano.ms.auth.token.OAuthTokenResponse
 
getRefreshToken() - Method in class net.trajano.ms.authz.internal.TokenCacheEntry
 
getTokenType() - Method in class net.trajano.ms.auth.token.OAuthTokenResponse
 
grantTypes - Variable in class net.trajano.ms.auth.jsonclientvalidator.ClientInfo
 
GrantTypes - Class in net.trajano.ms.auth.token
 
GrantTypes() - Constructor for class net.trajano.ms.auth.token.GrantTypes
 

H

handleAuthorizationCodeGrant(String) - Method in class net.trajano.ms.authz.TokenResource
 
handleJwtAssertionGrant(String, String, String) - Method in class net.trajano.ms.authz.TokenResource
Takes an assertion and converts it using an InternalClaimsBuilder to a JWT used internally
handleRefreshGrant(String, String) - Method in class net.trajano.ms.authz.TokenResource
 
hazelcastConfig() - Method in class net.trajano.ms.authz.internal.HazelcastConfiguration
 
HazelcastConfiguration - Class in net.trajano.ms.authz.internal
 
HazelcastConfiguration() - Constructor for class net.trajano.ms.authz.internal.HazelcastConfiguration
 
HttpAuthorizationHeaders - Class in net.trajano.ms.auth.util
Utility class to process HTTP Headers dealing with authorization.
HttpAuthorizationHeaders() - Constructor for class net.trajano.ms.auth.util.HttpAuthorizationHeaders
 

I

idToken - Variable in class net.trajano.ms.auth.token.IdTokenResponse
 
IdTokenResponse - Class in net.trajano.ms.auth.token
 
IdTokenResponse() - Constructor for class net.trajano.ms.auth.token.IdTokenResponse
 
IdTokenResponse(String, String, Collection<String>, Integer) - Constructor for class net.trajano.ms.auth.token.IdTokenResponse
 
init() - Method in class net.trajano.ms.auth.jsonclientvalidator.JsonClientValidator
 
init() - Method in class net.trajano.ms.authz.internal.TokenCache
 
instanceName - Variable in class net.trajano.ms.authz.internal.HazelcastConfiguration
 
InternalClaimsBuilder - Interface in net.trajano.ms.authz.spi
 
internalClaimsBuilder - Variable in class net.trajano.ms.authz.TokenResource
 
isExpired() - Method in class net.trajano.ms.authz.internal.TokenCacheEntry
If TokenCacheEntry.getExpiresOn() is null, then this will return false.
isExpiring() - Method in class net.trajano.ms.auth.token.OAuthTokenResponse
 
isOriginAllowed(URI) - Method in class net.trajano.ms.auth.jsonclientvalidator.ClientInfo
 
isOriginAllowed(String, URI) - Method in class net.trajano.ms.auth.jsonclientvalidator.JsonClientValidator
 
isOriginAllowed(String, String) - Method in interface net.trajano.ms.auth.spi.ClientValidator
 
isOriginAllowed(String, URI) - Method in interface net.trajano.ms.auth.spi.ClientValidator
 
isOriginAllowedFromAuthorization(URI, String) - Method in interface net.trajano.ms.auth.spi.ClientValidator
Checks if the given origin URI is allowed for the given Authorization header
issuer - Variable in class net.trajano.ms.authz.TokenResource
 
isValid(String, String, String) - Method in class net.trajano.ms.auth.jsonclientvalidator.JsonClientValidator
 
isValid(String, String) - Method in interface net.trajano.ms.auth.spi.ClientValidator
 
isValid(String, String, String) - Method in interface net.trajano.ms.auth.spi.ClientValidator
 

J

JsonClientValidator - Class in net.trajano.ms.auth.jsonclientvalidator
 
JsonClientValidator() - Constructor for class net.trajano.ms.auth.jsonclientvalidator.JsonClientValidator
 
jsonOps - Variable in class net.trajano.ms.auth.jsonclientvalidator.JsonClientValidator
 
jwkExpirationInSeconds - Variable in class net.trajano.ms.authz.internal.HazelcastConfiguration
 
JWKS - Static variable in class net.trajano.ms.authz.internal.CacheNames
 
jwksMap - Variable in class net.trajano.ms.authz.TokenResource
 
jwksUri - Variable in class net.trajano.ms.auth.jsonclientvalidator.ClientInfo
 
jwt - Variable in class net.trajano.ms.authz.internal.TokenCacheEntry
 
JWT_ASSERTION - Static variable in class net.trajano.ms.auth.token.GrantTypes
 
jwtMaximumLifetimeInSeconds - Variable in class net.trajano.ms.authz.RevocationResource
Maximum life of a JWT token.
jwtMaximumLifetimeInSeconds - Variable in class net.trajano.ms.authz.TokenResource
Maximum life of a JWT token.

L

LOG - Static variable in class net.trajano.ms.authz.internal.HazelcastConfiguration
 
LOG - Static variable in class net.trajano.ms.authz.internal.LoggingEntryListener
Reuse the same logger as HazelcastConfiguration.
LOG - Static variable in class net.trajano.ms.authz.internal.TokenCache
Logger for TokenCache
LOG - Static variable in class net.trajano.ms.authz.RevocationResource
 
LOG - Static variable in class net.trajano.ms.authz.TokenResource
 
LoggingEntryListener - Class in net.trajano.ms.authz.internal
 
LoggingEntryListener() - Constructor for class net.trajano.ms.authz.internal.LoggingEntryListener
 

M

matches(String, String) - Method in class net.trajano.ms.auth.jsonclientvalidator.ClientInfo
Matches with no grant type.
matches(String, String, String) - Method in class net.trajano.ms.auth.jsonclientvalidator.ClientInfo
 

N

net.trajano.ms.auth.jsonclientvalidator - package net.trajano.ms.auth.jsonclientvalidator
An implementation of the client validator that uses a JSON file source.
net.trajano.ms.auth.spi - package net.trajano.ms.auth.spi
Sservice provider interfaces that apply to both authentication and authorization.
net.trajano.ms.auth.token - package net.trajano.ms.auth.token
OAuth 2.0 support classes.
net.trajano.ms.auth.util - package net.trajano.ms.auth.util
 
net.trajano.ms.authz - package net.trajano.ms.authz
This provides the Authorization related classes.
net.trajano.ms.authz.internal - package net.trajano.ms.authz.internal
 
net.trajano.ms.authz.spi - package net.trajano.ms.authz.spi
Interfaces that need to be implemented by the Authorization service in order for it to function correctly.
NONCE - Static variable in class net.trajano.ms.authz.internal.CacheNames
 
nonceExpirationInSeconds - Variable in class net.trajano.ms.authz.internal.HazelcastConfiguration
 

O

OAuthTokenResponse - Class in net.trajano.ms.auth.token
 
OAuthTokenResponse() - Constructor for class net.trajano.ms.auth.token.OAuthTokenResponse
 
OPENID - Static variable in class net.trajano.ms.auth.token.GrantTypes
 
origin - Variable in class net.trajano.ms.auth.jsonclientvalidator.ClientInfo
 
origin - Variable in class net.trajano.ms.authz.ClientCheckRequest
 

P

parseBasicAuthorization(String) - Static method in class net.trajano.ms.auth.util.HttpAuthorizationHeaders
This will extract the username and password components of a basic authorization header.
parseBeaerAuthorization(String) - Static method in class net.trajano.ms.auth.util.HttpAuthorizationHeaders
 

R

realmName - Variable in class net.trajano.ms.authz.RevocationResource
 
realmName - Variable in class net.trajano.ms.authz.TokenResource
 
redirectUri - Variable in class net.trajano.ms.auth.jsonclientvalidator.ClientInfo
 
refresh(String, String) - Method in class net.trajano.ms.authz.internal.TokenCache
 
REFRESH_TOKEN - Static variable in class net.trajano.ms.auth.token.GrantTypes
 
REFRESH_TOKEN_TO_ENTRY - Static variable in class net.trajano.ms.authz.internal.CacheNames
 
refreshToken - Variable in class net.trajano.ms.auth.token.OAuthTokenResponse
 
refreshToken - Variable in class net.trajano.ms.authz.internal.TokenCacheEntry
 
refreshTokenExpirationInSeconds - Variable in class net.trajano.ms.authz.internal.HazelcastConfiguration
 
refreshTokenToEntry - Variable in class net.trajano.ms.authz.internal.TokenCache
 
RevocationResource - Class in net.trajano.ms.authz
Revocation endpoint resource.
RevocationResource() - Constructor for class net.trajano.ms.authz.RevocationResource
 
revoke(String, String, String) - Method in class net.trajano.ms.authz.RevocationResource
Performs client credential validation then invokes the revocation process from the token cache.
revokeRefreshToken(String, String) - Method in class net.trajano.ms.authz.internal.TokenCache
Revokes the refresh token and associated access token.

S

serialVersionUID - Static variable in class net.trajano.ms.auth.token.IdTokenResponse
serialVersionUID.
serialVersionUID - Static variable in class net.trajano.ms.auth.token.OAuthTokenResponse
serialVersionUID.
serialVersionUID - Static variable in class net.trajano.ms.authz.ClientCheckRequest
serialVersionUID.
serialVersionUID - Static variable in class net.trajano.ms.authz.internal.TokenCacheEntry
 
setAccessToken(String) - Method in class net.trajano.ms.auth.token.OAuthTokenResponse
 
setAuthorization(String) - Method in class net.trajano.ms.authz.ClientCheckRequest
 
setClientId(String) - Method in class net.trajano.ms.auth.jsonclientvalidator.ClientInfo
 
setClients(List<ClientInfo>) - Method in class net.trajano.ms.auth.jsonclientvalidator.Clients
 
setClientSecret(String) - Method in class net.trajano.ms.auth.jsonclientvalidator.ClientInfo
 
setExpiresIn(int) - Method in class net.trajano.ms.auth.token.OAuthTokenResponse
 
setGrantTypes(Set<String>) - Method in class net.trajano.ms.auth.jsonclientvalidator.ClientInfo
 
setIdToken(String) - Method in class net.trajano.ms.auth.token.IdTokenResponse
 
setJwksUri(URI) - Method in class net.trajano.ms.auth.jsonclientvalidator.ClientInfo
 
setOrigin(URI) - Method in class net.trajano.ms.auth.jsonclientvalidator.ClientInfo
 
setOrigin(String) - Method in class net.trajano.ms.authz.ClientCheckRequest
 
setRedirectUri(URI) - Method in class net.trajano.ms.auth.jsonclientvalidator.ClientInfo
 
setRefreshToken(String) - Method in class net.trajano.ms.auth.token.OAuthTokenResponse
 
setTokenType(String) - Method in class net.trajano.ms.auth.token.OAuthTokenResponse
 
store(String, Collection<String>, Instant) - Method in class net.trajano.ms.authz.internal.TokenCache
Stores the internal claims set into the cache and returns an OAuth token.

T

tokenCache - Variable in class net.trajano.ms.authz.ClientCheckResource
 
TokenCache - Class in net.trajano.ms.authz.internal
 
TokenCache() - Constructor for class net.trajano.ms.authz.internal.TokenCache
 
tokenCache - Variable in class net.trajano.ms.authz.RevocationResource
 
tokenCache - Variable in class net.trajano.ms.authz.TokenResource
 
TokenCacheEntry - Class in net.trajano.ms.authz.internal
Entries stored inside the cache.
TokenCacheEntry(String, String, String, Collection<String>) - Constructor for class net.trajano.ms.authz.internal.TokenCacheEntry
 
TokenCacheEntry(String, String, String, Collection<String>, Instant) - Constructor for class net.trajano.ms.authz.internal.TokenCacheEntry
 
TokenResource - Class in net.trajano.ms.authz
 
TokenResource() - Constructor for class net.trajano.ms.authz.TokenResource
 
tokenType - Variable in class net.trajano.ms.auth.token.OAuthTokenResponse
 

U

updateEntry(TokenCacheEntry) - Method in class net.trajano.ms.authz.internal.TokenCache
Stores the cache entry into the caches with updated tokens.

V

validateClient(ClientCheckRequest) - Method in class net.trajano.ms.authz.ClientCheckResource
 
valueOf(String) - Static method in enum net.trajano.ms.auth.util.AuthorizationType
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.trajano.ms.auth.util.AuthorizationType
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E G H I J L M N O P R S T U V 
Skip navigation links

Copyright © 2012–2017 Trajano. All rights reserved.