The site has a login button that redirects to CAS.   Also has an admin
screen to control various phpCAS client settings.

http://drupal.org/project/cas

On Tue, Nov 20, 2012 at 4:33 PM, Rex Posadas <rex.posa...@gazillion.com> wrote:
> Thanks for the info William.
>
> I am integrating Drupal with CAS as well.  How did you handle the
> in-line login?  i.e. customer would enter their username and password,
> hit submit and have those credentials validated via CAS. Or are you
> simply doing a redirect to the CAS login page and ignoring the inline
> login?
>
> -----Original Message-----
> From: William G. Thompson, Jr. [mailto:wgt...@gmail.com]
> Sent: Friday, November 16, 2012 5:33 AM
> To: cas-user@lists.jasig.org
> Subject: [cas-user] CAS, Drupal, and Proxy Tickets
>
> Folks,
>
> I recently have been working with a client that is building a Drupal
> based enterprise portal (i.e. WebSSO, Role-based Content, Preview
> "portlets", etc...essentially a PHP based uPortal).
>
> And it turns out that Drupal supports Proxy Tickets via phpCAS
> integration.  Once phpCAS with CAS2.0 protocol was turned on, the
> following PHP code was able to get content from CAS protected
> services:
>
>  require_once drupal_get_path('module', 'cas') . '/CAS/CAS.php';
>  require_once drupal_get_path('module', 'cas') . '/cas.module';
>
>  cas_phpcas_init();
>  phpCAS::forceAuthentication();
>
>  $service = phpCAS::getProxiedService(PHPCAS_PROXIED_SERVICE_HTTP_GET);
>  $service->setUrl('https://example.org/example_service.php');
>  $service->send();
>  return $service->getResponseBody();
>
> Hopefully this is useful to others...
>
> Best,
> Bill
>
> --
> You are currently subscribed to cas-user@lists.jasig.org as:
> rex.posa...@gazillion.com
> To unsubscribe, change settings or access archives, see
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>
> --
> You are currently subscribed to cas-user@lists.jasig.org as: wgt...@gmail.com
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>

-- 
You are currently subscribed to cas-user@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to