Tag: wild

弹簧安全Wild / Undertow:执行filter链时出错

我正在努力将Spring Security SAML扩展与Spring Boot集成。 我开发了一个完整的示例应用程序,所有的源代码都在GitHub上发布: spring-boot-saml-integration在GitHub上 通过运行WebApp作为Spring Boot应用程序(通过Spring工具集,使用embedded式应用程序服务器),它工作正常。 不幸的是,auth过程在Undertow / WildFly上不起作用 (我必须将它用作生产AS)。 通过日志logging,我可以看到IdP执行AuthN进程,并且我的自定义UserDetails实现的指令正确执行。 尽pipeSpring没有为当前用户设置权限。 @Component public class SAMLUserDetailsServiceImpl implements SAMLUserDetailsService { // Logger private static final Logger LOG = LoggerFactory.getLogger(SAMLUserDetailsServiceImpl.class); @Override public Object loadUserBySAML(SAMLCredential credential) throws UsernameNotFoundException, SSOUserAccountNotExistsException { String userID = credential.getNameID().getValue(); if (userID.compareTo("jdoe@samplemail.com") != 0) { // We're simulating the data access. LOG.warn("SSO […]