I am trying to upgrade CAS from 5 to 7. In the previous version of CAS, we 
have been customizing the Java classes by just adding the class with same 
name and custom logic in the default package. But for CAS 7, this approach 
is not working.

I tried the alternative approach of creating a custom class by extending 
the default class, this approach seems to be working to some extent but the 
custom class object of CustomUsernamePasswordCredential(which extends 
UsernamePasswordCredential class) that I passed to 
authenticateUsernamePasswordInternal() method is not being propagated 
successfully. This method is overridden and is accepting the custom class 
object but it is lost in between and the default class object is received 
at the SuccessfulHandlerMetaDataPopulator class instead of the custom one.

*Please suggest the simpler way of classes customization or the factor that 
I am missing.*

-- 
- Website: https://apereo.github.io/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 visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/67ac4bc7-9737-4989-bc14-b6293c5acaf9n%40apereo.org.

Reply via email to