Re: [cas-user] cas 5.2.2 + SPNEGO + Maven overlay

59 views
Skip to first unread message

Man H

unread,
Feb 2, 2018, 4:41:37 PM2/2/18
to cas-...@apereo.org

try
  <dependency>
                <groupId>org.jasig.cas</groupId>
                <artifactId>cas-server-support-ldap</artifactId>
                <version>${cas.version}</version>
        </dependency>


2018-02-01 16:08 GMT-03:00 Mozart Hasse <moz...@ausland.com.br>:
Hi,

I'm trying to configure a CAS server on a Ubuntu server. I'm trying to authenticate users using Active Directory

I downloaded the cas overlay from
https://github.com/apereo/cas-overlay-template

It builds OK when I use
sudo ./build.sh run

But I want it to talk to my AD server, so I suppose SPNEGO modules are needed for this. I added in my pom.xml this dependencies:
        <dependency>
            <groupId>org.apereo.cas</groupId>
            <artifactId>cas-server-support-spnego</artifactId>
            <version>${cas.version}</version>
            <scope>runtime</scope>
        </dependency>
        <dependency>
            <groupId>org.apereo.cas</groupId>
            <artifactId>cas-server-support-spnego-webflow</artifactId>
            <version>${cas.version}</version>
            <scope>runtime</scope>
        </dependency>

When I build again, it gives me this:

Downloading from jitpack: https://jitpack.io/com/nimbusds/lang-tag/maven-metadata.xml
[WARNING] Could not transfer metadata com.nimbusds:lang-tag/maven-metadata.xml from/to jitpack (https://jitpack.io): Access denied to: https://jitpack.io/com/nimbusds/lang-tag/maven-metadata.xml , ReasonPhrase:Forbidden.
Downloading from jitpack: https://jitpack.io/org/samba/jcifs/jcifs-ext/0.9.4/jcifs-ext-0.9.4.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.912 s (Wall Clock)
[INFO] Finished at: 2018-02-01T17:06:32-02:00
[INFO] Final Memory: 28M/277M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project cas-overlay: Could not resolve dependencies for project org.apereo.cas:cas-overlay:war:1.0: Failed to collect dependencies at org.apereo.cas:cas-server-support-spnego:jar:5.2.2 -> org.samba.jcifs:jcifs-ext:jar:0.9.4: Failed to read artifact descriptor for org.samba.jcifs:jcifs-ext:jar:0.9.4: Could not transfer artifact org.samba.jcifs:jcifs-ext:pom:0.9.4 from/to jitpack (https://jitpack.io): Access denied to: https://jitpack.io/org/samba/jcifs/jcifs-ext/0.9.4/jcifs-ext-0.9.4.pom , ReasonPhrase:Forbidden. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

I found something telling this version is broken and obsolete, however I have no idea what to use instead and where to put it in my pom.xml file.
I'm completely clueless about what to do...
Any ideas?

--
- 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 cas-user+unsubscribe@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/89fa50c6-d0d4-49b0-bbfb-e723088e1f0e%40apereo.org.

Reply all
Reply to author
Forward
0 new messages