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
13
votes
5 answers

JASIG CAS Login without CAS login screen

We are trying to use CAS server for SSO for our existing web based applications. Our goals are Achive SSO across the various applications (including cross domain). Have Customized login (In UI Terms) pages for different apps, when they are…
Pratik Garg
  • 967
  • 4
  • 12
  • 26
12
votes
1 answer

Single Sign On (SSO): How to use Active Directory as an authentication method for CAS service?

I am developing a portal to Liferay and want to apply there a Single Sign On mechanism (SSO). I am using Jasig CAS for centralized authentication of my multiple web applications. Until now I know that I am able to use CAS as an authentication method…
mico
  • 12,730
  • 12
  • 59
  • 99
12
votes
1 answer

CAS vs Okta Vs Keycloak comparisions as an SSO solution

Which is the best option for SSO implementation Keycloack Vs CAS Vs Okta? I'm specifically looking for the disadvantages of each service to identify the best suitability for my system.
Sachin Arora
  • 123
  • 1
  • 1
  • 4
12
votes
8 answers

Angular PUT request is Forbidden over SSL

I am using Angular 5 as a front end with a Spring Boot REST server. Everything was working properly if not using SSL. When I switch to SSL, eventually I got everything sort of working. It works for GET requests, but so far I cannot get a PUT…
Tim
  • 1,605
  • 6
  • 31
  • 47
11
votes
3 answers

Spring Security and CAS Integration

Can anyone paste simple steps to integrate Spring security and CAS over here for single sign on and single sign out. Note I dont want any role based access.I have a web application which is already integrated with spring security. Now I was trying…
Rajesh
  • 2,934
  • 8
  • 42
  • 71
11
votes
1 answer

Making SSO with django rest framework

We have two apps App1 with domain www.app1.com and App2 with domain www.app2.com. Backend of both apps is api based using django-rest-framework. On frontend side we are using Angular2. Both apps had their different user base but now we decided to…
11
votes
1 answer

Is there a way to conditionally apply annotations?

In my java-play application I have the annotation @RequiresAuthentication(clientName = "CasClient") inside my controller. I only want to authenticate users in my production environment. How can I apply annotations conditionally? If the way I'm…
Blinky
  • 200
  • 2
  • 14
11
votes
5 answers

What are the default login credentials for Jasig CAS server?

I am new to SSO, I hoped to install Jasig CAS demo web app and be able to log in inside. Pure research and testing. I've disabled ssl using https://wiki.jasig.org/display/CASUM/Securing+Your+New+CAS+Server However I either don't understand the…
Aubergine
  • 5,862
  • 19
  • 66
  • 110
11
votes
2 answers

SSO and REST Api Authentication on multiple Application

at our company we have multiple web applications deployed that are secured through SSO using CAS server. A user requests an url of an application, and if not already authenticated, gets redirected to the CAS server login page. In case of successful…
marco.eig
  • 4,209
  • 2
  • 18
  • 26
10
votes
4 answers

Working Java REST Client Example to access CAS REST API

I followed this tutorial to enable REST service on my local CAS server. However there is no Java example "Java REST Client Example We need a real, working, example, the previous one is useless. Many people are emailing me that it is not working,…
krinker
  • 1,072
  • 1
  • 9
  • 23
9
votes
2 answers

CAS service ticket validate failed

I have followed a link http://lukesampson.com/post/315838839/cas-on-windows-localhost-setup-in-5-mins, then the cas server works correctly, the login url is http://10.1.1.26:8080/login, the validate url is…
danmiao
  • 747
  • 2
  • 8
  • 17
9
votes
2 answers

Run "apereo/cas" docker image prints "Failed to start connector" error

My goal is to run CAS to replace ADFS. I thought starting with the docker image is a good place to begin. I've tried running two different versions of apereo/cas and both have the same error. Here's what I tried. command docker run -p 8080:8080 -p…
styfle
  • 22,361
  • 27
  • 86
  • 128
8
votes
2 answers

CAS logout and cookies elimination

I just made a HelloWorld servlet and implemented CAS on it. I'm being able to log in without problem and CAS is setting 3 cookies in my browser, the CASGT, and 2 JSESSIONID 1 for /cas and another for /helloWorld The problem is that then I access…
Steve McQueen
  • 81
  • 1
  • 1
  • 2
8
votes
2 answers

CAS AD LDAP 32 error

I am seeing this when I try to login with CAS which is authenticating against AD over LDAP. SEVERE: Servlet.service() for servlet cas threw exception javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-031001E5,…
Brandon
  • 1,997
  • 3
  • 24
  • 33
8
votes
2 answers

How to Overcome Cross-domain Issues for Ajax Calls to CAS-protected Resources?

What are potential solutions to a redirection problem that occurs when trying to make AJAX calls to a CAS-protected, SSL-encrypted resource located on a server different from the CAS server? The CAS server is used for authentication and behaves as…
Jon Jaroker
  • 805
  • 6
  • 9