Sha256: 91394a7ee8588c733dab3be1a5c6982fa0391580b6a8432667ab9dd72339aca2
Contents?: true
Size: 1.09 KB
Versions: 3
Compression:
Stored size: 1.09 KB
Contents
unless Object.const_defined?(:Picnic) $APP_NAME ||= 'rubycas-server' $APP_ROOT ||= File.expand_path(File.dirname(__FILE__)+'/..') require 'casserver/load_picnic' end require 'yaml' require 'markaby' require "casserver/conf" require "picnic/logger" $: << File.dirname(File.expand_path(__FILE__)) $: << File.expand_path("#{File.dirname(__FILE__)}/../vendor/isaac_0.9.1") require 'crypt/ISAAC' Camping.goes :CASServer Picnic::Logger.init_global_logger! require "casserver/utils" require "casserver/models" require "casserver/cas" require "casserver/views" require "casserver/controllers" require "casserver/localization" def CASServer.create CASServer::Models::Base.establish_connection($CONF[:database]) CASServer::Models.create_schema CASServer::Models::ServiceTicket.cleanup_expired($CONF[:service_ticket_expiry]) CASServer::Models::LoginTicket.cleanup_expired($CONF[:login_ticket_expiry]) CASServer::Models::ProxyGrantingTicket.cleanup_expired($CONF[:proxy_granting_ticket_expiry]) CASServer::Models::TicketGrantingTicket.cleanup_expired($CONF[:ticket_granting_ticket_expiry]) end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
gunark-rubycas-server-0.8.0.20090427 | lib/casserver.rb |
gunark-rubycas-server-0.8.0.20090430 | lib/casserver.rb |
gunark-rubycas-server-0.8.0.20090506 | lib/casserver.rb |