Hi there!

I am trying to migrate from 3.3.5 to 5.0.8.

In 3.3.5 the deployerConfig.xml file contains this type of configuration:

<bean id="authenticationManager" 
class="org.jasig.cas.authentication.AuthenticationManagerImpl">
        <property name="credentialsToPrincipalResolvers">
            <list>
                <bean 
class="com.csw.impression.cas.authentication.principal.AS400CredentialsToPrincipalResolver">
                    <property name="attributeRepository">
                        <ref bean="attributeRepository" />
                    </property>
                    <property name="as400UsernameKey" 
value="AS400Utilizador"/>
                    <property name="as400UsernameLockAttributeName" 
value="AS400UtilizadorLock"/>
                </bean>
                <bean 
class="org.jasig.cas.authentication.principal.HttpBasedServiceCredentialsToPrincipalResolver"
 
/>
                <bean 
class="com.csw.impression.cas.authentication.principal.X509CertificateCredentialsToIdentifierPrincipalResolver">
                  <property name="attributeRepository">
                    <ref bean="attributeRepository" />
                  </property>
                </bean>
            </list>
        </property>
        <property name="authenticationHandlers">
            <list>
                <bean 
class="org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler"
                    p:httpClient-ref="httpClient" />
                <bean 
class="org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler">
                       <property name="filter" value="sAMAccountName=%u" />
                       <property name="searchBase" 
value="DC=mozal,DC=local" />
                       <property name="contextSource" ref="contextSource" />
                       <property name="ignorePartialResultException" 
value="true" />
                       <property name="scope" value="2" />
                       <property name="searchContextSource" 
ref="contextSource"/>
                </bean>
                <bean
                    
class="org.jasig.cas.adaptors.x509.authentication.handler.support.X509CredentialsAuthenticationHandler">
                     <property name="trustedIssuerDnPattern" value="CN=.+" 
/>
                  <property name="maxPathLengthAllowUnspecified" 
value="true" />
                </bean>
            </list>
        </property>
</bean>


>From what I read, in 5.0.8 everything is done in cas.properties file.

How can I put that kind of configurations in the 5.0.8 file structure?

Thanks in advance

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/b668b6ea-be68-49b9-bb1c-1ec616f6ac35%40apereo.org.

Reply via email to