see
https://apereo.github.io/cas/5.2.x/installation/Configuration-Management-Extensions.html


2018-05-10 14:55 GMT-03:00 Christian Poirier <[email protected]>:

> Hi
>
> I am developing a new way to let our developer team authenticate with our
> production usernames but with a generic password in a development
> environment. This authentication handler will check if the IP address
> corresponds to those allowed from a property value and the service
> definition will authorize the use of this authentication handler.
>
> @Configuration("ldapAuthenticationConfiguration")
> @EnableConfigurationProperties(CasConfigurationProperties.class)
> @Slf4j
> public class LdapdevAuthenticationConfiguration extends
> LdapAuthenticationConfiguration {
>
> // Added properties
> }
>
>
>
> As I am a newbie on Java development with Spring, if I extends the
> LdapAuthenticationHandler to LdapdevAuthenticationHandler and use new
> properties implemented by extending also LdapAuthenticationConfiguration
> to LdapdevAuthenticationConfiguration. With the previous code what I have
> to do?
>
>    - Change the
>    @Configuration("ldapAuthenticationConfiguration")
>
>    by
>    @Configuration("ldapdevAuthenticationConfiguration")
>
>    - Add the ldapdev section in the configuration model or use the
>    current ldap section?
>
> Thanks in advance
>
>
> Christian Poirier
>
> --
> - 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/4357f1d8-56b1-40ad-b4f4-
> f0a5bac38eb1%40apereo.org
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/4357f1d8-56b1-40ad-b4f4-f0a5bac38eb1%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/CAMY5mif5Vk1tnnU6x8i_FMye4v-0ek8bwfb30jhVpFr14z-1HA%40mail.gmail.com.

Reply via email to