You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by jleleu <le...@gmail.com> on 2013/02/28 12:54:54 UTC

Re: CAS authentification

Hi,

You should use the *Shiro User* forum :
http://shiro-user.582556.n2.nabble.com/ instead of the developer one for
this kind of question.

If you just want to check that a user is authenticated, you can use the
*user* filter : take a loot at http://shiro.apache.org/web.html,
DefaultFilters part.

Best regards,
Jérôme




--
View this message in context: http://shiro-developer.582600.n2.nabble.com/CAS-authentification-tp7577875p7577877.html
Sent from the Shiro Developer mailing list archive at Nabble.com.

Re: CAS authentification

Posted by jleleu <le...@gmail.com>.
Hi,

I'm not sure to understand what you want to do : CAS authentication or local
form authentication or both ?
Best regards,
Jérôme




--
View this message in context: http://shiro-developer.582600.n2.nabble.com/CAS-authentification-tp7577875p7577886.html
Sent from the Shiro Developer mailing list archive at Nabble.com.

Re: CAS authentification

Posted by jleleu <le...@gmail.com>.
Hi,

I'm not sure to understand your last post.
If you want to /check that a user is just authenticated/, you can use the
pre-defined filter named *user* (like there is a filter named *authc *for
login form authentication).
Did you take a look at : http://shiro.apache.org/web.html#Web-DefaultFilters
?
Best regards,
Jérôme




--
View this message in context: http://shiro-developer.582600.n2.nabble.com/CAS-authentification-tp7577875p7577883.html
Sent from the Shiro Developer mailing list archive at Nabble.com.

Re: CAS authentification

Posted by jleleu <le...@gmail.com>.
Hi,

I see this in your ini file :
  //Services = authc/
You should use :
  /[main]
  user.loginUrl = ${casServerUrlPrefix}/login?service=${APIwebURL}/shiro-cas 
  [url]
  /Services = user/

Best regards,
Jérôme




--
View this message in context: http://shiro-developer.582600.n2.nabble.com/CAS-authentification-tp7577875p7577880.html
Sent from the Shiro Developer mailing list archive at Nabble.com.