Marco,

Add to build.gradle:

compileOnly "org.apereo.cas:cas-server-core-authentication-api

Ray

On Thu, 2022-10-20 at 08:18 -0700, Marco Pagnanelli wrote:
Notice: This message was sent from outside the University of Victoria email 
system. Please be cautious with links and sensitive information.

Hi to all,

I need to create a Custom Authentication Handler to allow login with username, 
email or phone.
I tried to implement it but got an error on importing 
"AbstractUsernamePasswordAuthenticationHandler"

org.apereo.cas.authentication.handler.support.AbstractUsernamePasswordAuthenticationHandler;
"Cannot resolve symbol 'AbstractUsernamePasswordAuthenticationHandler'"

there appears to be a package name conflict with gradle dependency imported.

the import try to resolve
"cas-server-core-api-authentication" jar package
instead of
"cas-server-core-authentication.api" jar package

marco


-- 
- 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/5206346af14a4ef1a995c4dd6d5634e434da5d0c.camel%40uvic.ca.

Reply via email to