Package io.jmix.autoconfigure.oidc
Class OidcAutoConfiguration
java.lang.Object
io.jmix.autoconfigure.oidc.OidcAutoConfiguration
@AutoConfiguration
@Import(OidcConfiguration.class)
@ConditionalOnProperty(name="jmix.oidc.use-default-configuration",
matchIfMissing=true)
public class OidcAutoConfiguration
extends Object
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Configures UI endpoint protectionstatic class
Configures API endpoints (REST, GraphQL, etc.) protection. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclaimsRoleMapper
(ResourceRoleRepository resourceRoleRepository, RowLevelRoleRepository rowLevelRoleRepository, OidcProperties oidcProperties, RoleGrantedAuthorityUtils roleGrantedAuthorityUtils) oidcUserService
(OidcUserMapper oidcUserMapper) userMapper
(ClaimsRolesMapper claimsRolesMapper)
-
Constructor Details
-
OidcAutoConfiguration
public OidcAutoConfiguration()
-
-
Method Details
-
oidcUserService
@Bean @ConditionalOnMissingBean(JmixOidcUserService.class) public JmixOidcUserService oidcUserService(OidcUserMapper oidcUserMapper) -
claimsRoleMapper
@Bean @ConditionalOnMissingBean(ClaimsRolesMapper.class) @ConditionalOnBean(ResourceRoleRepository.class) public ClaimsRolesMapper claimsRoleMapper(ResourceRoleRepository resourceRoleRepository, RowLevelRoleRepository rowLevelRoleRepository, OidcProperties oidcProperties, RoleGrantedAuthorityUtils roleGrantedAuthorityUtils) -
userMapper
@Bean @ConditionalOnMissingBean(OidcUserMapper.class) public OidcUserMapper userMapper(ClaimsRolesMapper claimsRolesMapper)
-