LoginConfigStrategy example?

Phil Chapman phil.chapman at adept.co.uk
Wed May 26 16:03:59 UTC 2021


Thank you, Scott - this is working 😊

Phil.

-----Original Message-----
From: users <users-bounces at shibboleth.net> On Behalf Of Cantor, Scott
Sent: 24 May 2021 20:47
To: Shib Users <users at shibboleth.net>
Subject: Re: LoginConfigStrategy example?

The static setter and the Function signature are not the same signature, which I overlooked, and in fact is wrong in the documentation, I'll need to fix it.

The static setter takes Collection<Pair<String,Collection<Principal>>>

i.e. the pair's second values are just Principal collections/lists/whatever, not a Subject bean, precisely to make it less painful to wire it up.

e.g. (for one element as an example):

<util:list id="shibboleth.authn.JAAS.LoginConfigurations">
    <bean id="Login1" parent="shibboleth.Pair">
        <property name="first">	
            <value>ShibUserPassAuth1</value>
        </property>
        <property name="second">
            <util:list>
                <bean parent="shibboleth.SAML2AuthnContextClassRef"
                   c:classRef="urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport" />
                <bean parent="shibboleth.SAML2AuthnContextClassRef"
                   c:classRef="urn:oasis:names:tc:SAML:2.0:ac:classes:Password" />
           </util:list>
        </property>
    </bean>
</util:list>

-- Scott


-- 
For Consortium Member technical support, see https://wiki.shibboleth.net/confluence/x/coFAAg
To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net

Disclaimer

The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful.

This email has been scanned for viruses and malware, and may have been automatically archived by Mimecast Ltd, an innovator in Software as a Service (SaaS) for business. Providing a safer and more useful place for your human generated data. Specializing in; Security, archiving and compliance. To find out more visit the Mimecast website.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20210526/02849596/attachment.htm>


More information about the users mailing list