Hey everybody,

I tried to configure authentication with MongoDB.
As far as I understand the documentation.

I configure MongoDB support via application.properties:

*cas.authn.mongo.mongoHostUri=mongodb://localhost:27017/casdb*
*cas.authn.mongo.usernameAttribute=email*
*cas.authn.mongo.attributes=first_name,last_name*
*cas.authn.mongo.passwordAttribute=password*
*cas.authn.mongo.collectionName=user*
*# cas.authn.mongo.name=*

But when I try to login, I get the following message on the console:

[org.apereo.cas.authentication.PolicyBasedAuthenticationManager] - 
<Authentication credentials provided for this transaction are 
[[UsernamePasswordCredential(username=scott)]]>
...
WHO: scott
WHAT: Supplied credentials: [UsernamePasswordCredential(username=scott)]
ACTION: AUTHENTICATION_FAILED
APPLICATION: CAS
...

I get the strong feeling I'm missing something really important.


Thx.

-- 
- 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+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/0e21b343-bd94-47b0-b0ed-d53188f661da%40apereo.org.

Reply via email to