Rana,
Look in the build file for the class you are copying,
https://github.com/apereo/cas/blob/5.3.x/support/cas-server-support-ldap/build.gradle
You might find it easier to build up your custom class instead of copying an
existing class and removing the items you do not want. And if you find that you
need a lot of what is provided in an existing class, extend that class and
override only the parts you need to.
Ray
On Fri, 2019-05-24 at 04:59 -0700, Rana Prathap B wrote:
Hi All,
I have a requirement to process the auth response before I give it to client.
i.e Post to successful authentication I would like to make a REST call to
validate the user against 3rd party and return the AuthResposne.
As part of this I have written a new CustomAuthHandlerConfig.java which is as
similar as LdapAuthenticationConfiguration in CAS.
Getting below errors during cas-overlay build.
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR]
/home/username/cas-workspace/cas-overlay-template/src/main/java/com/pramati/cas/config/CustomAuthHandlerConfig.java:[22,45]
package org.apereo.cas.authentication.support does not exist
[ERROR]
/home/username/cas-workspace/cas-overlay-template/src/main/java/com/pramati/cas/config/CustomAuthHandlerConfig.java:[23,45]
package org.apereo.cas.authentication.support does not exist
[ERROR]
/home/username/cas-workspace/cas-overlay-template/src/main/java/com/pramati/cas/config/CustomAuthHandlerConfig.java:[24,45]
package org.apereo.cas.authentication.support does not exist
[ERROR]
/home/username/cas-workspace/cas-overlay-template/src/main/java/com/pramati/cas/config/CustomAuthHandlerConfig.java:[33,27]
package org.apereo.cas.util does not exist
[ERROR]
/home/username/cas-workspace/cas-overlay-template/src/main/java/com/pramati/cas/config/CustomAuthHandlerConfig.java:[34,27]
package org.apereo.cas.util does not exist
Added Dependency as:
<dependency>
<groupId>org.apereo.cas</groupId>
<artifactId>cas-server-core-authentication-api</artifactId>
<version>${cas.version}</version>
</dependency>
Attached related files for the same.
--
Ray Bon
Programmer Analyst
Development Services, University Systems
2507218831 | CLE 019 | [email protected]
--
- 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/ca06540341d12a3f4412a034fc93c2a6956c357c.camel%40uvic.ca.