Index

A C E G H K L M O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values

A

AccessTokenHelper - Class in com.broadleafcommerce.oauth2.resource.security.test.it
Useful class for quickly obtaining an access token during integration testing with a live authorization server
AccessTokenHelper() - Constructor for class com.broadleafcommerce.oauth2.resource.security.test.it.AccessTokenHelper
 
AuthDetail - Annotation Interface in com.broadleafcommerce.oauth2.resource.security.test
 
authDetails() - Element in annotation interface com.broadleafcommerce.oauth2.resource.security.test.WithMockOAuth2
Additional auth details assigned to the token beyond any default values.
authDetailsForRestrictionsAndRestrictedAuthorities(List<VendorMockMvcOAuth2AuthenticationUtil.RestrictionTargetsWithType>, Map<String, List<VendorMockMvcOAuth2AuthenticationUtil.RestrictionTargetsWithType>>) - Method in class com.broadleafcommerce.oauth2.resource.security.test.marketplace.vendor.VendorMockMvcOAuth2AuthenticationUtil
 
authorities() - Element in annotation interface com.broadleafcommerce.oauth2.resource.security.test.WithMockOAuth2
Additional security authorities assigned to the token

C

canEqual(Object) - Method in class com.broadleafcommerce.oauth2.resource.security.test.marketplace.vendor.VendorMockMvcOAuth2AuthenticationUtil.RestrictionTargetsWithType
 
com.broadleafcommerce.oauth2.resource.security.test - package com.broadleafcommerce.oauth2.resource.security.test
 
com.broadleafcommerce.oauth2.resource.security.test.autoconfigure - package com.broadleafcommerce.oauth2.resource.security.test.autoconfigure
 
com.broadleafcommerce.oauth2.resource.security.test.it - package com.broadleafcommerce.oauth2.resource.security.test.it
 
com.broadleafcommerce.oauth2.resource.security.test.marketplace.vendor - package com.broadleafcommerce.oauth2.resource.security.test.marketplace.vendor
 
createAuthentication(Set<String>, Set<String>, String) - Method in class com.broadleafcommerce.oauth2.resource.security.test.WithMockOAuth2SecurityContextFactory
 
createAuthentication(Set<String>, Set<String>, String, Map<String, Object>) - Method in class com.broadleafcommerce.oauth2.resource.security.test.WithMockOAuth2SecurityContextFactory
 
createSecurityContext(WithMockOAuth2) - Method in class com.broadleafcommerce.oauth2.resource.security.test.WithMockOAuth2SecurityContextFactory
 

E

equals(Object) - Method in class com.broadleafcommerce.oauth2.resource.security.test.marketplace.vendor.VendorMockMvcOAuth2AuthenticationUtil.RestrictionTargetsWithType
 

G

getAccessToken(Cookies, String, String, String) - Method in class com.broadleafcommerce.oauth2.resource.security.test.it.AccessTokenHelper
 
getAuthCode(Cookies, String, String) - Method in class com.broadleafcommerce.oauth2.resource.security.test.it.AccessTokenHelper
 
getPreAuthenticatedResponse(String, String) - Method in class com.broadleafcommerce.oauth2.resource.security.test.it.AccessTokenHelper
 
getRestrictionTargets() - Method in class com.broadleafcommerce.oauth2.resource.security.test.marketplace.vendor.VendorMockMvcOAuth2AuthenticationUtil.RestrictionTargetsWithType
 
getRestrictionType() - Method in class com.broadleafcommerce.oauth2.resource.security.test.marketplace.vendor.VendorMockMvcOAuth2AuthenticationUtil.RestrictionTargetsWithType
 

H

hashCode() - Method in class com.broadleafcommerce.oauth2.resource.security.test.marketplace.vendor.VendorMockMvcOAuth2AuthenticationUtil.RestrictionTargetsWithType
 

K

key() - Element in annotation interface com.broadleafcommerce.oauth2.resource.security.test.AuthDetail
The auth detail key

L

login(String, String, String) - Method in class com.broadleafcommerce.oauth2.resource.security.test.it.AccessTokenHelper
 

M

main(String[]) - Static method in class com.broadleafcommerce.oauth2.resource.security.test.it.AccessTokenHelper
 
MOCK_TOKEN - Static variable in class com.broadleafcommerce.oauth2.resource.security.test.WithMockOAuth2SecurityContextFactory
 
MockMvcOAuth2AuthenticationUtil - Class in com.broadleafcommerce.oauth2.resource.security.test
A bean providing simple mocking of OAuth2 access tokens for security tests with MockMVC.
MockMvcOAuth2AuthenticationUtil() - Constructor for class com.broadleafcommerce.oauth2.resource.security.test.MockMvcOAuth2AuthenticationUtil
 
MockMvcOAuth2AuthenticationUtil.OAuth2PostProcessor - Class in com.broadleafcommerce.oauth2.resource.security.test
 
MockOauth2ResourceServerAutoConfiguration - Class in com.broadleafcommerce.oauth2.resource.security.test.autoconfigure
 
MockOauth2ResourceServerAutoConfiguration() - Constructor for class com.broadleafcommerce.oauth2.resource.security.test.autoconfigure.MockOauth2ResourceServerAutoConfiguration
 

O

OAuth2PostProcessor(String) - Constructor for class com.broadleafcommerce.oauth2.resource.security.test.MockMvcOAuth2AuthenticationUtil.OAuth2PostProcessor
 
onlyStoreRestricted(Set<String>, Set<String>, String) - Method in class com.broadleafcommerce.oauth2.resource.security.test.marketplace.vendor.VendorMockMvcOAuth2AuthenticationUtil
Represents an authentication that has a restriction targets only of type STORE, and restricted authorities for those stores.
onlyVendorRestricted(Set<String>, Set<String>, String) - Method in class com.broadleafcommerce.oauth2.resource.security.test.marketplace.vendor.VendorMockMvcOAuth2AuthenticationUtil
Represents an authentication that has restriction targets only of type VENDOR, and restricted authorities for those vendors.
onlyVendorRestricted(Set<String>, Set<String>, String, Set<String>) - Method in class com.broadleafcommerce.oauth2.resource.security.test.marketplace.vendor.VendorMockMvcOAuth2AuthenticationUtil
Represents an authentication that has restriction targets only of type VENDOR, and restricted authorities for those vendors.
onlyVendorRestricted(Set<String>, Set<String>, String, Set<String>, String) - Method in class com.broadleafcommerce.oauth2.resource.security.test.marketplace.vendor.VendorMockMvcOAuth2AuthenticationUtil
Represents an authentication that has restriction targets only of type VENDOR, and restricted authorities for those vendors.

P

postProcessRequest(MockHttpServletRequest) - Method in class com.broadleafcommerce.oauth2.resource.security.test.MockMvcOAuth2AuthenticationUtil.OAuth2PostProcessor
 
principal() - Element in annotation interface com.broadleafcommerce.oauth2.resource.security.test.WithMockOAuth2
The user principal.

R

RestrictionTargetsWithType() - Constructor for class com.broadleafcommerce.oauth2.resource.security.test.marketplace.vendor.VendorMockMvcOAuth2AuthenticationUtil.RestrictionTargetsWithType
 
RestrictionTargetsWithType(String, Set<String>) - Constructor for class com.broadleafcommerce.oauth2.resource.security.test.marketplace.vendor.VendorMockMvcOAuth2AuthenticationUtil.RestrictionTargetsWithType
 

S

scopes() - Element in annotation interface com.broadleafcommerce.oauth2.resource.security.test.WithMockOAuth2
The scopes that should be mocked on the authentication
setRestrictionTargets(Set<String>) - Method in class com.broadleafcommerce.oauth2.resource.security.test.marketplace.vendor.VendorMockMvcOAuth2AuthenticationUtil.RestrictionTargetsWithType
 
setRestrictionType(String) - Method in class com.broadleafcommerce.oauth2.resource.security.test.marketplace.vendor.VendorMockMvcOAuth2AuthenticationUtil.RestrictionTargetsWithType
 
storeType(String...) - Static method in class com.broadleafcommerce.oauth2.resource.security.test.marketplace.vendor.VendorMockMvcOAuth2AuthenticationUtil.RestrictionTargetsWithType
 
storeType(Collection<String>) - Static method in class com.broadleafcommerce.oauth2.resource.security.test.marketplace.vendor.VendorMockMvcOAuth2AuthenticationUtil.RestrictionTargetsWithType
 

T

tokenFor(String, String, String, String) - Method in class com.broadleafcommerce.oauth2.resource.security.test.it.AccessTokenHelper
 
toString() - Method in class com.broadleafcommerce.oauth2.resource.security.test.marketplace.vendor.VendorMockMvcOAuth2AuthenticationUtil.RestrictionTargetsWithType
 

U

unrestricted(Set<String>, String) - Method in class com.broadleafcommerce.oauth2.resource.security.test.marketplace.vendor.VendorMockMvcOAuth2AuthenticationUtil
Represents an authentication that has no restrictions.

V

value() - Element in annotation interface com.broadleafcommerce.oauth2.resource.security.test.AuthDetail
The auth detail value
value() - Element in annotation interface com.broadleafcommerce.oauth2.resource.security.test.WithMockOAuth2
VendorMockMvcOAuth2AuthenticationUtil - Class in com.broadleafcommerce.oauth2.resource.security.test.marketplace.vendor
An extension of MockMvcOAuth2AuthenticationUtil that can produce authentications with restrictions/restricted authorities matching the structure produced by the authentication service.
VendorMockMvcOAuth2AuthenticationUtil() - Constructor for class com.broadleafcommerce.oauth2.resource.security.test.marketplace.vendor.VendorMockMvcOAuth2AuthenticationUtil
 
VendorMockMvcOAuth2AuthenticationUtil.RestrictionTargetsWithType - Class in com.broadleafcommerce.oauth2.resource.security.test.marketplace.vendor
 
vendorType(String...) - Static method in class com.broadleafcommerce.oauth2.resource.security.test.marketplace.vendor.VendorMockMvcOAuth2AuthenticationUtil.RestrictionTargetsWithType
 
vendorType(Collection<String>) - Static method in class com.broadleafcommerce.oauth2.resource.security.test.marketplace.vendor.VendorMockMvcOAuth2AuthenticationUtil.RestrictionTargetsWithType
 

W

withAuthentication(Set<String>, Set<String>, Set<String>, String, Boolean, String, String) - Method in class com.broadleafcommerce.oauth2.resource.security.test.MockMvcOAuth2AuthenticationUtil
 
withAuthentication(Set<String>, Set<String>, Set<String>, String, Boolean, String, String, Map<String, Object>) - Method in class com.broadleafcommerce.oauth2.resource.security.test.MockMvcOAuth2AuthenticationUtil
 
withAuthorities(Set<String>) - Method in class com.broadleafcommerce.oauth2.resource.security.test.MockMvcOAuth2AuthenticationUtil
 
withAuthoritiesAndDetails(Set<String>, Map<String, Object>) - Method in class com.broadleafcommerce.oauth2.resource.security.test.MockMvcOAuth2AuthenticationUtil
 
withAuthoritiesAndTenant(Set<String>, String) - Method in class com.broadleafcommerce.oauth2.resource.security.test.MockMvcOAuth2AuthenticationUtil
 
withAuthoritiesAndTenant(Set<String>, Set<String>, Boolean, String) - Method in class com.broadleafcommerce.oauth2.resource.security.test.MockMvcOAuth2AuthenticationUtil
 
withAuthoritiesAndTenant(Set<String>, Set<String>, Boolean, String, String) - Method in class com.broadleafcommerce.oauth2.resource.security.test.MockMvcOAuth2AuthenticationUtil
 
withAuthoritiesAndTenant(Set<String>, Set<String>, String, Boolean, String) - Method in class com.broadleafcommerce.oauth2.resource.security.test.MockMvcOAuth2AuthenticationUtil
 
withAuthoritiesAndTenant(Set<String>, Set<String>, String, Boolean, String, String) - Method in class com.broadleafcommerce.oauth2.resource.security.test.MockMvcOAuth2AuthenticationUtil
 
WithMockOAuth2 - Annotation Interface in com.broadleafcommerce.oauth2.resource.security.test
Simulates OAuth2 scopes to help with endpoint testing with Spring Security.
WithMockOAuth2SecurityContextFactory - Class in com.broadleafcommerce.oauth2.resource.security.test
Sets up the Spring Security context based on the given scopes.
WithMockOAuth2SecurityContextFactory() - Constructor for class com.broadleafcommerce.oauth2.resource.security.test.WithMockOAuth2SecurityContextFactory
 
WithMockSandboxUser - Annotation Interface in com.broadleafcommerce.oauth2.resource.security.test
Simply mocks out a user with an `admin_user_id` claim to pass sandbox validation.
withRestrictionsAndRestrictedAuthorities(List<VendorMockMvcOAuth2AuthenticationUtil.RestrictionTargetsWithType>, Map<String, List<VendorMockMvcOAuth2AuthenticationUtil.RestrictionTargetsWithType>>, Set<String>, String, Boolean, String) - Method in class com.broadleafcommerce.oauth2.resource.security.test.marketplace.vendor.VendorMockMvcOAuth2AuthenticationUtil
 
withRestrictionsAndRestrictedAuthorities(List<VendorMockMvcOAuth2AuthenticationUtil.RestrictionTargetsWithType>, Map<String, List<VendorMockMvcOAuth2AuthenticationUtil.RestrictionTargetsWithType>>, Set<String>, Set<String>, String, Boolean, String) - Method in class com.broadleafcommerce.oauth2.resource.security.test.marketplace.vendor.VendorMockMvcOAuth2AuthenticationUtil
 
withScopes(Set<String>) - Method in class com.broadleafcommerce.oauth2.resource.security.test.MockMvcOAuth2AuthenticationUtil
 
A C E G H K L M O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values