I try your answer. but it has some problem.
First,cas-server-support-yubikey only has 5.0.0+ version, so I change
cas.version to 5.0.0. look at this
https://mvnrepository.com/artifact/org.apereo.cas/cas-server-support-yubikey
<dependency>
<groupId>org.apereo.cas</groupId>
<artifactId>cas-server-support-yubikey</artifactId>
<version>5.0.0</version>
</dependency>
Second, after that I run the project in tomcat but it failed. The console
is
On Thursday, November 10, 2016 at 5:18:34 PM UTC+8, john c wrote:
>
> add some cas dependency to your project,e.g.
>
> <dependency>
> <groupId>org.apereo.cas</groupId>
> <artifactId>cas-server-support-yubikey</artifactId>
> <version>${cas.version}</version>
> </dependency>
> this will import those cas core library to project,and you will see them
> in "Java Resources/Libraries/Maven Dependencies"
>
> then, you can set debug point
> ,e.g.
> org.jasig.cas.authentication.PolicyBasedAuthenticationManager.PolicyBasedAuthenticationManager.authenticateInternal
>
>
>
> 在 2016年11月9日星期三 UTC+8下午2:28:32,Dong Wenting写道:
>>
>> I'm a newer to cas. I have succeeded in importing cas-overlay project
>> into eclipse, but I want to debug the source file. Maven dependencies is
>> empty because of using maven overlay. How can I debug cas server in eclipse
>> ? Thank you for answering!
>> <https://lh3.googleusercontent.com/-iRQbQ7k9Q7k/WCLByuy8HqI/AAAAAAAAAAg/mzRTdU6PyboqOXxYyREKi5pPac6-dzHPgCLcB/s1600/QQ%25E6%2588%25AA%25E5%259B%25BE20161109102542.png>
>>
>>
>>
>> <https://lh3.googleusercontent.com/-iRQbQ7k9Q7k/WCLByuy8HqI/AAAAAAAAAAg/mzRTdU6PyboqOXxYyREKi5pPac6-dzHPgCLcB/s1600/QQ%25E6%2588%25AA%25E5%259B%25BE20161109102542.png>
>>
>>
>> <https://lh3.googleusercontent.com/-iRQbQ7k9Q7k/WCLByuy8HqI/AAAAAAAAAAg/mzRTdU6PyboqOXxYyREKi5pPac6-dzHPgCLcB/s1600/QQ%25E6%2588%25AA%25E5%259B%25BE20161109102542.png>
>>
>> <https://lh3.googleusercontent.com/-nXeWzYD310g/WCLB9ffTuOI/AAAAAAAAAAk/uW5JSvinuI8fR1XU3-OYWN6hEd-KktuDQCLcB/s1600/QQ%25E6%2588%25AA%25E5%259B%25BE20161109102700.png>
>>
>>
>> --
>> - 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 [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/a/apereo.org/d/msgid/cas-user/56f3bde1-0009-4a9e-beb1-79f5106f79da%40apereo.org
>>
>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/56f3bde1-0009-4a9e-beb1-79f5106f79da%40apereo.org?utm_medium=email&utm_source=footer>
>> .
>>
>
<https://lh3.googleusercontent.com/-O0ky7e-kWmg/WC5jGzgKe6I/AAAAAAAAABA/P3dtnrTRT3gtxE75tcioURBPHWay-LTSACLcB/s1600/QQ%25E6%2588%25AA%25E5%259B%25BE20161118100850.png>
--
- 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 [email protected].
To view this discussion on the web visit
https://groups.google.com/a/apereo.org/d/msgid/cas-user/94697a36-45e6-4b01-be39-ef3ba0871623%40googlegroups.com.