Re: [cas-user] Re: CAS 5.1 Risk Based Authentication issues

2017-06-28 Thread Ludovic Senecaux


I also noticed that this attribute is added to other ticket attributes returned 
to the client application

-- 
- 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+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/017e872e-710a-447b-abb5-717fbc12b49e%40apereo.org.


Re: [cas-user] Re: CAS 5.1 Risk Based Authentication issues

2017-06-28 Thread Pavlos Drandakis

Hi Ludovic,

I think that the purpose of this property is for "registering" 
risk-based authentication in authentication handlers and that its value 
is just a name, could be whatever. If none is specified, the default 
triggeredRiskBasedAuthentication, will be used.


Pavlos


On 26/06/2017 05:48 μμ, Ludovic Senecaux wrote:
Did you found the purpose of 
cas.authn.adaptive.risk.response.riskyAuthenticationAttribute ?


--
- 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+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/ffe57174-0d30-c1dd-429a-d793d0085f84%40noc.edunet.gr.


Re: [cas-user] Re: CAS 5.1 Risk Based Authentication issues

2017-06-26 Thread Ludovic Senecaux
Did you found the purpose of 
cas.authn.adaptive.risk.response.riskyAuthenticationAttribute ?

-- 
- 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+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/b96a8019-18ea-483e-9bbe-b67405b8f23b%40apereo.org.


Re: [cas-user] Re: CAS 5.1 Risk Based Authentication issues

2017-06-26 Thread Ludovic Senecaux
Thank you ;-)

-- 
- 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+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/f6a41ec5-0149-4a2a-90e1-2e33b9190a5e%40apereo.org.


Re: [cas-user] Re: CAS 5.1 Risk Based Authentication issues

2017-06-26 Thread Pavlos Drandakis

Hi,

I just did a PR for this issue 
(https://github.com/apereo/cas/pull/2721), but there is no review yet.


Pavlos

On 26/06/2017 04:05 μμ, Ludovic Senecaux wrote:

I had an issue when I try to login...
Have you got an idea ?

|
WHO:foo
WHAT:org.hibernate.QueryException:could notresolve 
property:creationTime 
of:org.apereo.cas.support.events.dao.CasEvent[SELECT r 
fromorg.apereo.cas.support.events.dao.CasEventr wherer.type =:type 
andr.creationTime >=:creationTime andr.principalId =:principalId]

ACTION:EVALUATE_RISKY_AUTHENTICATION
APPLICATION:CAS
WHEN:MonJun2615:01:29CEST 2017
CLIENT IP ADDRESS:10.0.0.1
SERVER IP ADDRESS:cas5-test.test.lan
=

>
2017-06-2615:01:29,767WARN 
[org.apereo.cas.web.flow.resolver.impl.InitialAuthenticationAttemptWebflowEventResolver]-notresolve property:creationTime 
of:org.apereo.cas.support.events.dao.CasEvent[SELECT r 
fromorg.apereo.cas.support.events.dao.CasEventr wherer.type =:type 
andr.creationTime >=:creationTime andr.principalId =:principalId]>
java.lang.IllegalArgumentException:org.hibernate.QueryException:could 
notresolve property:creationTime 
of:org.apereo.cas.support.events.dao.CasEvent[SELECT r 
fromorg.apereo.cas.support.events.dao.CasEventr wherer.type =:type 
andr.creationTime >=:creationTime andr.principalId =:principalId]

|

Thanks



--
- 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+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/88deb9e3-1bf4-12b3-dd98-1951aedf2d16%40noc.edunet.gr.


Re: [cas-user] Re: CAS 5.1 Risk Based Authentication issues

2017-06-26 Thread Ludovic Senecaux
I had an issue when I try to login...
Have you got an idea ?

WHO: foo
WHAT: org.hibernate.QueryException: could not resolve property: 
creationTime of: org.apereo.cas.support.events.dao.CasEvent [SELECT r from 
org.apereo.cas.support.events.dao.CasEvent r where r.type = :type and 
r.creationTime 
>= :creationTime and r.principalId = :principalId]
ACTION: EVALUATE_RISKY_AUTHENTICATION
APPLICATION: CAS
WHEN: Mon Jun 26 15:01:29 CEST 2017
CLIENT IP ADDRESS: 10.0.0.1
SERVER IP ADDRESS: cas5-test.test.lan
=

>
2017-06-26 15:01:29,767 WARN [org.apereo.cas.web.flow.resolver.impl.
InitialAuthenticationAttemptWebflowEventResolver] - = :creationTime and 
r.principalId 
= :principalId]>
java.lang.IllegalArgumentException: org.hibernate.QueryException: could not 
resolve property: creationTime of: org.apereo.cas.support.events.dao.
CasEvent [SELECT r from org.apereo.cas.support.events.dao.CasEvent r where r
.type = :type and r.creationTime >= :creationTime and r.principalId = :
principalId]

Thanks

-- 
- 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+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/aa35c6f2-633b-474b-810e-6374365cdd7d%40apereo.org.


Re: [cas-user] Re: CAS 5.1 Risk Based Authentication issues

2017-06-26 Thread Pavlos Drandakis

Hi Ludovic,

yes, I finally understood what was wrong, see here: 
https://github.com/apereo/cas/pull/2716


To disable google-maps-library dependency, add an exclusion to your 
pom.xml like this:


org.apereo.cas
cas-server-support-electrofence
${cas.version}


org.apereo.cas
cas-server-support-geolocation-googlemaps




Regards,
Pavlos


On 26/06/2017 01:33 μμ, Ludovic Senecaux wrote:

Did you find a solution?
Moreover, when I add this library, the google-maps library is added in 
dependency whereas I already use that of maxmind for geolocation.


Regards,
--
- 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+unsubscr...@apereo.org 
.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/5e72e5e7-93bb-4554-8ae4-198195c9d666%40apereo.org 
.



--
- 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+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/3f317898-b344-e077-e049-69abc816420b%40noc.edunet.gr.