Questions tagged [cas]

Central Authentication Service, a trusted system to authenticate a user. For Code Access Security (Microsoft .NET) use the [code-access-security] tag

The Central Authentication Service (CAS) is a single sign-on protocol for the web. Its purpose is to permit a user to access multiple applications while providing their credentials (such as userid and password) only once. It also allows web applications to authenticate users without gaining access to a user's security credentials, such as a password.

1696 questions
8
votes
5 answers

How to correctly set the service URL in Spring's CAS service properties

When working with Spring Security + CAS I keep hitting a small road block with the callback URL that is sent to CAS, ie the service property. I've looked at a bunch of examples such as this and this but they all use hard coded URLs (even Spring's…
Andrew White
  • 52,720
  • 19
  • 113
  • 137
8
votes
0 answers

CAS Authentication - CSRF token not found

I use Apereo CAS (formerly Jasig CAS) (github here). Next, I create a very simple application in Vaadin, which connects to CAS during authentication. Everything works seamlessly until I turned on CSRF from Spring Security. If CSRF is turned on, then…
jsosnowski
  • 1,560
  • 3
  • 26
  • 56
8
votes
1 answer

Jasig CAS Authentication redirect loop

I have six applications and I am using Jasig CAS for authenticating them. Jasig CAS's Single Sign On is working really good for me. On the other hand, Single Sign Off is not working for me. When I logoff from one of the applications, I can not…
Skr
  • 410
  • 6
  • 13
8
votes
2 answers

Can i use Jasig CAS server for android mobile applications?

I know that CAS is a single sign-on protocol for the web. Its purpose is to permit a user to access multiple applications while providing their credentials (such as userid and password) only once. It also allows web applications to authenticate…
fnkbz
  • 1,189
  • 1
  • 12
  • 22
8
votes
2 answers

CAS Authentication Symfony2

I'm looking for a bundle to integrate CAS authentication on Symfony 2.3. I found these options and the truth is I'm not convinced any, since almost all bundles seem to be abandoned without updating. 1.- sensiolabs / CasBundle:…
JGrinon
  • 1,453
  • 1
  • 14
  • 36
8
votes
2 answers

CAS authentication of a RESTful web service

My application needs to access a RESTful web service running on a different server. This web service uses CAS authentication, and when consuming it through the browser it will redirect to CAS login if the user isn't already authenticated. There is…
user814425
  • 605
  • 8
  • 19
7
votes
1 answer

Restore original POST request after CAS authentication?

I have json-rpc service accepting http POST-req only and would like it to use CAS SSO auth. The current request flow looks roughly like this: POST host/service/ -> 302 redirect GET host/cas/login?service=https%3A%2F%2Fhost%2Fservice%2F -> 302…
xeye
  • 1,250
  • 10
  • 15
7
votes
5 answers

JASIG CAS: single sign out not working

I have single sign on working beautifully, but single sign-out is not working. The scenario is like this: Open webapp1 and get redirected to CAS login page Enter details and login Open webapp2 which also uses CAS. Automatically logs in, as the user…
Croydon Dias
  • 1,906
  • 5
  • 20
  • 27
7
votes
2 answers

Shibboleth restful api

I am writing an android application for an University that uses Shibboleth for authenticating the students. Since I am making a android native app (not a webview), I would like to programmatically pass the username and password and get back the…
Sethu
  • 556
  • 1
  • 7
  • 18
7
votes
1 answer

Redis Lua script implementing CAS (check-and-set)?

I'm just trying to understand Redis/Lua scripting and I want to know if anyone sees a problem with the following code. It's my attempt to implement very simple "CAS" semantics: call it with a single key and two arguments. It will check to see if…
Jim Dennis
  • 17,054
  • 13
  • 68
  • 116
7
votes
1 answer

setting up single sign on with django-cas and django-mama-cas

Im looking into setting up single sign on for a django website. My search brought me to django-mama-cas and django-cas-ng but Im not sure whether I can or should use them separately or together. The mandatory CAS_SERVER_URL setting for django-cas-ng…
Aldon Palmer
  • 182
  • 2
  • 12
7
votes
6 answers

Getting a Loop Redirect with Spring Security + CAS, but should be working

I'm trying to change a basic application from using only Spring Security to using CAS, to enable SSO. But i'm getting a redirect loop somewhere, and i can't find out what is wrong. I have made two other mock applications, and there's no problem on…
Yuri-M-Dias
  • 610
  • 1
  • 11
  • 25
7
votes
4 answers

How to test CAS with jmeter?

request: I send a "get" http request, has no parameters; path: http://192.168.22.139:8080/KSP response:
Olivia Wang
  • 613
  • 6
  • 23
7
votes
1 answer

Using Jasig's Central Authentication Service (CAS) with ASP.NET MVC 4/5

I'm starting an ASP.NET MVC 5 project in VS 2013, which will eventually need to support CAS (Central Authentication Service) for authentication. Jasig has an official .NET client, but it's somewhat old and seems to have been created in the MVC 3…
ASP Novice
  • 73
  • 1
  • 4
7
votes
3 answers

Write Access to Program Files folder

my application include a self-updater executable that is used to update the application. One of the first steps the updater is performing is to check that it does have write permission to the application folder IPermission perm = new…
Eric Girard
  • 71
  • 1
  • 3