Hello!!! I hope you can guide me a little: I need to be able to step on and modify the: DelegatedClientAuthenticationHandler.java To be able to unauthorize a profile when I try to login with Google or Facebook. But I can't get it to compile. I mount it in my project in the path: /cas-overlay-template/src/main/java/org/apereo/cas/support/pac4j/authentication/handler/support/DelegatedClientAuthenticationHandler.java And I am attaching my pom.xml file, in case it can help.
I am using CAS Version: 6.2.1 and Pac4j Version 4.0.3 Here I leave the compilation errors even though I have the dependencies in my pom.xml [image: errors.PNG] -- - 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/b17d9e4d-dd58-4dc4-95ca-f629121070edn%40apereo.org.
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd "> <repositories> <repository> <id>sonatype-nexus-snapshots</id> <name>Sonatype Nexus Snapshots</name> <url>https://oss.sonatype.org/content/repositories/snapshots</url> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </repository> </repositories> <dependencies> <dependency> <groupId>org.apereo.cas</groupId> <artifactId>cas-server-webapp-tomcat</artifactId> <version>${cas.version}</version> <type>war</type> <scope>runtime</scope> </dependency> <dependency> <groupId>org.apereo.cas</groupId> <artifactId>cas-server-support-json-service-registry</artifactId> <version>${cas.version}</version> </dependency> <dependency> <groupId>org.apereo.cas</groupId> <artifactId>cas-server-support-pac4j-webflow</artifactId> <version>${cas.version}</version> </dependency> <dependency> <groupId>org.apereo.cas</groupId> <artifactId>cas-server-support-rest-authentication</artifactId> <version>${cas.version}</version> </dependency> <dependency> <groupId>com.github.scribejava</groupId> <artifactId>scribejava-apis</artifactId> <version>6.9.0</version> </dependency> <dependency> <groupId>org.pac4j</groupId> <artifactId>pac4j-core</artifactId> <version>${pac4j.version}</version> </dependency> <dependency> <groupId>org.pac4j</groupId> <artifactId>pac4j-oauth</artifactId> <version>${pac4j.version}</version> </dependency> <!-- <dependency> <groupId>org.springframework.webflow</groupId> <artifactId>spring-webflow</artifactId> <version>2.5.1.RELEASE</version> </dependency> <dependency> <groupId>org.apereo.cas</groupId> <artifactId>cas-server-support-captcha</artifactId> <version>${cas.version}</version> </dependency> --> <!-- https://mvnrepository.com/artifact/org.projectlombok/lombok --> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>1.18.10</version> <scope>provided</scope> </dependency> <!-- https://mvnrepository.com/artifact/org.apereo.cas/cas-server-core-tickets-api --> <dependency> <groupId>org.apereo.cas</groupId> <artifactId>cas-server-core-tickets-api</artifactId> <version>${cas.version}</version> <scope>runtime</scope> </dependency> <!-- https://mvnrepository.com/artifact/org.apereo.cas/cas-server-support-pac4j-core-clients --> <dependency> <groupId>org.apereo.cas</groupId> <artifactId>cas-server-support-pac4j-core-clients</artifactId> <version>${cas.version}</version> <scope>runtime</scope> </dependency> <!-- https://mvnrepository.com/artifact/org.apereo.cas/cas-server-core-web-api --> <dependency> <groupId>org.apereo.cas</groupId> <artifactId>cas-server-core-web-api</artifactId> <version>${cas.version}</version> <scope>runtime</scope> </dependency> <!-- https://mvnrepository.com/artifact/org.apereo.cas/cas-server-core-authentication-api --> <dependency> <groupId>org.apereo.cas</groupId> <artifactId>cas-server-core-authentication-api</artifactId> <version>${cas.version}</version> <scope>runtime</scope> </dependency> <!-- https://mvnrepository.com/artifact/org.apereo.cas/cas-server-core-util-api --> <dependency> <groupId>org.apereo.cas</groupId> <artifactId>cas-server-core-util-api</artifactId> <version>${cas.version}</version> <scope>runtime</scope> </dependency> <!-- https://mvnrepository.com/artifact/org.apereo.cas/cas-server-core-configuration-api --> <dependency> <groupId>org.apereo.cas</groupId> <artifactId>cas-server-core-configuration-api</artifactId> <version>${cas.version}</version> <scope>runtime</scope> </dependency> <!-- https://mvnrepository.com/artifact/org.apereo.cas/cas-server-support-pac4j-core --> <dependency> <groupId>org.apereo.cas</groupId> <artifactId>cas-server-support-pac4j-core</artifactId> <version>${cas.version}</version> <scope>runtime</scope> </dependency> <!-- https://mvnrepository.com/artifact/org.apereo.cas/cas-server-support-pac4j-api --> <dependency> <groupId>org.apereo.cas</groupId> <artifactId>cas-server-support-pac4j-api</artifactId> <version>${cas.version}</version> <scope>runtime</scope> </dependency> <!-- https://mvnrepository.com/artifact/org.apereo.cas/cas-server-support-pac4j-authentication --> <dependency> <groupId>org.apereo.cas</groupId> <artifactId>cas-server-support-pac4j-authentication</artifactId> <version>${cas.version}</version> <scope>runtime</scope> </dependency> <!-- https://mvnrepository.com/artifact/org.apereo.cas/cas-server-core-authentication --> <dependency> <groupId>org.apereo.cas</groupId> <artifactId>cas-server-core-authentication</artifactId> <version>${cas.version}</version> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <version>3.2.0</version> <configuration> <warName>cas</warName> <failOnMissingWebXml>false</failOnMissingWebXml> <recompressZippedFiles>false</recompressZippedFiles> <archive> <compress>false</compress> <manifestFile>${project.build.directory}/war/work/org.apereo.cas/cas-server-webapp-tomcat/META-INF/MANIFEST.MF</manifestFile> </archive> <overlays> <overlay> <groupId>org.apereo.cas</groupId> <artifactId>cas-server-webapp-tomcat</artifactId> <excludes> <exclude>WEB-INF/classes/services/*.json</exclude> </excludes> </overlay> </overlays> </configuration> </plugin> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <version>2.2.0.RELEASE</version> <configuration> <mainClass>org.apereo.cas.web.CasWebApplication</mainClass> <excludes> <exclude> <groupId>org.apereo.cas</groupId> <artifactId>cas-server-webapp-tomcat</artifactId> </exclude> </excludes> </configuration> <executions> <execution> <goals> <goal>repackage</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.8.0</version> <configuration> <release>${java.version}</release> </configuration> </plugin> </plugins> <finalName>cas</finalName> </build> <modelVersion>4.0.0</modelVersion> <groupId>com.elpais</groupId> <artifactId>cas</artifactId> <version>6.2.1</version> <packaging>war</packaging> <properties> <cas.version>6.2.1</cas.version> <pac4j.version>4.0.3</pac4j.version> <java.version>11</java.version> <springboot.version>2.2.2.RELEASE</springboot.version> <app.server>-tomcat</app.server> <mainClassName>org.springframework.boot.loader.WarLauncher</mainClassName> <isExecutable>false</isExecutable> <manifestFileToUse>${project.build.directory}/war/work/org.apereo.cas/cas-server-webapp${app.server}/META-INF/MANIFEST.MF</manifestFileToUse> <scribe.version>5.6.0</scribe.version> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> </project>
