Class UserDetailsServiceConfiguration
java.lang.Object
com.cumulocity.microservice.security.configuration.UserDetailsServiceConfiguration
@Lazy
@Configuration
@ConditionalOnBean(WebSecurityConfiguration.class)
public class UserDetailsServiceConfiguration
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionroleService
(com.cumulocity.sdk.client.user.UserApi userApi) securityExpressionService
(ApplicationApi applicationApi) org.springframework.security.core.userdetails.UserDetailsService
userDetailsService
(com.cumulocity.model.authentication.CumulocityCredentials userCredentials, RoleService roleService)
-
Constructor Details
-
UserDetailsServiceConfiguration
public UserDetailsServiceConfiguration()
-
-
Method Details
-
roleService
@Bean @ConditionalOnMissingBean public RoleService roleService(@Qualifier("userUserApi") com.cumulocity.sdk.client.user.UserApi userApi) -
userDetailsService
@Bean @ConditionalOnMissingBean public org.springframework.security.core.userdetails.UserDetailsService userDetailsService(@Qualifier("userCredentials") com.cumulocity.model.authentication.CumulocityCredentials userCredentials, RoleService roleService) -
securityExpressionService
@Bean @ConditionalOnMissingBean public SecurityExpressionService securityExpressionService(ApplicationApi applicationApi)
-