Unicon / cas-addons

Open source CAS customizations, extensions, and configuration aids.
http://unicon.github.io/cas-addons/
Apache License 2.0
54 stars 26 forks source link

Implement custom XML element support for AcceptUsersAuthenticationHandler #25

Closed dima767 closed 11 years ago

dima767 commented 11 years ago

So this definition:

<bean id="authnHandler" class="org.jasig.cas.adaptors.generic.AcceptUsersAuthenticationHandler">
                    <property name="users">
                        <map>
                            <entry key="user1" value="pass1"/>
                           <entry key="user2" value="pass2"/>
                        </map>
                    </property>
 </bean>

becomes this:

<cas:accept-users-authentication-handler id="authnHandler">
    <cas:user name="user1" password="pass1"/>
    <cas:user name="user2" password="pass2"/>
</cas:accept-users-authentication-handler>
dima767 commented 11 years ago

Done: 8865095df9963a23feec794da3b81ab67e96aa6b