[cas-user] Re: Extends LdapAuthenticationHandler in cas 5.2

2018-01-16 Thread satnam
Thanks, In 4.2, we were overwriting preAuthenticate and postAuthenticate function to make our changes. what is the best way to do this in 5.2? attached is flow chart of what we are doing in 4.2 On Thursday, January 11, 2018 at 3:37:05 PM UTC-8, satnam wrote: > > Hello, > > We are trying

[cas-user] Re: Extends LdapAuthenticationHandler in cas 5.2

2018-01-12 Thread Abylay
> > Did you try to add the dependency with NotFound class? > 1. Find the class in your IDE. 2. Add the dependency in which this class is located. For AbstractUsernamePasswordAuthenticationHandler it would be org.apereo.cas cas-server-core-authentication ${cas.version} compile

[cas-user] Re: Extends LdapAuthenticationHandler in cas 5.2

2018-01-11 Thread Pablo Vidaurri
Are you trying to map/release attributes? If so try to define a mapping in your service config: "attributeReleasePolicy" : { "@class" : "org.apereo.cas.services.ReturnMappedAttributeReleasePolicy", "allowedAttributes" : { "@class" : "java.util.TreeMap", "mail" : "Email",