Priit, thanks for the tip.

Doug,

I already have SAML included in the overlay (pom.xml), and I am using 
samValidate (100% working).

1 - The point is that there are some classes from the package 
com.csw.impression.cas.* developed in the past (around 2010) by our 
consultant (CSW).

2 - From what I know, those classes are compatible with the packages 
org.jasig.cas.* and maybe not with org.apereo.cas.*

I don't see how can I to explicitily configure this like this 
cas.properties:

                   <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"/>





On Monday, September 18, 2017 at 4:54:24 PM UTC+2, Doug C wrote:
>
> Micas,
>
>  
>
> Check out what Dave Curry wrote at:
>
>  
>
>
> https://dacurry-tns.github.io/deploying-apereo-cas/building_server_ldap_resolution-release_overview.html
>
>  
>
> It gives one method on how to do what you want.
>
>  
>
>  
>
> *From:* cas-...@apereo.org <javascript:> [mailto:cas-...@apereo.org 
> <javascript:>] *On Behalf Of *Micas Camela
> *Sent:* Monday, September 18, 2017 9:24 PM
> *To:* CAS Community
> *Subject:* [cas-user] Migrating CAS 3.3.5 to 5.0.8 - Configurations
>
>  
>
> 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+u...@apereo.org <javascript:>.
> 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
>  
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/b668b6ea-be68-49b9-bb1c-1ec616f6ac35%40apereo.org?utm_medium=email&utm_source=footer>
> .
>

-- 
- 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/d1b109eb-1e5a-412b-afa5-c14c58682b69%40apereo.org.

Reply via email to