Hi

Forget 5.0.8 -> Take the latest 5.1.4

The only way I could swim through the bugs and lack of documentation was to
get the source code and just started debugging and overwriting their code
(overlay style)

Take a look to ...Configuration classes. For example
CasCoreAuthenticationHandlersConfiguration
CasCookieConfiguration
etc ...

After importing source, just hit Ctrl+N in Intellij and type Configuration
-> debug and investigate the classes and happy debugging ...

Honestly, going through the source with debugging was only way for me to
configure required components.

Br
Priit


On Mon, Sep 18, 2017 at 4:23 PM, Micas Camela <[email protected]>
wrote:

> 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.X509CertificateCredentialsToId
> entifierPrincipalResolver">
>                   <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 [email protected].
> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CABEArcuyEr8c1gVs6bmLNxSpK%2Btm94ijTSvE4juo5DAHQ%3D2Zgw%40mail.gmail.com.

Reply via email to