Questions tagged [rubycas]

RubyCAS-Server is an implementation of the server-end of JA-SIG's CAS protocol, providing a cross-domain single sign-on solution for web applications.

RubyCAS-Server is an implementation of the server-end of JA-SIG's CAS protocol, providing a cross-domain single sign-on solution for web applications.

20 questions
11
votes
1 answer

Setup issue in CAS Server in Rails 3.x

I have installed rubyCAS Server on ec2 server, using Rails 3.2 and Ruby 1.9.3 and configured configure.yml file, my server: webrick port: 9292 ssl_cert: /mnt/rubyonrails/testingcas.pem Note: I have mentioned Domain name…
Ankit
  • 292
  • 1
  • 6
  • 17
2
votes
0 answers

Rubycas: empty cookies when using CASClient::Frameworks::Rails::Filter login_to_service() method

I found RubyCAS very useful tool, but have problems when logging in from a form on my site. The form is default & hidden fields a follows:
2
votes
1 answer

CAS authentication for daemons and scripts

We are using CAS to provide authentication for a number of our Java and Ruby applications. Most of our Ruby applications are web applications with Java providing backend services with APIs. We authenticate all requests to the API by using Proxy…
Brad
  • 5,428
  • 1
  • 33
  • 56
2
votes
1 answer

Accessing Rails API using a single access token via RubyCAS

I'm currently designing and prototyping the architecture for a web application that comprises of three parts, a Restful API (JSON, XML) interface served from a Rails app, a Backbone.js application being supported by a second Rails app, and an…
Phil Ostler
  • 429
  • 3
  • 14
1
vote
1 answer

single sign in/out not working on rubycas-server

i had enabled enable_single_sign_out: true. I have two application, one in Rails, other in Django, I want that when i login to one application, i would just go an refresh my other application and i would signed in automatically. Sam way, if i…
Nazar Hussain
  • 5,102
  • 6
  • 40
  • 67
1
vote
1 answer

rubycas CAS over ssl, sites over non-ssl

I'm trying to determine how much of a security risk I'm looking at when I have rubycas itself running over https, but my actual sites running under http. the reason I'm faced with this issue is that the sites are deployed on heroku, which means…
Ryan
  • 668
  • 5
  • 12
1
vote
1 answer

RubyCAS-Client question: Rails

I've installed RubyCAS-Client 2.1.0 as a gem and using Rails 2.3.10 on Windows 7. After creating a pristine Rails app, I started to follow the instructions on http://rubycas-client.rubyforge.org/, but as soon as I add…
user550980
  • 11
  • 2
1
vote
0 answers

Authenticating requests to a REST Rails API using CAS

I'm working on a web app similar in construction to Twitter; stateless RESTful API backed by Rails-API which will be accessed primarily by users through a JS based static client. I want my users to be able to authenticate with CAS, but I'm having…
squidgetx
  • 101
  • 5
1
vote
1 answer

rubycas-client authentification and local session

I am using ruby-cas client, for an authentification based on a CAS. I would like to link the ruby_cas authentication to my application : when we log in with cas, in additon to the CAS session created, a session for my application is also…
1
vote
1 answer

How to check if user is authenticated with CAS server?

I need to check if user is authenticated in the system in a PHP application that is not a PHPCas client. Does the RubyCAS server provide API for this? How do you make secure communication in this case?
Dziamid
  • 11,225
  • 12
  • 69
  • 104
1
vote
1 answer

Rubycas gateway without redirect

I have a Rails 3.2 app which works on multiple domain names eg: www.domain1.com, www.domain2.com, ... I use CASClient::Frameworks::Rails::Filter for some public pages. On those public pages, I need to show the current user logged in as well.…
Chamnap
  • 4,666
  • 2
  • 34
  • 46
0
votes
1 answer

Rubycas-server can not run on ruby 1.9.2

Tried to solve the problem particularly with rubycas-server which is based on sinatara Getting this error when running rubycas-server rubycas-server/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/psych.rb:148:in parse': couldn't parse YAML at…
Nauman Thanvi
  • 143
  • 2
  • 10
0
votes
2 answers

RoutingError on capybara with rubycas

I'm integrating capybara to a project. At first instance, I just wanted to check what is displaying the login page, so I made this code: require 'acceptance/acceptance_helper' feature 'Login' do scenario 'sign in with right credentials' do …
Alter Lagos
  • 12,090
  • 1
  • 70
  • 92
0
votes
1 answer

Use more than one before_filter

I want to use two filters in application_controller so, if the first filter fail: before_filter CASClient::Frameworks::Rails::Filter try it with the second: before_filter :hmac_filter The idea is when someone tries to enter to the REST service…
Alter Lagos
  • 12,090
  • 1
  • 70
  • 92
0
votes
1 answer

rubycas-server response

This is the data that I get back from the rubycas server. { "cn"=>"--- - Toby Joiner", "sn"=>"--- - Joiner", "mail"=>"--- - tobyjoiner@xxxxxx.xxx", "memberof"=>"--- - CN=All Users,OU=AllUsers,DC=bnw,DC=local -…
Toby Joiner
  • 4,306
  • 7
  • 32
  • 47
1
2