Home

developers.mit.edu

Sort of helping developers at MIT since 2009

Secondary links

  • Forums
  • Recent Posts
Home
    • FAQ
    • Contact
    • Community

MIT Touchstone

Display Touchstone on access denied Drupal 5.x pages

Submitted by moses_b@mit.edu on Wed, 01/21/2009 - 13:34
  • Authentication, Authorization, and Identity Services
  • MIT Touchstone

I came up with a method of displaying a link to Touchstone on access denied pages in Drupal 5.x. This would probably work for Drupal 6.x as well. Here is how I set it up:

1.) Create a new page node. Title it "Access Denied" and use this content:

<?php
global $user;
if ($user->uid) { // this user is already logged in print "Access Denied: You do not have access to this page."; } else { print "Access Denied: You do not have access to this page."; $dest = 'https://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];

  • Login to post comments
  • Read more

MIT Touchstone hands-on lab: Tue Jan 20, 01:30-04:00pm, W92-206, seating limited to 18

Submitted by pbh@mit.edu on Fri, 01/16/2009 - 19:03
  • Authentication, Authorization, and Identity Services
  • MIT Touchstone
  • Shibboleth

MIT Touchstone Hands On Lab
Paul B. Hill, Robert Basch
Tue Jan 20, 01:30-04:00pm, W92-206

Enrollment limited: advance sign up required (see contact below)
Signup by: 16-Jan-2009
Limited to 18 participants.

  • Login to post comments
  • Read more

Slides from IAP talk: MIT Touchstone Configuration

Submitted by pbh@mit.edu on Fri, 01/16/2009 - 19:00
  • Authentication, Authorization, and Identity Services
  • MIT Touchstone
  • Shibboleth

The slides from today's IAP presentation, "MIT Touchstone Configuraiton" are now available at https://wikis.mit.edu/confluence/download/attachments/19900/MIT+Touchsto...

  • Login to post comments

Login

Log in via Touchstone

Forums

  • All Forums
  • General Questions
  • Drupal Users
  • FileMaker Developers
  • Identity Management
  • Java Developers
  • Linux Users
  • Opportunities
  • PHP Developers
  • Python Users
  • UX Developers
  • Web Masters
  • Suggestions

Tags

accessibility ajax branch Javascript jQuery MIT Touchstone openssl question from an openssl noob release management Shibboleth silverstripe source control speed
more tags
RoopleTheme