David,
These are my my pom.xml dependencies.
Its funny we are all kind of guessing , that's why we are here I suppose.
I certainly am guessing.
<dependencies>
<dependency>
<groupId>org.apereo.cas</groupId>
<artifactId>cas-server-support-ldap</artifactId>
</dependency>
<dependency>
<groupId>org.apereo.cas</groupId>
<artifactId>cas-server-webapp${app.server}</artifactId>
<version>${cas.version}</version>
<type>war</type>
<scope>runtime</scope>
</dependency>
</dependencies>
===========================
Thank You;
Chris Cheltenham
Technology Services
The School District of Philadelphia
Work # 215-400-5025
Cell # 215-301-6571
From: "David Curry" <[email protected]>
To: "cas-user" <[email protected]>
Sent: Thursday, February 8, 2018 10:18:41 AM
Subject: Re: [cas-user] CAS 5.2.x
I do not see this one:
cas-server-support-ldap-5.2.2.jar
which, I believe, is the one you need. I don't pretend to be an expert on these
things. But when I build from the Maven overlay with this dependency included
in pom.xml :
<dependency>
<groupId>org.apereo.cas</groupId>
<artifactId>cas-server-support-ldap</artifactId>
<version>${cas.version}</version>
</dependency>
Here's what I get:
BQ_BEGIN
WEB-INF/lib/cas-server-support-ldap-5.2.2.jar
WEB-INF/lib/cas-server-support-ldap-core-5.2.2.jar
WEB-INF/lib/ldaptive-1.2.3.jar
WEB-INF/lib/ldaptive-beans-1.2.3.jar
WEB-INF/lib/ldaptive-unboundid-1.2.3.jar
WEB-INF/lib/unboundid-ldapsdk-4.0.1.jar
WEB-INF/lib/ldaptive-apache-1.2.3.jar
WEB-INF/lib/unboundid-ldapsdk-3.2.1.jar
BQ_END
and when I build from the same pom.xml but with that dependency removed, here's
what I get:
BQ_BEGIN
WEB-INF/lib/cas-server-support-ldap-core-5.2.2.jar
WEB-INF/lib/ldaptive-apache-1.2.3.jar
WEB-INF/lib/ldaptive-beans-1.2.3.jar
WEB-INF/lib/ldaptive-unboundid-1.2.3.jar
WEB-INF/lib/ldaptive-1.2.3.jar
WEB-INF/lib/unboundid-ldapsdk-3.2.1.jar
BQ_END
So that tells me (or suggests, anyway) that you should be seeing
WEB-INF/lib/cas-server-support-ldap-5.2.2.jar
(and maybe WEB-INF/lib/unboundid-ldapsdk-4.0.1.jar ).
Are you building with the Maven overlay? Have you tried deleting your Maven
cache directory and re-doing the " mvnw clean package "?
--Dave
--
DAVID A. CURRY, CISSP
DIRECTOR OF INFORMATION SECURITY
INFORMATION TECHNOLOGY
71 FIFTH AVE., 9TH FL., NEW YORK, NY 10003
+1 212 229-5300 x4728 • [email protected]
On Thu, Feb 8, 2018 at 10:00 AM, Cheltenham, Chris <
[email protected] > wrote:
BQ_BEGIN
David,
I have the following jars.
Is this sufficient for ldap support?
[root@devcas5 lib]# pwd
/opt/tcat/webapps/cas/WEB-INF/lib
[root@devcas5 lib]# ll | grep ldap
-rw-r----- 1 root root 35536 Jan 26 13:26
cas-server-support-ldap-core-5.2.2.jar
-rw-r----- 1 root root 802456 Nov 27 11:40 ldaptive-1.2.3.jar
-rw-r----- 1 root root 37195 Nov 27 11:40 ldaptive-apache-1.2.3.jar
-rw-r----- 1 root root 100050 Nov 27 11:40 ldaptive-beans-1.2.3.jar
-rw-r----- 1 root root 40832 Nov 27 11:40 ldaptive-unboundid-1.2.3.jar
-rw-r----- 1 root root 1991909 Aug 13 01:08 unboundid-ldapsdk-3.2.1.jar
[root@devcas5 lib]#
My error is this -
2018-02-07 15:28:16,450 DEBUG
[org.apereo.cas.authentication.handler.support.AbstractUsernamePasswordAuthenticationHandler]
- <Examining credential [ccheltenham-ext] eligibility for authentication
handler [AcceptUsersAuthenticationHandler]>
2018-02-07 15:28:16,450 DEBUG
[org.apereo.cas.authentication.handler.support.AbstractUsernamePasswordAuthenticationHandler]
- <Credential [ccheltenham-ext] eligibility is
[AcceptUsersAuthenticationHandler] for authentication handler [true]>
2018-02-07 15:28:16,451 DEBUG
[org.apereo.cas.authentication.handler.support.AbstractUsernamePasswordAuthenticationHandler]
- <Attempting to encode credential password via
[org.springframework.security.crypto.password.NoOpPasswordEncoder] for
ccheltenham-ext]>
2018-02-07 15:28:16,451 DEBUG
[org.apereo.cas.authentication.handler.support.AbstractUsernamePasswordAuthenticationHandler]
- <Attempting authentication internally for transformed credential
[ccheltenham-ext]>
2018-02-07 15:28:16,451 DEBUG
[org.apereo.cas.authentication.AcceptUsersAuthenticationHandler] -
<[ccheltenham-ext] was not found in the map.>
2018-02-07 15:28:16,452 DEBUG
[org.apereo.cas.authentication.PolicyBasedAuthenticationManager] -
<[AcceptUsersAuthenticationHandler] exception details: [ccheltenham-ext not
found in backing map.].>
2018-02-07 15:28:16,452 ERROR
[org.apereo.cas.authentication.PolicyBasedAuthenticationManager] -
<Authentication has failed. Credentials may be incorrect or CAS cannot find
authentication handler that supports [ccheltenham-ext] of type
[UsernamePasswordCredential].>
===========================
Thank You;
Chris Cheltenham
Technology Services
The School District of Philadelphia
Work # 215-400-5025
Cell # 215-301-6571
From: "David Curry" < [email protected] >
To: "cas-user" < [email protected] >
Sent: Thursday, February 8, 2018 7:54:21 AM
Subject: Re: [cas-user] CAS 5.2.x
$ jar tvf cas.war | grep ldap
WEB-INF/lib/cas-server-support-ldap-5.2.2.jar
WEB-INF/lib/cas-server-support-ldap-core-5.2.2.jar
WEB-INF/lib/ldaptive-1.2.3.jar
WEB-INF/lib/ldaptive-beans-1.2.3.jar
WEB-INF/lib/ldaptive-unboundid-1.2.3.jar
WEB-INF/lib/unboundid-ldapsdk-4.0.1.jar
WEB-INF/lib/ldaptive-apache-1.2.3.jar
WEB-INF/lib/unboundid-ldapsdk-3.2.1.jar
$
The cas-server-support-ldap-5.2.2.jar is the one you're looking for.
--Dave
--
DAVID A. CURRY, CISSP
DIRECTOR OF INFORMATION SECURITY
INFORMATION TECHNOLOGY
71 FIFTH AVE., 9TH FL., NEW YORK, NY 10003
+1 212 229-5300 x4728 • [email protected]
On Thu, Feb 8, 2018 at 7:27 AM, Cheltenham, Chris < [email protected]
> wrote:
BQ_BEGIN
Hello folks,
I think I have been confusing everyone with too much incongruent information.
If I may I will ask things in a more logical manner.
I an still not able to connect with CAS 5 via LDAP.
My first question is , how do I know the ldap dependency was built into the
cas.war file?
===========================
Thank You;
Chris Cheltenham
Technology Services
The School District of Philadelphia
Work # 215-400-5025
Cell # 215-301-6571
--
- 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/341032203.44492473.1518092860963.JavaMail.zimbra%40philasd.org
.
BQ_END
--
- 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/CA%2Bd9XANEt0K3ugKG7O5%3DT9p5C8%3DsVOnqsz50xuU0wrfmkFg7mg%40mail.gmail.com
.
--
- 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/642964186.44524329.1518102001703.JavaMail.zimbra%40philasd.org
.
BQ_END
--
- 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/CA%2Bd9XAP3iQxcfmY2is0fP3TKuFHa04ZeiFGSnw%2BZYJRLcgHdiA%40mail.gmail.com
.
--
- 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/615653775.44529646.1518103349964.JavaMail.zimbra%40philasd.org.