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…
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…
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…
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…
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…
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…
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…
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…
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?
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.…
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…
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
…
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…
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
-…