Class: CASServer::Controllers::Proxy
- Inherits:
-
R
- Object
- R
- CASServer::Controllers::Proxy
- Includes:
- CASServer::CAS
- Defined in:
- lib/casserver/controllers.rb
Instance Method Summary collapse
-
#get ⇒ Object
2.7.
Methods included from CASServer::CAS
clean_service_url, #generate_login_ticket, #generate_proxy_granting_ticket, #generate_proxy_ticket, #generate_service_ticket, #generate_ticket_granting_ticket, #send_logout_notification_for_service_ticket, #service_uri_with_ticket, #validate_login_ticket, #validate_proxy_granting_ticket, #validate_proxy_ticket, #validate_service_ticket, #validate_ticket_granting_ticket
Instance Method Details
#get ⇒ Object
2.7
384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 |
# File 'lib/casserver/controllers.rb', line 384 def get CASServer::Utils::log_controller_action(self.class, input) # required @ticket = input['pgt'] @target_service = input['targetService'] pgt, @error = validate_proxy_granting_ticket(@ticket) @success = pgt && !@error if @success @pt = generate_proxy_ticket(@target_service, pgt) end @status = CASServer::Controllers.response_status_from_error(@error) if @error render :proxy end |