Modifier and Type | Method and Description |
---|---|
ContextHelperService |
OAuthClientAutoConfiguration.contextHelperService(AuthorizedClientService<AuthorizedClient> authorizedClientService,
AuthorizationServerService<AuthorizationServer> authorizationServerService) |
Modifier and Type | Field and Description |
---|---|
protected AuthorizedClientService<AuthorizedClient> |
DefaultContextHelperService.authorizedClientService |
Modifier and Type | Method and Description |
---|---|
protected AuthorizedClient |
DefaultContextHelperService.getAuthorizedClient(String clientId)
Finds the
AuthorizedClient corresponding to the given client ID |
Modifier and Type | Method and Description |
---|---|
protected AuthorizedClientService<AuthorizedClient> |
DefaultContextHelperService.getAuthorizedClientService() |
Constructor and Description |
---|
DefaultContextHelperService(AuthorizedClientService<AuthorizedClient> authorizedClientService,
AuthorizationServerService<AuthorizationServer> authorizationServerService) |
Constructor and Description |
---|
AuthorizedClientDataInitializer(com.broadleafcommerce.common.extension.TypeFactory typeFactory,
AuthorizedClientService<AuthorizedClient> authorizedClientService,
org.springframework.security.crypto.password.PasswordEncoder passwordEncoder,
AuthorizationDataInitializationProperties properties) |
Constructor and Description |
---|
AuthorizedClientConfiguration(AuthorizationServerDataInitializerAutoConfiguration.AuthorizationServerConfiguration authorizationServerConfiguration,
com.broadleafcommerce.common.extension.TypeFactory typeFactory,
AuthorizedClientService<AuthorizedClient> authorizedClientService,
org.springframework.security.crypto.password.PasswordEncoder passwordEncoder,
AuthorizationDataInitializationProperties properties) |
Modifier and Type | Method and Description |
---|---|
protected AuthorizedClientService<AuthorizedClient> |
UserEndpoint.getClientService() |
Constructor and Description |
---|
UserEndpoint(UserService<User> userSvc,
UserPasswordService<PasswordToken,User> userPasswordService,
AuthorizedClientService<AuthorizedClient> clientService) |
Modifier and Type | Method and Description |
---|---|
<D extends com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable & com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware> |
AuthorizedClientAutoConfiguration.authorizedClientService(AuthorizationServerService<AuthorizationServer> serverService,
AuthorizedClientRepository<D> repository,
SimplePayloadMapper simplePayloadMapper,
com.broadleafcommerce.data.tracking.core.mapping.validation.EntityValidatorManager validatorManager,
org.springframework.security.crypto.password.PasswordEncoder passwordEncoder,
TenantUrlResolver tenantUrlResolver) |
Modifier and Type | Method and Description |
---|---|
ClientRedirectService |
ClientRedirectAutoConfiguration.clientRedirectService(AuthorizedClientService<AuthorizedClient> clientService,
AuthorizationServerService<AuthorizationServer> serverService) |
Modifier and Type | Interface and Description |
---|---|
interface |
AuthorizedClientService<P extends AuthorizedClient>
Service interface for managing
AuthorizedClient . |
class |
DefaultAuthorizedClientService<P extends AuthorizedClient,D extends com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable & com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware> |
Modifier and Type | Method and Description |
---|---|
protected AuthorizedClientService<AuthorizedClient> |
DefaultClientRedirectService.getClientService() |
Modifier and Type | Method and Description |
---|---|
Optional<String> |
AuthorizedClientService.resolveAbsolutePathForUri(String uri,
AuthorizedClient client)
Resolves the absolute path for the string uri provided
|
Optional<String> |
DefaultAuthorizedClientService.resolveAbsolutePathForUri(String uri,
AuthorizedClient client) |
Optional<String> |
AuthorizedClientService.resolveAbsolutePathsForRelativeDefaultRedirectUri(AuthorizedClient client)
Resolves the absolute path for the default redirect uri on the provided
AuthorizedClient |
Optional<String> |
DefaultAuthorizedClientService.resolveAbsolutePathsForRelativeDefaultRedirectUri(AuthorizedClient client) |
Set<String> |
AuthorizedClientService.resolveAbsolutePathsForRelativeRedirectUris(AuthorizedClient client)
Resolves the absolute path for the redirect uris on the provided
AuthorizedClient |
Set<String> |
DefaultAuthorizedClientService.resolveAbsolutePathsForRelativeRedirectUris(AuthorizedClient client) |
Set<String> |
AuthorizedClientService.resolveAbsolutePathsForUris(Set<String> uris,
AuthorizedClient client)
Resolves the absolute path for the string uris provided
|
Set<String> |
DefaultAuthorizedClientService.resolveAbsolutePathsForUris(Set<String> uris,
AuthorizedClient client) |
protected Optional<org.springframework.web.util.UriComponentsBuilder> |
DefaultAuthorizedClientService.resolveBaseUri(AuthorizedClient client)
Determines the base URI of the application or admin the client is used for.
|
Constructor and Description |
---|
DefaultClientRedirectService(AuthorizedClientService<AuthorizedClient> clientService,
AuthorizationServerService<AuthorizationServer> serverService) |
Modifier and Type | Method and Description |
---|---|
AuthorizedClient |
AuthorizedClientEndpoint.createAuthorizedClient(String serverId,
AuthorizedClient authorizedClient) |
AuthorizedClient |
AuthorizedClientEndpoint.readAuthorizedClientById(String serverId,
String id) |
AuthorizedClient |
AuthorizedClientEndpoint.replaceAuthorizedClientById(String serverId,
String id,
AuthorizedClient authorizedClient) |
Modifier and Type | Method and Description |
---|---|
org.springframework.data.domain.Page<AuthorizedClient> |
AuthorizedClientEndpoint.readAllAuthorizedClients(String serverId,
org.springframework.data.domain.Pageable pageable) |
Modifier and Type | Method and Description |
---|---|
AuthorizedClient |
AuthorizedClientEndpoint.createAuthorizedClient(String serverId,
AuthorizedClient authorizedClient) |
AuthorizedClient |
AuthorizedClientEndpoint.replaceAuthorizedClientById(String serverId,
String id,
AuthorizedClient authorizedClient) |
Constructor and Description |
---|
ClientDiscoveryResponse(AuthorizedClient authorizedClient) |
Constructor and Description |
---|
AuthorizedClientEndpoint(AuthorizedClientService<AuthorizedClient> authorizedClientService,
AuthorizationServerService<AuthorizationServer> authorizationServerService) |
ClientDiscoveryEndpoint(AuthorizedClientService<AuthorizedClient> authorizedClientService) |
Modifier and Type | Method and Description |
---|---|
protected AuthorizedClientService<AuthorizedClient> |
DefaultAuthServerCreationHandler.getClientService() |
Constructor and Description |
---|
DefaultAuthServerCreationHandler(AuthorizationServerService<AuthorizationServer> serverService,
AuthorizedClientService<AuthorizedClient> clientService,
DefaultAuthServerProperties defaultAuthServerProperties,
com.broadleafcommerce.common.extension.TypeFactory typeFactory) |
Modifier and Type | Method and Description |
---|---|
ImpersonationRequestValidator |
ImpersonationConfiguration.impersonationRequestValidator(UserService<User> userService,
AuthorizedClientService<AuthorizedClient> authorizedClientService,
AuthorizationServerService<AuthorizationServer> authorizationServerService,
org.springframework.security.oauth2.provider.ClientDetailsService clientDetailsService,
org.springframework.security.oauth2.provider.endpoint.RedirectResolver redirectResolver) |
OAuth2UserDetailsService |
OAuth2UserDetailsAutoConfiguration.oAuth2UserDetailsService(UserService<User> userService,
AuthorizedClientService<AuthorizedClient> clientService,
PrivilegeService privilegeService) |
Constructor and Description |
---|
AuthorizationServerConfiguration(OAuth2SessionAuthenticationFilter sessionAuthenticationFilter,
OAuth2TokenEndpointAuthenticationFilter tokenEndpointAuthenticationFilter,
Optional<EmbeddedLoginTokenEndpointAuthenticationFilter> embeddedLoginTokenEndpointAuthenticationFilter,
AuthorizedClientService<AuthorizedClient> authorizedClientService,
SecurityService securityService,
org.springframework.security.oauth2.provider.token.store.JwtAccessTokenConverter tokenConverter,
List<org.springframework.security.oauth2.provider.token.TokenEnhancer> tokenEnhancers,
org.springframework.security.oauth2.provider.token.store.JwtTokenStore tokenStore,
org.springframework.security.oauth2.provider.endpoint.RedirectResolver redirectResolver,
TokenProperties properties,
org.springframework.security.oauth2.provider.ClientDetailsService clientDetailsService,
org.springframework.security.config.annotation.authentication.configuration.AuthenticationConfiguration authenticationConfiguration) |
AuthorizationServerWebSecurityConfiguration(org.springframework.security.web.savedrequest.RequestCache requestCache,
AuthorizationServerProperties authorizationServerProps,
StatelessUtil statelessUtil,
org.springframework.security.oauth2.provider.ClientDetailsService clientDetailsService,
AuthenticationLogoutHandler authenticationLogoutHandler,
org.springframework.security.oauth2.client.web.AuthorizationRequestRepository<org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest> authorizationRequestRepository,
org.springframework.security.authentication.AuthenticationDetailsSource<javax.servlet.http.HttpServletRequest,?> authenticationDetailsSource,
org.springframework.security.web.authentication.session.SessionAuthenticationStrategy sessionAuthenticationStrategy,
FormLoginAuthenticationProvider formLoginAuthenticationProvider,
OAuth2SessionAuthenticationProvider oAuth2SessionAuthenticationProvider,
VerifyRedirectCookieFilter verifyRedirectCookieFilter,
ClientIdFilter clientIdFilter,
UserLockoutService userLockoutService,
EmbeddedLoginProperties embeddedLoginProperties,
Optional<EmbeddedLoginAuthenticationProvider> embeddedLoginAuthenticationProvider,
Optional<EmbeddedLoginTokenAuthenticationProvider> embeddedLoginTokenAuthenticationProvider,
AuthorizationServerService<AuthorizationServer> authorizationServerService,
AuthorizedClientService<AuthorizedClient> authorizedClientService,
PasscodeService<PasswordToken,User> passcodeService,
UserService<User> userService) |
Modifier and Type | Method and Description |
---|---|
protected AuthorizedClient |
DefaultImpersonationRequestValidator.getCsrClient(String clientId) |
protected AuthorizedClient |
DefaultImpersonationRequestValidator.getImpersonatedClient(OAuth2UserDetails impersonatedUser) |
protected AuthorizedClient |
DefaultImpersonationRequestValidator.getImpersonatedClient(String clientId) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
DefaultImpersonationRequestValidator.isNotSameTenant(AuthorizedClient impersonatedClient,
AuthorizedClient csrClient) |
protected void |
DefaultImpersonationRequestValidator.validateClientImpersonation(ImpersonationRequest impersonationRequest,
AuthorizedClient impersonatedClient,
String csrUserId) |
Constructor and Description |
---|
DefaultImpersonationRequestValidator(UserService<User> userService,
AuthorizedClientService<AuthorizedClient> authorizedClientService,
AuthorizationServerService<AuthorizationServer> authorizationServerService,
org.springframework.security.oauth2.provider.ClientDetailsService clientDetailsService,
org.springframework.security.oauth2.provider.endpoint.RedirectResolver redirectResolver) |
Modifier and Type | Method and Description |
---|---|
protected AuthorizedClientService<AuthorizedClient> |
CustomerPersistenceHandler.getClientService() |
protected AuthorizedClientService<AuthorizedClient> |
AdminUserPersistenceHandler.getClientService() |
Constructor and Description |
---|
AdminUserPersistenceHandler(UserService<User> userService,
AuthorizedClientService<AuthorizedClient> clientService,
com.fasterxml.jackson.databind.ObjectMapper mapper,
com.broadleafcommerce.common.extension.TypeFactory typeFactory,
UserLockoutService userLockoutService) |
CustomerPersistenceHandler(UserService<User> userService,
AuthorizedClientService<AuthorizedClient> clientService,
ApplicationService<Application> applicationService,
UserCreationProducer userCreationProducer,
com.fasterxml.jackson.databind.ObjectMapper objectMapper,
UserLockoutService userLockoutService) |
Modifier and Type | Method and Description |
---|---|
AdminUserPersistenceHandler |
AuthDataUpdatePersistenceHandlerAutoConfiguration.adminUserPersistenceHandler(UserService<User> userService,
AuthorizedClientService<AuthorizedClient> clientService,
com.fasterxml.jackson.databind.ObjectMapper mapper,
com.broadleafcommerce.common.extension.TypeFactory typeFactory,
UserLockoutService userLockoutService) |
CustomerPersistenceHandler |
AuthDataUpdatePersistenceHandlerAutoConfiguration.customerPersistenceHandler(UserService<User> userService,
AuthorizedClientService<AuthorizedClient> clientService,
ApplicationService<Application> applicationService,
UserCreationProducer userCreationProducer,
com.fasterxml.jackson.databind.ObjectMapper objectMapper,
UserLockoutService userLockoutService) |
Modifier and Type | Method and Description |
---|---|
protected AuthorizedClient |
DefaultClientDetailsService.withResolvedRelativeRedirectUris(AuthorizedClient client)
If this client has any relative URLs in its
getRedirectUris() , this
method will get the base URL for the client's tenant or application. |
Modifier and Type | Method and Description |
---|---|
protected AuthorizedClientService<AuthorizedClient> |
DefaultUserLockoutService.getClientService() |
protected AuthorizedClientService<AuthorizedClient> |
DefaultUserMessagingService.getClientService() |
Modifier and Type | Method and Description |
---|---|
protected AuthorizedClient |
DefaultClientDetailsService.withResolvedRelativeRedirectUris(AuthorizedClient client)
If this client has any relative URLs in its
getRedirectUris() , this
method will get the base URL for the client's tenant or application. |
Constructor and Description |
---|
DefaultClientDetailsService(AuthorizedClientService<AuthorizedClient> authorizedClientService) |
DefaultOAuth2UserDetailsService(UserService<User> userService,
AuthorizedClientService<AuthorizedClient> clientService,
PrivilegeService privilegeService) |
DefaultUserLockoutService(UserService<User> userService,
UserLoginAttemptService<UserLoginAttempt> userLoginAttemptService,
AuthorizedClientService<AuthorizedClient> clientService,
AuthorizationServerService<AuthorizationServer> serverService,
UserLockoutProperties userLockoutProperties) |
DefaultUserMessagingService(AuthorizedClientService<AuthorizedClient> clientService,
AuthorizationServerService<AuthorizationServer> serverService,
com.broadleafcommerce.common.messaging.authentication.AuthenticationMessageProducer messageProducer,
com.broadleafcommerce.common.extension.TypeFactory typeFactory) |
DefaultUserService(AuthorizedClientService<AuthorizedClient> clientService,
UserRepository<D> userRepository,
SimplePayloadMapper mapper,
com.broadleafcommerce.data.tracking.core.mapping.validation.EntityValidatorManager validator,
UserUpdateProducer userUpdateProducer) |
Modifier and Type | Method and Description |
---|---|
UserRegistrationService<User> |
AuthServiceServiceAutoConfiguration.registrationService(UserService<User> userService,
AuthorizedClientService<AuthorizedClient> clientService,
AuthorizationServerService<AuthorizationServer> serverService,
org.springframework.security.crypto.password.PasswordEncoder passwordEncoder,
RegistrationValidator registrationValidator,
UserRegistrationProducer userRegistrationProducer,
AuthRegistrationProperties registrationProperties,
ApplicationService<Application> applicationService,
com.broadleafcommerce.common.extension.TypeFactory typeFactory) |
UserLockoutService |
AuthServiceServiceAutoConfiguration.userLockoutService(UserService<User> userService,
UserLoginAttemptService<UserLoginAttempt> loginAttemptService,
AuthorizedClientService<AuthorizedClient> clientService,
AuthorizationServerService<AuthorizationServer> serverService,
UserLockoutProperties userLockoutProperties) |
UserMessagingService<User> |
AuthServiceServiceAutoConfiguration.userMessagingService(AuthorizedClientService<AuthorizedClient> clientService,
AuthorizationServerService<AuthorizationServer> serverService,
com.broadleafcommerce.common.messaging.authentication.AuthenticationMessageProducer messageProducer,
com.broadleafcommerce.common.extension.TypeFactory typeFactory) |
<D extends com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware & com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable> |
AuthServiceServiceAutoConfiguration.userService(AuthorizedClientService<AuthorizedClient> clientService,
UserRepository<D> userRepository,
com.broadleafcommerce.data.tracking.core.mapping.validation.EntityValidatorManager validatorManager,
SimplePayloadMapper simplePayloadMapper,
UserUpdateProducer userUpdateProducer) |
Modifier and Type | Method and Description |
---|---|
protected AuthorizedClient |
DefaultUserRegistrationService.getAuthorizedClient(UserRegistration registration)
Finds the
AuthorizedClient corresponding to the
UserRegistration.getClientId() . |
Constructor and Description |
---|
DefaultUserRegistrationService(UserService<P> userService,
AuthorizedClientService<AuthorizedClient> clientService,
AuthorizationServerService<AuthorizationServer> authorizationServerService,
org.springframework.security.crypto.password.PasswordEncoder passwordEncoder,
RegistrationValidator registrationValidator,
UserRegistrationProducer userRegistrationProducer,
AuthRegistrationProperties registrationProperties,
ApplicationService<Application> applicationService,
com.broadleafcommerce.common.extension.TypeFactory typeFactory) |
Modifier and Type | Method and Description |
---|---|
protected AuthorizedClient |
StatelessUtilImpl.findClient(String clientId) |
Modifier and Type | Method and Description |
---|---|
protected AuthorizationServer |
StatelessUtilImpl.findServer(AuthorizedClient client) |
String |
StatelessUtilImpl.getSessionCookieName(AuthorizedClient client,
AuthorizationServer server) |
String |
StatelessUtil.getSessionCookieName(AuthorizedClient client,
AuthorizationServer server) |
Constructor and Description |
---|
StatelessUtilImpl(AuthorizedClientService<AuthorizedClient> clientService,
AuthorizationServerService<AuthorizationServer> serverService,
String encodedPrivateKey,
String encodedPublicKey,
String issuer) |
Modifier and Type | Method and Description |
---|---|
protected AuthorizedClientService<AuthorizedClient> |
EmbeddedLoginAuthenticationFilter.getAuthorizedClientService() |
Constructor and Description |
---|
EmbeddedLoginAuthenticationFilter(org.springframework.security.authentication.AuthenticationManager authenticationManager,
org.springframework.security.web.authentication.AuthenticationSuccessHandler successHandler,
org.springframework.security.web.authentication.AuthenticationFailureHandler failureHandler,
org.springframework.security.web.authentication.session.SessionAuthenticationStrategy sessionAuthenticationStrategy,
StatelessUtil util,
UserLockoutService userLockoutService,
AuthorizationServerService<AuthorizationServer> authorizationServerService,
AuthorizedClientService<AuthorizedClient> authorizedClientService) |
Modifier and Type | Method and Description |
---|---|
protected AuthorizedClientService<AuthorizedClient> |
ClientRestrictionTokenEnhancer.getAuthorizedClientService() |
Constructor and Description |
---|
ClientRestrictionTokenEnhancer(AuthorizationServerService<AuthorizationServer> authorizationServerService,
AuthorizedClientService<AuthorizedClient> authorizedClientService,
PermissionRepository permissionRepository) |
Modifier and Type | Method and Description |
---|---|
ClientRestrictionTokenEnhancer |
TokenEnhancerAutoConfiguration.clientRestrictionTokenEnhancer(AuthorizationServerService<AuthorizationServer> authorizationServerService,
AuthorizedClientService<AuthorizedClient> authorizedClientService,
PermissionRepository permissionRepository) |
Modifier and Type | Method and Description |
---|---|
protected AuthorizedClient |
AbstractAuthenticationStrategyDelegate.getAuthorizedClient(String clientId)
Fetches an
AuthorizedClient for the given clientId . |
Modifier and Type | Method and Description |
---|---|
protected AuthorizedClientService<AuthorizedClient> |
AbstractAuthenticationStrategyDelegate.getClientService() |
Constructor and Description |
---|
AbstractAuthenticationStrategyDelegate(OAuth2UserDetailsService oAuth2UserDetailsService,
UserRegistrationService<User> registrationService,
AuthRegistrationProperties registrationProperties,
AuthorizedClientService<AuthorizedClient> clientService,
ClientIdentityProviderProperties clientProperties,
com.broadleafcommerce.common.extension.TypeFactory typeFactory,
PasscodeService<PasswordToken,User> passcodeService) |
Modifier and Type | Method and Description |
---|---|
OAuth2ClientTemplateResolver |
AuthServiceTemplateAutoConfiguration.broadleafTemplateResolver(org.springframework.boot.autoconfigure.thymeleaf.ThymeleafProperties properties,
AuthorizedClientService<AuthorizedClient> clientService,
AuthorizationServerService<AuthorizationServer> serverService) |
OAuth2ClientTemplateResolver |
AuthServiceTemplateAutoConfiguration.oAuth2DefaultTemplateResolver(org.springframework.boot.autoconfigure.thymeleaf.ThymeleafProperties properties,
AuthorizedClientService<AuthorizedClient> clientService,
AuthorizationServerService<AuthorizationServer> serverService) |
Modifier and Type | Method and Description |
---|---|
protected AuthorizedClientService<AuthorizedClient> |
EmbeddedAuthenticationController.getAuthorizedClientService() |
protected AuthorizedClientService<AuthorizedClient> |
AuthenticationController.getClientService() |
protected AuthorizedClientService<AuthorizedClient> |
RegistrationFormController.getClientService() |
Modifier and Type | Method and Description |
---|---|
protected AuthorizedClientService<AuthorizedClient> |
OAuth2ClientTemplateResolver.getClientService() |
Constructor and Description |
---|
OAuth2ClientTemplateResolver(AuthorizedClientService<AuthorizedClient> clientService,
AuthorizationServerService<AuthorizationServer> serverService) |
Copyright © 2021. All rights reserved.