Skip to content
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
@spring-projects-issues

Description

@spring-projects-issues

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");
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: coreAn issue in spring-security-saml-corestatus: ideal-for-contributionAn issue that we are actively looking for help withtype: bugA general bugtype: jiraAn issue that was migrated from JIRA

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions