[cas-user] How to specify landing page (url) in json file for a service when accessStrategy requiredAttributes results in "Service Access Denied"

2017-12-03 Thread Jeremy Rosenberg
This was broken, I think it’s fixed in 5.2. -- - 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-user] Custom AuthenticationHandler exception handling

2017-12-03 Thread Lackern Xu
Hi, I have a custom AuthenticationHandler, it is working when the correct credential are used. When I try to do exception handling such as incorrect password with FailedLoginException or PreventedException. All i get is AccountNotFoundException not matter what exception i try to return. Any

[cas-user] Re: How to specify landing page (url) in json file for a service when accessStrategy requiredAttributes results in "Service Access Denied"

2017-12-03 Thread Andy Ng
Well... If this is a necessary feature and you still haven't come up with a solution, here an idea that might helps you. (I think unauthorizedRedirectUrl is for other use case, hence not working, as you have tested) Any time user have this error "Service access denied due to missing

[cas-user] Re: CAS with REST API

2017-12-03 Thread Andy Ng
Pretty sure what you want is this:https://apereo.github.io/cas/5.2.x/protocol/REST-Protocol.html As for safety, since this REST implementation is included as an official features, the safety risk shouldn't be that high, your mileage may vary. Moreover, you can always check the source code