Java 如何在Spring boot中设置WebsProfileConsumerImpl中的responseSkew属性值
我正在尝试将SAML OKTA集成到spring引导应用程序中。我需要在spring boot中使用以下bean设置: 有谁能帮我在Spring boot的WebsProfileConsumer bean中设置responseSkew属性吗?我只需要一种与我在上面基于注释的Spring boot injection中提到的xml配置等效的Spring injection技术 我已经浏览了以下链接: 这里提到了设置responseSkew,但没有提到如何在spring引导应用程序中的基于java的带注释配置中进行设置。Java 如何在Spring boot中设置WebsProfileConsumerImpl中的responseSkew属性值,java,spring-boot,spring-security,saml-2.0,okta,Java,Spring Boot,Spring Security,Saml 2.0,Okta,我正在尝试将SAML OKTA集成到spring引导应用程序中。我需要在spring boot中使用以下bean设置: 有谁能帮我在Spring boot的WebsProfileConsumer bean中设置responseSkew属性吗?我只需要一种与我在上面基于注释的Spring boot injection中提到的xml配置等效的Spring injection技术 我已经浏览了以下链接: 这里提到了设置responseSkew,但没有提到如何在spring引导应用程序中的基于jav
提前谢谢 如果您正在使用AbstractProfileBase的子类(例如WebsProfileConsumerImpl),您只需使用其setter即可: setResponseSkew(int responseSkew)
对于spring boot的xml配置,我不知道如何实现这一点,因为我从来都不习惯它。你知道这一点吗?