cas

Python RESTful client with CAS authentication

I'm trying to build a python library for interacting with our RESTful API, but it uses CAS for client auth, and I haven't been able to find any good existing libraries for it. So far I've found the following links, but I'm not sure if they're intended to be used in clients or by a website that uses CAS itself. Does anyone have any advice...

Implement SSO using CAS + Spring Security

Hi guys! I'm trying to implement SSO across several web applications using CAS and Spring Security. Expected case: CAS - http:// localhost:8080/cas/ App A protected content - http: //localhost:8081/cas-client1/secure/index.html App B protected content - http: //localhost:8081/cas-client2/secure/index.html 1) When user access cas-client1...

How to impersonate a Windows built-in Administrator role for a WinForms, C# App?

It seems like the elevation of privileges is a common thing most developers fight with as most of the time they simply do not have it. I for one do but am fighting with a massive Background Worker routine and I'm trying to keep my code local to the class that will be employing it. Given the amount of code and references my background wor...

PHP Memcached CAS (check and set) issue

Hey all, here are the version of my current setup Memcached (1.2.2) Pecl Memcached Client 1.0.2 (using libmemcached 0.43) Issue: I cant get a cas token returned during a get request Here is the code in question! 27 public function action_test() { 28 //phpinfo(); 29 $m = Model_Mem::getSingleton(); 30 $found = $m->get(...

how to create spring cas login link

I have Spring Security 3.0.3 with CAS. Some of my conf follows: <security:http entry-point-ref="casAuthenticationEntryPoint" auto-config="true" > <security:intercept-url pattern="/*/secure/**" access="ROLE_USER" /> <security:custom-filter position="CAS_FILTER" ref="casAuthenticationFilter" /> <security:anonymous enabled="fal...

Seamless SSO with CAS

I have Spring MVC app with Spring Security set up to use CAS. Also I have Liferay Portal 5.2.3 configured to use CAS. I authenticate from app_1 Open Liferay Portal (app_2) It does not check authentication immediately (I see sign in link) If I click Sign in then CAS verifies that user is authenticated and I'm automatically signed in. ...

CAS, Spring Security and unprotected pages

Hi all, I'm using Spring Security + CAS in my website and there are some pages present different information in different login status. For example, link: foo.com/index anonymous user - common page layout + login elements authenticated user - customized layout + logout elements Since Spring Security does not support CAS gateway featur...

CAS authentication and limiting access for specified users

Hi, I'm using CAS (Central Authentication Service) from Jasig in a client JSF app running on tomcat 6 server. I would like to limit the access to the app just for the users specified in my database rather than all the users which can be authenticated using that CAS service. When the user attempts to log in, I need to check if his userna...

Problem with Jasig CAS webflow

I have CAS 3.4.3 in my pom. From Jasig CAS zip I included all configuration including login-webflow.xml The same configuration was working for me when I built my application with CAS source. Currently I get an exception: org.springframework.expression.spel.SpelParseException: EL1041E:(pos 33): After parsing a valid expression, there is...

Implementing Authentication/Authorization on Flash Media Server

We are using a flash media server to serve streaming media (H.264) for our application. Within the application itself we have implemented authentication (CAS) and authorization so only certain people can see certain videos. The problem, however, is that if the users just looked at the source they could see the external link to our flash ...