Hi,
After setting up the Authentication handler, it keeps telling me that
cannot find it...
2016-02-16 11:27:21,937 WARN
[org.jasig.cas.authentication.PolicyBasedAuthenticationManager] - Cannot
find authentication handler that supports user, which suggests a
configuration problem.
2016-02-16 11:27:21,938 INFO
[org.jasig.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - Audit
trail record BEGIN
Here is the deployer src/main/webapp/WEB-INF/deployerConfigContext.xml
<bean id="ldapAuthenticationHandler"
class="org.jasig.cas.authentication.LdapAuthenticationHandler"
p:principalIdAttribute="cn"
c:authenticator-ref="authenticator">
<property name="principalAttributeMap">
<map>
<!--
| This map provides a simple attribute resolution
mechanism.
| Keys are LDAP attribute names, values are CAS
attribute names.
| Use this facility instead of a PrincipalResolver
if LDAP is
| the only attribute source.
-->
<entry key="member" value="member"/>
<entry key="mail" value="mail"/>
<entry key="displayName" value="displayName"/>
</map>
</property>
</bean>
and here the whole file:
http://pastebin.com/aHbb41xG
Any idea on how to keep debugging this? Here is the cas.properties
##############
# LDAP CAS####
#========================================
# General properties
#========================================
ldap.url=ldap://ldap.bsc.es
# LDAP connection timeout in milliseconds
ldap.connectTimeout=3000
# Whether to use StartTLS (probably needed if not SSL connection)
ldap.useStartTLS=false
#========================================
# LDAP connection pool configuration
#========================================
ldap.pool.minSize=3
ldap.pool.maxSize=10
ldap.pool.validateOnCheckout=false
ldap.pool.validatePeriodically=true
# Amount of time in milliseconds to block on pool exhausted condition
# before giving up.
ldap.pool.blockWaitTime=3000
# Frequency of connection validation in seconds
# Only applies if validatePeriodically=true
ldap.pool.validatePeriod=300
# Attempt to prune connections every N seconds
ldap.pool.prunePeriod=300
# Maximum amount of time an idle connection is allowed to be in
# pool before it is liable to be removed/destroyed
ldap.pool.idleTime=600
#========================================
# Authentication
#========================================
# Base DN of users to be authenticated
ldap.authn.baseDn=ou=people,ou=center,dc=es
# A path to trusted X.509 certificate for StartTLS
ldap.trustedCert=file:///etc/tls/ca/ldap.bsc.es.pem
Thanks.
--
Josep Manel Andrés ([email protected])
Operations - Barcelona Supercomputing Center
C/ Jordi Girona, 31 http://www.bsc.es
08034 Barcelona, Spain Tel: +34-93-405 42 14
e-mail: [email protected] Fax: +34-93-413 77 21
-----------------------------------------------
WARNING / LEGAL TEXT: This message is intended only for the use of the
individual or entity to which it is addressed and may contain
information which is privileged, confidential, proprietary, or exempt
from disclosure under applicable law. If you are not the intended
recipient or the person responsible for delivering the message to the
intended recipient, you are strictly prohibited from disclosing,
distributing, copying, or in any way using this message. If you have
received this communication in error, please notify the sender and
destroy and delete any copies you may have received.
http://www.bsc.es/disclaimer
--
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].
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.