This repository was archived by the owner on Nov 29, 2022. It is now read-only.
This repository was archived by the owner on Nov 29, 2022. It is now read-only.
SES-169: hokConsumer should not be required in SAMLAuthenticationProvider #142
Open
Description
Jakub Jirutka (Migrated from SES-169) said:
Holder-of-Key is not necessary for WebSSO, so it shouldn’t be a required dependency in SAMLAuthenticationProvider.
@Autowired
@Qualifier("hokWebSSOprofileConsumer")
public void setHokConsumer(WebSSOProfileConsumer hokConsumer) {
this.hokConsumer = hokConsumer;
}
public void afterPropertiesSet() throws ServletException {
Assert.notNull(consumer, "WebSSO Profile Consumer can't be null");
Assert.notNull(hokConsumer, "WebSSO Profile HoK Consumer can't be null");
Assert.notNull(samlLogger, "SAMLLogger can't be null");
}