Tag: active directory

使用Docker容器时IIS上应用程序池的标识

当我们使用gMSA账户时,应用程序池的身份是否重要? 我知道默认情况下它被设置为“networking服务”或“本地系统”。 如果应用程序池的标识是上述以外的帐户,那么容器是否仍在使用gMSA帐户?

如何在Spring引导应用程序中使用Active Directory docker映像进行授权

这是我第一次与Docker和AD合作。 我正在实现一个使用Active Directory进行授权的Spring启动应用程序。 我已经通过LDAP教程https://spring.io/guides/gs/authenticating-ldap/ 我已经下载了Active Directory的docker镜像。 https://hub.docker.com/r/pitkley/samba-ad-dc/#environment-variables 现在我想在我的本地机器上使用这个docker图像进行授权。 Docker镜像正在运行, $ docker run -i -t 041144877f9f /bin/bash root@3c01c419c248:/# 如何在春季启动应用程序中使用此映像进行授权? 我应该期待从这个docker形象? 我使用mac,java,spring boot。 以下是我的代码, @Configuration public class WebSecurityConfig extends WebSecurityConfigurerAdapter { @Override protected void configure(HttpSecurity http) throws Exception { http .authorizeRequests() .anyRequest() .fullyAuthenticated() .and() .formLogin(); } @Override public void configure(AuthenticationManagerBuilder auth) throws Exception { auth .ldapAuthentication() .userDnPatterns("uid={0},ou=people") […]