serializing custom principals

Scott Koranda skoranda at gmail.com
Tue Oct 4 11:33:47 EDT 2016


Hi,

In the past for custom authentication flows I created the
class MyPrincipalSerializer by extending
AbstractPrincipalSerializer and then in

conf/authn/general-authn.xml 

I would add

<bean id="shibboleth.PrincipalSerializers" parent="shibboleth.DefaultPrincipalSerializers">
    <property name="sourceList">
        <list merge="true">
            <bean class="org.mla.cbox.shibboleth.idp.authn.impl.MyPrincipalSerializer" />
        </list>
    </property>
</bean>

In 3.2.1 I do not see the parent shibboleth.DefaultPrincipalSerializers.

How should I be creating my own serializer and then injecting it for use
with my custom flow for 3.2.1?

Thanks,

Scott K




More information about the dev mailing list