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

A

actionImpliedBy(MatchingPart, List<MatchingPart>) - Static method in class com.bazaarvoice.emodb.auth.permissions.matching.MatchingPart
 
AnonymousCredentialsMatcher - Class in com.bazaarvoice.emodb.auth.shiro
Credentials matcher that will always match when the authentication token is an AnonymousToken.
anonymousOrMatchUsing(CredentialsMatcher) - Static method in class com.bazaarvoice.emodb.auth.shiro.AnonymousCredentialsMatcher
 
AnonymousToken - Class in com.bazaarvoice.emodb.auth.shiro
Special authentication token assigned to anonymous requests.
AnyPart - Class in com.bazaarvoice.emodb.auth.permissions.matching
Efficient MatchingPart implementation which matches all possible other parts.
AnyPart() - Constructor for class com.bazaarvoice.emodb.auth.permissions.matching.AnyPart
 
ApiKey - Class in com.bazaarvoice.emodb.auth.apikey
AuthIdentity implementation where identification is performed with a simple API key.
ApiKey(String, String, Set<String>) - Constructor for class com.bazaarvoice.emodb.auth.apikey.ApiKey
 
ApiKey(String, String, List<String>) - Constructor for class com.bazaarvoice.emodb.auth.apikey.ApiKey
 
ApiKeyAuthenticationInfo - Class in com.bazaarvoice.emodb.auth.apikey
AuthenticationInfo implementation for ApiKeys.
ApiKeyAuthenticationInfo(ApiKey, String) - Constructor for class com.bazaarvoice.emodb.auth.apikey.ApiKeyAuthenticationInfo
 
ApiKeyAuthenticationToken - Class in com.bazaarvoice.emodb.auth.apikey
AuthenticationToken implementation for ApiKeys.
ApiKeyAuthenticationToken(String) - Constructor for class com.bazaarvoice.emodb.auth.apikey.ApiKeyAuthenticationToken
 
ApiKeyAuthenticationTokenGenerator - Class in com.bazaarvoice.emodb.auth.apikey
AuthenticationTokenGenerator implementation for ApiKeys.
ApiKeyAuthenticationTokenGenerator() - Constructor for class com.bazaarvoice.emodb.auth.apikey.ApiKeyAuthenticationTokenGenerator
 
ApiKeyRealm - Class in com.bazaarvoice.emodb.auth.apikey
 
ApiKeyRealm(String, CacheManager, AuthIdentityManager<ApiKey>, PermissionManager, String) - Constructor for class com.bazaarvoice.emodb.auth.apikey.ApiKeyRealm
 
ApiKeySecurityManager - Class in com.bazaarvoice.emodb.auth.apikey
 
ApiKeySecurityManager(ApiKeyRealm) - Constructor for class com.bazaarvoice.emodb.auth.apikey.ApiKeySecurityManager
 
AuthCacheRegistry - Annotation Type in com.bazaarvoice.emodb.auth
Guice binding annotation for identifying the CacheRegistry the Auth module should use.
Authenticated - Annotation Type in com.bazaarvoice.emodb.auth.jersey
 
AuthenticatedSubjectProvider - Class in com.bazaarvoice.emodb.auth.jersey
Provider to inject a Subject as a parameter to a request that requires authentication or authorization.
AuthenticatedSubjectProvider(SecurityManager) - Constructor for class com.bazaarvoice.emodb.auth.jersey.AuthenticatedSubjectProvider
 
AuthenticationExceptionHandler - Class in com.bazaarvoice.emodb.auth.jersey
Exception mapper for authentication errors.
AuthenticationExceptionHandler(Providers) - Constructor for class com.bazaarvoice.emodb.auth.jersey.AuthenticationExceptionHandler
 
AuthenticationResourceFilter - Class in com.bazaarvoice.emodb.auth.jersey
Resource filter for authentication.
AuthenticationResourceFilter(SecurityManager, AuthenticationTokenGenerator<?>) - Constructor for class com.bazaarvoice.emodb.auth.jersey.AuthenticationResourceFilter
 
AuthenticationTokenGenerator<T extends AuthIdentity> - Interface in com.bazaarvoice.emodb.auth.jersey
Interface for creating authorization tokens from the request in a type-safe manner.
AuthIdentity - Class in com.bazaarvoice.emodb.auth.identity
Base unit of identity for a client which can be authenticated in the application.
AuthIdentity(String, String, Set<String>) - Constructor for class com.bazaarvoice.emodb.auth.identity.AuthIdentity
 
AuthIdentityManager<T extends AuthIdentity> - Interface in com.bazaarvoice.emodb.auth.identity
Manager for identities.
AuthorizationExceptionHandler - Class in com.bazaarvoice.emodb.auth.jersey
Exception mapper for authorization errors.
AuthorizationExceptionHandler(Providers) - Constructor for class com.bazaarvoice.emodb.auth.jersey.AuthorizationExceptionHandler
 
AuthorizationResourceFilter - Class in com.bazaarvoice.emodb.auth.jersey
Resource filter for methods which require authorization.
AuthorizationResourceFilter(List<String>, Logical, Map<String, Function<HttpRequestContext, String>>) - Constructor for class com.bazaarvoice.emodb.auth.jersey.AuthorizationResourceFilter
 
AuthResourceFilterFactory - Class in com.bazaarvoice.emodb.auth.jersey
ResourceFilterFactory that places filters on the request for authentication and authorization based on the presence of RequiresAuthentication and RequiresPermissions annotations on the resource class and/or methods.
AuthResourceFilterFactory(SecurityManager, AuthenticationTokenGenerator<?>) - Constructor for class com.bazaarvoice.emodb.auth.jersey.AuthResourceFilterFactory
 

B

BasicToApiKeyAuthenticationFilter - Class in com.bazaarvoice.emodb.auth.legacy
Filter which serves as a bridge between a system that used to use Basic authentication and one that uses API keys.
BasicToApiKeyAuthenticationFilter(Map<String, String>) - Constructor for class com.bazaarvoice.emodb.auth.legacy.BasicToApiKeyAuthenticationFilter
Initializes filter with a map of Basic credentials to API keys.
build(SecurityManager) - Static method in class com.bazaarvoice.emodb.auth.jersey.JerseyAuthConfigurationBuilder
 
build() - Method in class com.bazaarvoice.emodb.auth.SecurityManagerBuilder
 

C

CacheValidator(Class<CVK>, Class<CVV>) - Constructor for class com.bazaarvoice.emodb.auth.shiro.ValidatingCacheManager.CacheValidator
 
clearCachedAuthenticationInfo(PrincipalCollection) - Method in class com.bazaarvoice.emodb.auth.apikey.ApiKeyRealm
Override default behavior to only clear cached authentication info if enabled.
clearCachedAuthorizationInfo(PrincipalCollection) - Method in class com.bazaarvoice.emodb.auth.apikey.ApiKeyRealm
Override default behavior to only clear cached authorization info if enabled.
com.bazaarvoice.emodb.auth - package com.bazaarvoice.emodb.auth
 
com.bazaarvoice.emodb.auth.apikey - package com.bazaarvoice.emodb.auth.apikey
 
com.bazaarvoice.emodb.auth.dropwizard - package com.bazaarvoice.emodb.auth.dropwizard
 
com.bazaarvoice.emodb.auth.identity - package com.bazaarvoice.emodb.auth.identity
 
com.bazaarvoice.emodb.auth.jersey - package com.bazaarvoice.emodb.auth.jersey
 
com.bazaarvoice.emodb.auth.legacy - package com.bazaarvoice.emodb.auth.legacy
 
com.bazaarvoice.emodb.auth.permissions - package com.bazaarvoice.emodb.auth.permissions
 
com.bazaarvoice.emodb.auth.permissions.matching - package com.bazaarvoice.emodb.auth.permissions.matching
 
com.bazaarvoice.emodb.auth.shiro - package com.bazaarvoice.emodb.auth.shiro
 
com.bazaarvoice.emodb.auth.util - package com.bazaarvoice.emodb.auth.util
 
configure(Environment) - Method in class com.bazaarvoice.emodb.auth.dropwizard.DropwizardAuthConfigurator
 
ConstantPart - Class in com.bazaarvoice.emodb.auth.permissions.matching
MatchingPart implementation for matching a single constant value.
ConstantPart(String) - Constructor for class com.bazaarvoice.emodb.auth.permissions.matching.ConstantPart
 
contextImpliedBy(MatchingPart, List<MatchingPart>) - Static method in class com.bazaarvoice.emodb.auth.permissions.matching.MatchingPart
 
create(AbstractMethod) - Method in class com.bazaarvoice.emodb.auth.jersey.AuthResourceFilterFactory
 
create() - Static method in class com.bazaarvoice.emodb.auth.SecurityManagerBuilder
Starts a new configuration builder.
createCache(String) - Method in class com.bazaarvoice.emodb.auth.shiro.GuavaCacheManager
 
createConstantPart(String) - Method in class com.bazaarvoice.emodb.auth.permissions.MatchingPermission
 
createSubjectContext() - Method in class com.bazaarvoice.emodb.auth.apikey.ApiKeySecurityManager
Required to by-pass a Shiro issue caused by not binding the SecurityManager globally.
createToken(HttpRequestContext) - Method in class com.bazaarvoice.emodb.auth.apikey.ApiKeyAuthenticationTokenGenerator
 
createToken(HttpRequestContext) - Method in interface com.bazaarvoice.emodb.auth.jersey.AuthenticationTokenGenerator
Returns the authentication token from the caller's request.
CredentialEncrypter - Class in com.bazaarvoice.emodb.auth.util
Utility class for encrypting and decrypting credentials.
CredentialEncrypter(byte[]) - Constructor for class com.bazaarvoice.emodb.auth.util.CredentialEncrypter
Creates a new instance initialized from a byte array.
CredentialEncrypter(String) - Constructor for class com.bazaarvoice.emodb.auth.util.CredentialEncrypter
Convenience constructor to initialize from a string converted to a UTF-8 byte array.

D

decryptBytes(String) - Method in class com.bazaarvoice.emodb.auth.util.CredentialEncrypter
Recovers the plaintext bytes from the encrypted value returned by CredentialEncrypter.encryptBytes(byte[]).
decryptString(String) - Method in class com.bazaarvoice.emodb.auth.util.CredentialEncrypter
Recovers the plaintext String from the encrypted value returned by CredentialEncrypter.encryptString(String).
deleteIdentity(String) - Method in interface com.bazaarvoice.emodb.auth.identity.AuthIdentityManager
Deletes an identity.
deleteIdentity(String) - Method in class com.bazaarvoice.emodb.auth.identity.InMemoryAuthIdentityManager
 
destroy() - Method in class com.bazaarvoice.emodb.auth.legacy.BasicToApiKeyAuthenticationFilter
 
doCredentialsMatch(AuthenticationToken, AuthenticationInfo) - Method in class com.bazaarvoice.emodb.auth.shiro.AnonymousCredentialsMatcher
 
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class com.bazaarvoice.emodb.auth.legacy.BasicToApiKeyAuthenticationFilter
 
doGetAuthenticationInfo(AuthenticationToken) - Method in class com.bazaarvoice.emodb.auth.apikey.ApiKeyRealm
Gets the AuthenticationInfo that matches a token.
doGetAuthorizationInfo(PrincipalCollection) - Method in class com.bazaarvoice.emodb.auth.apikey.ApiKeyRealm
Gets the AuthorizationInfo that matches a token.
DropwizardAuthConfigurator - Class in com.bazaarvoice.emodb.auth.dropwizard
This class can be used to configure security and any Jersey resources within a DropWizard framework so that requests can authenticated and/or authorized using @RequiresAuthentication and
DropwizardAuthConfigurator(SecurityManager) - Constructor for class com.bazaarvoice.emodb.auth.dropwizard.DropwizardAuthConfigurator
 

E

EmoSecurityManager - Interface in com.bazaarvoice.emodb.auth
Extension of the SecurityManager interface which adds methods for verifying permissions by internal ID for users not currently authenticated.
encryptBytes(byte[]) - Method in class com.bazaarvoice.emodb.auth.util.CredentialEncrypter
Encrypts a byte array and returns a string representation of the encrypted value.
encryptString(String) - Method in class com.bazaarvoice.emodb.auth.util.CredentialEncrypter
Encrypts a String and returns a string representation of the encrypted value.
equals(Object) - Method in class com.bazaarvoice.emodb.auth.apikey.ApiKeyAuthenticationInfo
 
equals(Object) - Method in class com.bazaarvoice.emodb.auth.permissions.MatchingPermission
 
equals(Object) - Method in class com.bazaarvoice.emodb.auth.shiro.PrincipalWithRoles
 
equals(Object) - Method in class com.bazaarvoice.emodb.auth.shiro.SimpleRolePermissionSet
 
escape(String) - Static method in class com.bazaarvoice.emodb.auth.permissions.MatchingPermission
Returns a string escaped so it will be interpreted literally by the matcher.
escapeSeparators(String) - Static method in class com.bazaarvoice.emodb.auth.permissions.MatchingPermission
Returns a string with only the separators escaped, unlike MatchingPermission.escape(String) which also protects wildcards.

F

filter(ContainerRequest) - Method in class com.bazaarvoice.emodb.auth.jersey.AuthenticationResourceFilter
 
filter(ContainerRequest, ContainerResponse) - Method in class com.bazaarvoice.emodb.auth.jersey.AuthenticationResourceFilter
 
filter(ContainerRequest) - Method in class com.bazaarvoice.emodb.auth.jersey.AuthorizationResourceFilter
Authorizes the client for the annotated permissions.

G

getAction(List<MatchingPart>) - Static method in class com.bazaarvoice.emodb.auth.permissions.matching.MatchingPart
 
getAll() - Method in class com.bazaarvoice.emodb.auth.permissions.InMemoryPermissionManager
 
getAll() - Method in interface com.bazaarvoice.emodb.auth.permissions.PermissionManager
Gets all roles with permissions attached.
getAllForRole(String) - Method in class com.bazaarvoice.emodb.auth.permissions.InMemoryPermissionManager
 
getAllForRole(String) - Method in interface com.bazaarvoice.emodb.auth.permissions.PermissionManager
Gets all permissions granted to this role.
getAnyPart() - Method in class com.bazaarvoice.emodb.auth.permissions.MatchingPermission
 
getAvailableInternalAuthorizationCache() - Method in class com.bazaarvoice.emodb.auth.apikey.ApiKeyRealm
 
getAvailableRolesCache() - Method in class com.bazaarvoice.emodb.auth.apikey.ApiKeyRealm
 
getCache(String) - Method in class com.bazaarvoice.emodb.auth.shiro.ValidatingCacheManager
 
getCacheValidatorForCache(String) - Method in class com.bazaarvoice.emodb.auth.shiro.ValidatingCacheManager
Subclasses should return the cache validator for the cache with the given name.
getContext(List<MatchingPart>) - Static method in class com.bazaarvoice.emodb.auth.permissions.matching.MatchingPart
 
getCredentials() - Method in class com.bazaarvoice.emodb.auth.apikey.ApiKeyAuthenticationInfo
 
getCredentials() - Method in class com.bazaarvoice.emodb.auth.apikey.ApiKeyAuthenticationToken
 
getCredentials() - Method in class com.bazaarvoice.emodb.auth.shiro.AnonymousToken
 
getDescription() - Method in class com.bazaarvoice.emodb.auth.identity.AuthIdentity
 
getId() - Method in class com.bazaarvoice.emodb.auth.identity.AuthIdentity
 
getId() - Method in class com.bazaarvoice.emodb.auth.jersey.Subject
 
getIdentity(String) - Method in interface com.bazaarvoice.emodb.auth.identity.AuthIdentityManager
Gets an entity by ID.
getIdentity(String) - Method in class com.bazaarvoice.emodb.auth.identity.InMemoryAuthIdentityManager
 
getInjectable(ComponentContext, Authenticated, Parameter) - Method in class com.bazaarvoice.emodb.auth.jersey.AuthenticatedSubjectProvider
 
getInstance() - Static method in class com.bazaarvoice.emodb.auth.shiro.AnonymousToken
 
getInternalAuthorizationCache() - Method in class com.bazaarvoice.emodb.auth.apikey.ApiKeyRealm
 
getInternalAuthorizationCacheName() - Method in class com.bazaarvoice.emodb.auth.apikey.ApiKeyRealm
 
getInternalId() - Method in class com.bazaarvoice.emodb.auth.identity.AuthIdentity
 
getInternalId() - Method in class com.bazaarvoice.emodb.auth.jersey.Subject
 
getInternalId() - Method in class com.bazaarvoice.emodb.auth.shiro.PrincipalWithRoles
 
getIssued() - Method in class com.bazaarvoice.emodb.auth.identity.AuthIdentity
 
getKeyType() - Method in class com.bazaarvoice.emodb.auth.shiro.ValidatingCacheManager.CacheValidator
 
getName() - Method in class com.bazaarvoice.emodb.auth.shiro.PrincipalWithRoles
 
getOwner() - Method in class com.bazaarvoice.emodb.auth.identity.AuthIdentity
 
getParts() - Method in class com.bazaarvoice.emodb.auth.permissions.MatchingPermission
 
getPermissionResolver() - Method in class com.bazaarvoice.emodb.auth.permissions.InMemoryPermissionManager
 
getPermissionResolver() - Method in interface com.bazaarvoice.emodb.auth.permissions.PermissionManager
Gets the permission resolver for this manager.
getPermissions(String) - Method in class com.bazaarvoice.emodb.auth.apikey.ApiKeyRealm
Gets the permissions for a role.
getPermitted() - Method in class com.bazaarvoice.emodb.auth.permissions.PermissionUpdateRequest
 
getPrincipal() - Method in class com.bazaarvoice.emodb.auth.apikey.ApiKeyAuthenticationToken
 
getPrincipal() - Method in class com.bazaarvoice.emodb.auth.shiro.AnonymousToken
 
getPrincipals() - Method in class com.bazaarvoice.emodb.auth.apikey.ApiKeyAuthenticationInfo
 
getProviderClasses() - Method in class com.bazaarvoice.emodb.auth.jersey.JerseyAuthConfiguration
 
getProviderInstances() - Method in class com.bazaarvoice.emodb.auth.jersey.JerseyAuthConfiguration
 
getRequestFilter() - Method in class com.bazaarvoice.emodb.auth.jersey.AuthenticationResourceFilter
 
getRequestFilter() - Method in class com.bazaarvoice.emodb.auth.jersey.AuthorizationResourceFilter
 
getResourceFilterFactories() - Method in class com.bazaarvoice.emodb.auth.jersey.JerseyAuthConfiguration
 
getResponseFilter() - Method in class com.bazaarvoice.emodb.auth.jersey.AuthenticationResourceFilter
 
getResponseFilter() - Method in class com.bazaarvoice.emodb.auth.jersey.AuthorizationResourceFilter
 
getRevoked() - Method in class com.bazaarvoice.emodb.auth.permissions.PermissionUpdateRequest
 
getRoles() - Method in class com.bazaarvoice.emodb.auth.identity.AuthIdentity
 
getRoles() - Method in class com.bazaarvoice.emodb.auth.shiro.PrincipalWithRoles
 
getRolesByInternalId(String) - Method in interface com.bazaarvoice.emodb.auth.identity.AuthIdentityManager
Gets the roles associated with an identity by its internal ID.
getRolesByInternalId(String) - Method in class com.bazaarvoice.emodb.auth.identity.InMemoryAuthIdentityManager
 
getRolesCacheName() - Method in class com.bazaarvoice.emodb.auth.apikey.ApiKeyRealm
 
getScope() - Method in class com.bazaarvoice.emodb.auth.jersey.AuthenticatedSubjectProvider
 
getValue() - Method in class com.bazaarvoice.emodb.auth.permissions.matching.ConstantPart
 
getValueType() - Method in class com.bazaarvoice.emodb.auth.shiro.ValidatingCacheManager.CacheValidator
 
GuavaCacheManager - Class in com.bazaarvoice.emodb.auth.shiro
Implementation of CacheManager which uses a Guava Cache for storage.
GuavaCacheManager(CacheRegistry, String) - Constructor for class com.bazaarvoice.emodb.auth.shiro.GuavaCacheManager
 
GuavaCacheManager(CacheRegistry) - Constructor for class com.bazaarvoice.emodb.auth.shiro.GuavaCacheManager
 

H

hashCode() - Method in class com.bazaarvoice.emodb.auth.apikey.ApiKeyAuthenticationInfo
 
hashCode() - Method in class com.bazaarvoice.emodb.auth.permissions.MatchingPermission
 
hashCode() - Method in class com.bazaarvoice.emodb.auth.shiro.PrincipalWithRoles
 
hashCode() - Method in class com.bazaarvoice.emodb.auth.shiro.SimpleRolePermissionSet
 
hasPermission(String) - Method in class com.bazaarvoice.emodb.auth.jersey.Subject
 
hasPermission(Permission) - Method in class com.bazaarvoice.emodb.auth.jersey.Subject
 
hasPermissionByInternalId(String, String) - Method in class com.bazaarvoice.emodb.auth.apikey.ApiKeyRealm
Test for whether an API key has a specific permission using its internal ID.
hasPermissionByInternalId(String, Permission) - Method in class com.bazaarvoice.emodb.auth.apikey.ApiKeyRealm
Test for whether an API key has a specific permission using its internal ID.
hasPermissionByInternalId(String, String) - Method in class com.bazaarvoice.emodb.auth.apikey.ApiKeySecurityManager
 
hasPermissionByInternalId(String, Permission) - Method in class com.bazaarvoice.emodb.auth.apikey.ApiKeySecurityManager
 
hasPermissionByInternalId(String, String) - Method in interface com.bazaarvoice.emodb.auth.InternalAuthorizer
 
hasPermissionByInternalId(String, Permission) - Method in interface com.bazaarvoice.emodb.auth.InternalAuthorizer
 
hasPermissions(String...) - Method in class com.bazaarvoice.emodb.auth.jersey.Subject
 
hasPermissions(Permission...) - Method in class com.bazaarvoice.emodb.auth.jersey.Subject
 
hasPermissionsByInternalId(String, String...) - Method in class com.bazaarvoice.emodb.auth.apikey.ApiKeyRealm
Test for whether an API key has specific permissions using its internal ID.
hasPermissionsByInternalId(String, Permission...) - Method in class com.bazaarvoice.emodb.auth.apikey.ApiKeyRealm
Test for whether an API key has specific permissions using its internal ID.
hasPermissionsByInternalId(String, Collection<Permission>) - Method in class com.bazaarvoice.emodb.auth.apikey.ApiKeyRealm
Test for whether an API key has specific permissions using its internal ID.
hasPermissionsByInternalId(String, String...) - Method in class com.bazaarvoice.emodb.auth.apikey.ApiKeySecurityManager
 
hasPermissionsByInternalId(String, Permission...) - Method in class com.bazaarvoice.emodb.auth.apikey.ApiKeySecurityManager
 
hasPermissionsByInternalId(String, String...) - Method in interface com.bazaarvoice.emodb.auth.InternalAuthorizer
 
hasPermissionsByInternalId(String, Permission...) - Method in interface com.bazaarvoice.emodb.auth.InternalAuthorizer
 
hasRole(String) - Method in class com.bazaarvoice.emodb.auth.jersey.Subject
 

I

impliedBy(Implier, List<MatchingPart>) - Method in class com.bazaarvoice.emodb.auth.permissions.matching.AnyPart
 
impliedBy(Implier, List<MatchingPart>) - Method in class com.bazaarvoice.emodb.auth.permissions.matching.ConstantPart
 
impliedBy(Implier, List<MatchingPart>) - Method in class com.bazaarvoice.emodb.auth.permissions.matching.MatchingPart
 
impliedBy(Implier, List<MatchingPart>) - Method in class com.bazaarvoice.emodb.auth.permissions.matching.NonePart
 
Implier - Interface in com.bazaarvoice.emodb.auth.permissions.matching
Visitor interface for determining whether a typed MatchingPart is implied.
implies(MatchingPart, List<MatchingPart>) - Method in class com.bazaarvoice.emodb.auth.permissions.matching.MatchingPart
 
implies(Permission) - Method in class com.bazaarvoice.emodb.auth.permissions.MatchingPermission
 
impliesAny() - Method in class com.bazaarvoice.emodb.auth.permissions.matching.AnyPart
 
impliesAny() - Method in interface com.bazaarvoice.emodb.auth.permissions.matching.Implier
Returns true if the instance should permit any possible value.
impliesAny() - Method in class com.bazaarvoice.emodb.auth.permissions.matching.MatchingPart
 
impliesAny() - Method in class com.bazaarvoice.emodb.auth.permissions.matching.NonePart
 
impliesConstant(ConstantPart, List<MatchingPart>) - Method in class com.bazaarvoice.emodb.auth.permissions.matching.AnyPart
 
impliesConstant(ConstantPart, List<MatchingPart>) - Method in class com.bazaarvoice.emodb.auth.permissions.matching.ConstantPart
 
impliesConstant(ConstantPart, List<MatchingPart>) - Method in interface com.bazaarvoice.emodb.auth.permissions.matching.Implier
Returns true if this instance should permit the provided constant.
impliesConstant(ConstantPart, List<MatchingPart>) - Method in class com.bazaarvoice.emodb.auth.permissions.matching.MatchingPart
 
impliesConstant(ConstantPart, List<MatchingPart>) - Method in class com.bazaarvoice.emodb.auth.permissions.matching.NonePart
 
init(FilterConfig) - Method in class com.bazaarvoice.emodb.auth.legacy.BasicToApiKeyAuthenticationFilter
 
initializePermission() - Method in class com.bazaarvoice.emodb.auth.permissions.MatchingPermission
Parses and initializes the permission's parts.
InMemoryAuthIdentityManager<T extends AuthIdentity> - Class in com.bazaarvoice.emodb.auth.identity
Simple in-memory implementation of an AuthIdentityManager.
InMemoryAuthIdentityManager() - Constructor for class com.bazaarvoice.emodb.auth.identity.InMemoryAuthIdentityManager
 
InMemoryPermissionManager - Class in com.bazaarvoice.emodb.auth.permissions
Simple in-memory implementation of a PermissionManager.
InMemoryPermissionManager(PermissionResolver) - Constructor for class com.bazaarvoice.emodb.auth.permissions.InMemoryPermissionManager
 
instance() - Static method in class com.bazaarvoice.emodb.auth.permissions.matching.AnyPart
 
instance() - Static method in class com.bazaarvoice.emodb.auth.permissions.matching.NonePart
 
InternalAuthorizer - Interface in com.bazaarvoice.emodb.auth
Interface for performing authorization internally within the system.
InvalidatableCacheManager - Interface in com.bazaarvoice.emodb.auth.shiro
Extension of shiro CacheManager that permits invalidating its caches by an explicit external call.
invalidateAll() - Method in class com.bazaarvoice.emodb.auth.shiro.GuavaCacheManager
 
invalidateAll() - Method in interface com.bazaarvoice.emodb.auth.shiro.InvalidatableCacheManager
 
isAnonymous(AuthenticationToken) - Static method in class com.bazaarvoice.emodb.auth.shiro.AnonymousToken
Efficient check for whether a token is anonymous by performing instance comparison with the singleton.
isAnonymousPrincipal(Object) - Static method in class com.bazaarvoice.emodb.auth.shiro.AnonymousToken
Efficient check for whether a principal is anonymous by performing instance comparison with the singleton.
isAssignable() - Method in class com.bazaarvoice.emodb.auth.permissions.matching.AnyPart
 
isAssignable() - Method in class com.bazaarvoice.emodb.auth.permissions.matching.ConstantPart
 
isAssignable() - Method in class com.bazaarvoice.emodb.auth.permissions.matching.MatchingPart
Returns true if this part can be included in a permission that is assigned to a user or role.
isAssignable() - Method in class com.bazaarvoice.emodb.auth.permissions.matching.NonePart
 
isAssignable() - Method in class com.bazaarvoice.emodb.auth.permissions.MatchingPermission
Some permissions fall into one of the following categories: The permission is intended for validation purposes only, such as for creating a table. The permission format is deprecated and no new permissions of the format are allowed. This method returns true if the permission should be assignable to a user/role, false otherwise.
isCurrentValue(CVK, CVV) - Method in class com.bazaarvoice.emodb.auth.shiro.ValidatingCacheManager.CacheValidator
 
isPotentiallyEncryptedBytes(byte[]) - Static method in class com.bazaarvoice.emodb.auth.util.CredentialEncrypter
Returns true if the provided bytes _could_ be encrypted credentials, even if they can't be decrypted by a specific instance.
isPotentiallyEncryptedString(String) - Static method in class com.bazaarvoice.emodb.auth.util.CredentialEncrypter
Returns true if the provided String _could_ be encrypted credentials, even if it can't be decrypted by a specific instance.

J

JerseyAuthConfiguration - Class in com.bazaarvoice.emodb.auth.jersey
This class holds objects which can be used to configure Jersey to allow for authentication and authorization.
JerseyAuthConfiguration(List<Object>, List<ResourceFilterFactory>) - Constructor for class com.bazaarvoice.emodb.auth.jersey.JerseyAuthConfiguration
 
JerseyAuthConfigurationBuilder - Class in com.bazaarvoice.emodb.auth.jersey
This class can be used to get the Jersey ResourceFactoryFilters and Providers required to authenticate and/or authorize requests using @RequiresAuthentication and

M

MatchingPart - Class in com.bazaarvoice.emodb.auth.permissions.matching
Parent class for all potential parts used by MatchingPermission.
MatchingPart() - Constructor for class com.bazaarvoice.emodb.auth.permissions.matching.MatchingPart
 
MatchingPermission - Class in com.bazaarvoice.emodb.auth.permissions
Similar to WildcardPermission with the following differences: Parts are separated by "|" instead of ":", since ":" occurs commonly in emo table names Provides basic wildcard support, although the implementation is extensible to provide further wildcard capabilities. Provides methods for escaping separators and wildcards.
MatchingPermission(String) - Constructor for class com.bazaarvoice.emodb.auth.permissions.MatchingPermission
 
MatchingPermission(String, boolean) - Constructor for class com.bazaarvoice.emodb.auth.permissions.MatchingPermission
 
MatchingPermission(String...) - Constructor for class com.bazaarvoice.emodb.auth.permissions.MatchingPermission
 
MatchingPermissionResolver - Class in com.bazaarvoice.emodb.auth.permissions
 
MatchingPermissionResolver() - Constructor for class com.bazaarvoice.emodb.auth.permissions.MatchingPermissionResolver
 

N

NonePart - Class in com.bazaarvoice.emodb.auth.permissions.matching
MatchingPart that never matches any other values.
NonePart() - Constructor for class com.bazaarvoice.emodb.auth.permissions.matching.NonePart
 

O

onInit() - Method in class com.bazaarvoice.emodb.auth.apikey.ApiKeyRealm
 

P

PermissionManager - Interface in com.bazaarvoice.emodb.auth.permissions
Manager for permissions.
permissions() - Method in interface com.bazaarvoice.emodb.auth.shiro.RolePermissionSet
 
permissions() - Method in class com.bazaarvoice.emodb.auth.shiro.SimpleRolePermissionSet
 
PermissionUpdateRequest - Class in com.bazaarvoice.emodb.auth.permissions
Helper class for updating permissions using PermissionManager.updateForRole(String, PermissionUpdateRequest)
PermissionUpdateRequest() - Constructor for class com.bazaarvoice.emodb.auth.permissions.PermissionUpdateRequest
 
permit(Iterable<String>) - Method in class com.bazaarvoice.emodb.auth.permissions.PermissionUpdateRequest
 
permit(String...) - Method in class com.bazaarvoice.emodb.auth.permissions.PermissionUpdateRequest
 
PrincipalWithRoles - Class in com.bazaarvoice.emodb.auth.shiro
 
PrincipalWithRoles(String, String, Set<String>) - Constructor for class com.bazaarvoice.emodb.auth.shiro.PrincipalWithRoles
 

R

reset() - Method in class com.bazaarvoice.emodb.auth.identity.InMemoryAuthIdentityManager
 
reset() - Method in class com.bazaarvoice.emodb.auth.permissions.InMemoryPermissionManager
 
resolvePermission(String) - Method in class com.bazaarvoice.emodb.auth.permissions.MatchingPermissionResolver
 
revoke(Iterable<String>) - Method in class com.bazaarvoice.emodb.auth.permissions.PermissionUpdateRequest
 
revoke(String...) - Method in class com.bazaarvoice.emodb.auth.permissions.PermissionUpdateRequest
 
revokeAllForRole(String) - Method in class com.bazaarvoice.emodb.auth.permissions.InMemoryPermissionManager
 
revokeAllForRole(String) - Method in interface com.bazaarvoice.emodb.auth.permissions.PermissionManager
Revokes all permissions for a role.
RolePermissionSet - Interface in com.bazaarvoice.emodb.auth.shiro
Interface for a set of role permissions.

S

SecurityManagerBuilder - Class in com.bazaarvoice.emodb.auth
Creates a SecurityManager which can be used for performing authentication and authorization.
SecurityManagerBuilder() - Constructor for class com.bazaarvoice.emodb.auth.SecurityManagerBuilder
 
setDescription(String) - Method in class com.bazaarvoice.emodb.auth.identity.AuthIdentity
 
setInternalAuthorizationCacheName(String) - Method in class com.bazaarvoice.emodb.auth.apikey.ApiKeyRealm
 
setIssued(Date) - Method in class com.bazaarvoice.emodb.auth.identity.AuthIdentity
 
setName(String) - Method in class com.bazaarvoice.emodb.auth.apikey.ApiKeyRealm
 
setOwner(String) - Method in class com.bazaarvoice.emodb.auth.identity.AuthIdentity
 
SimpleRolePermissionSet - Class in com.bazaarvoice.emodb.auth.shiro
Trivial implementation of RolePermissionSet using a Set.
SimpleRolePermissionSet(Set<Permission>) - Constructor for class com.bazaarvoice.emodb.auth.shiro.SimpleRolePermissionSet
 
Subject - Class in com.bazaarvoice.emodb.auth.jersey
Injectable for the authenticated subject.
Subject(SecurityManager, PrincipalCollection) - Constructor for class com.bazaarvoice.emodb.auth.jersey.Subject
 
supports(AuthenticationToken) - Method in class com.bazaarvoice.emodb.auth.apikey.ApiKeyRealm
Override the parent method to also accept anonymous tokens

T

toPart(List<MatchingPart>, String) - Method in class com.bazaarvoice.emodb.auth.permissions.MatchingPermission
Converts a String part into the corresponding MatchingPart.
toResponse(AuthenticationException) - Method in class com.bazaarvoice.emodb.auth.jersey.AuthenticationExceptionHandler
 
toResponse(AuthorizationException) - Method in class com.bazaarvoice.emodb.auth.jersey.AuthorizationExceptionHandler
 
toResponse(UnauthorizedException) - Method in class com.bazaarvoice.emodb.auth.jersey.UnauthorizedExceptionMapper
 
toString() - Method in class com.bazaarvoice.emodb.auth.apikey.ApiKeyAuthenticationInfo
 
toString() - Method in class com.bazaarvoice.emodb.auth.apikey.ApiKeyAuthenticationToken
 
toString() - Method in class com.bazaarvoice.emodb.auth.permissions.MatchingPermission
 
toString() - Method in class com.bazaarvoice.emodb.auth.shiro.PrincipalWithRoles
 
toUserIdentity() - Method in class com.bazaarvoice.emodb.auth.shiro.PrincipalWithRoles
Returns this instance as a Jetty UserIdentity.

U

UnauthorizedExceptionMapper - Class in com.bazaarvoice.emodb.auth.jersey
Exception mapper for UnauthorizedException when thrown directly by a resource.
UnauthorizedExceptionMapper() - Constructor for class com.bazaarvoice.emodb.auth.jersey.UnauthorizedExceptionMapper
 
unescapeSeparators(String) - Static method in class com.bazaarvoice.emodb.auth.permissions.MatchingPermission
Returns a string with the modifications made by MatchingPermission.escapeSeparators(String) reversed.
updateForRole(String, PermissionUpdateRequest) - Method in class com.bazaarvoice.emodb.auth.permissions.InMemoryPermissionManager
 
updateForRole(String, PermissionUpdateRequest) - Method in interface com.bazaarvoice.emodb.auth.permissions.PermissionManager
Updates the permissions for a role.
updateIdentity(T) - Method in interface com.bazaarvoice.emodb.auth.identity.AuthIdentityManager
Updates an identity, or creates one if no matching identity already exists.
updateIdentity(T) - Method in class com.bazaarvoice.emodb.auth.identity.InMemoryAuthIdentityManager
 

V

ValidatingCacheManager - Class in com.bazaarvoice.emodb.auth.shiro
Useful helper class when using invalidation caches.
ValidatingCacheManager(CacheManager) - Constructor for class com.bazaarvoice.emodb.auth.shiro.ValidatingCacheManager
 
ValidatingCacheManager.CacheValidator<CVK,CVV> - Class in com.bazaarvoice.emodb.auth.shiro
Base class for defining the validation for whether a cached value is current or stale.

W

withAnonymousAccessAs(String) - Method in class com.bazaarvoice.emodb.auth.SecurityManagerBuilder
If a request comes in with no authentication information at all (such as will no headers) then an ID can be associated with these requests to provide controlled access to anonymous requests.
withAuthIdentityManager(AuthIdentityManager<ApiKey>) - Method in class com.bazaarvoice.emodb.auth.SecurityManagerBuilder
 
withCacheManager(CacheManager) - Method in class com.bazaarvoice.emodb.auth.SecurityManagerBuilder
 
withPermissionManager(PermissionManager) - Method in class com.bazaarvoice.emodb.auth.SecurityManagerBuilder
 
withRealmName(String) - Method in class com.bazaarvoice.emodb.auth.SecurityManagerBuilder
 

_

_anonymousId - Variable in class com.bazaarvoice.emodb.auth.SecurityManagerBuilder
 
_authIdentityManager - Variable in class com.bazaarvoice.emodb.auth.SecurityManagerBuilder
 
_cacheManager - Variable in class com.bazaarvoice.emodb.auth.SecurityManagerBuilder
 
_permissionManager - Variable in class com.bazaarvoice.emodb.auth.SecurityManagerBuilder
 
_realmName - Variable in class com.bazaarvoice.emodb.auth.SecurityManagerBuilder
 
A B C D E F G H I J M N O P R S T U V W _ 
Skip navigation links

Copyright © 2016. All Rights Reserved.