Custom Yubikey registry

35 views
Skip to first unread message

Dimitri Gavrilov

unread,
Mar 9, 2017, 6:44:25 AM3/9/17
to CAS Community

Hello community,

 

Have anyone already implemented custom YubiKeyAccountRegistry and compiled it into the CAS?

 

I have account in LDAP with yubiKeyId attribute containing Yubikey public part. So the registry should be very simple – check if yubikey public part extracted from the entered key belongs to the previously authenticated user.  

 

Unfortunately I cannot find any documentation about how-to implement the registry and, which is more important, add it to the CAS.


Documentation suggests to add a bean:



@Bean
public YubiKeyAccountRegistry yubiKeyAccountRegistry() {
    ...
}

 

But where?


Can anyone help me?

 

Thank you

Dimitri

Misagh Moayyed

unread,
Mar 9, 2017, 7:15:06 AM3/9/17
to CAS Community

Dmitriy Kopylenko

unread,
Mar 9, 2017, 9:39:14 AM3/9/17
to cas-...@apereo.org
Which version of CAS?

D.
--
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
---
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+u...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/84c77980-8879-48ff-8821-4c64eeb97e75%40apereo.org.

Dimitri Gavrilov

unread,
Mar 9, 2017, 2:25:31 PM3/9/17
to jasig-cas-user, cas-...@apereo.org, dkopy...@unicon.net
Version 5.0.3.1


Am Donnerstag, 9. März 2017 15:39:12 UTC+1 schrieb Dmitriy Kopylenko:
Which version of CAS?

D.

Jurica Juren

unread,
May 10, 2017, 8:47:10 AM5/10/17
to CAS Community, slid...@gmail.com
Hi Dimitri Gavrilov,

did you find solution how to include this bean?
@Bean
public YubiKeyAccountRegistry yubiKeyAccountRegistry() {
    ...
}

Can you give me some example of this bean
YubiKeyAccountRegistry 
if you find solution?

I want to use mfa-yubikey but I don't know how to implement this bean.
I will appreciate every information on this.

Best regards,
Jurica
Reply all
Reply to author
Forward
0 new messages