<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>As a follow up, I tried to add that this should apply to all pages except for '/admin/*' but that was to no avail.</div><div><br class="webkit-block-placeholder"></div><br><div><div>On Feb 7, 2008, at 1:29 PM, Scott Matthews wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Yes. &nbsp;We're making a customized version based on the cas module.<div><br class="webkit-block-placeholder"></div><div>We basically do not want the user to have to forward to the login page. &nbsp;</div><div><br class="webkit-block-placeholder"></div><div>So David, I tried your suggestion and what I'm seeing is:</div><div><br class="webkit-block-placeholder"></div><div>I go to to the admin page not being authenticated and attempt to login as my admin</div><div>when I submit, the resulting page is not the admin page with the options available to me but rather my site's home page with the url as ' http://[domain_name]/?destination=admin '</div><div><br class="webkit-block-placeholder"></div><div>any Ideas?</div><div><br><div><div>On Feb 7, 2008, at 1:24 PM, Hainsworth, Shawn wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div> <div id="idOWAReplyText28187" dir="ltr"> <div dir="ltr"><font face="Arial" color="#000000" size="2">I want to jump in here.&nbsp; The Drupal user might not always exist.&nbsp; There are cases where CAS will authenticate a user that Drupal does not yet have in its User table.&nbsp; I know the module allows for creating new users with a configurable set of default roles, and we will need to use this functionality.</font></div> <div dir="ltr"><font face="Arial" size="2"></font>&nbsp;</div> <div dir="ltr"><font face="Arial" size="2">Also, the security model for this application is different than Drupal's typical security model.&nbsp; Typically, Drupal protects resources based on roles.&nbsp; So, i f you attempt to access a specific resource, Drupal will check if that resource is protected, and then check if the user is authenticated, and what their role is.&nbsp; The Drupal-CAS module also&nbsp;allows a set of URL patterns to be defined which will require authentication.</font></div> <div dir="ltr"><font face="Arial" size="2"></font>&nbsp;</div> <div dir="ltr"><font face="Arial" size="2">We are not requiring authentication based on resource or URL path.&nbsp; Rather, any page on the site may be accessed anonymously.&nbsp; However, there are additional features that are available if you are logged in.</font></div> <div dir="ltr"><font face="Arial" size="2"></font>&nbsp;</div> <div dir="ltr"><font face="Arial" size="2">Therefore, we are modifying the module to perform a CAS gateway check at the beginning of the user's session.&nbsp; So, Drupal authentication will only be used for administrators and content creators.&nbsp; Users of the site will not use Drupal authentication.&nbsp; Rather, they will use the CAS gateway check at the beginning of their session.</font></div> <div dir="ltr"><font face="Arial" size="2"></font>&nbsp;</div> <div dir="ltr"><font face="Arial" size="2">s.</font></div></div> <div dir="ltr"><br> <hr tabindex="-1"> <font face="Tahoma" size="2"><b>From:</b> Scott Matthews [<a href="mailto:smatthews@optaros.com">mailto:smatthews@optaros.com</a>]<br><b>Sent:</b> Thu 2/7/2008 1:00 PM<br><b>To:</b> <a href="mailto:support@drupal.org">support@drupal.org</a><br><b>Cc:</b> Hainsworth, Shawn; Ron Trevarrow<br><b>Subject:</b> Re: [support] Drupal CAS Configuration<br></font><br></div> <div><p><font size="2">Yes, I already have the accounts stored in Drupal for the people in&nbsp;<br>question.&nbsp; As for CAS, since I'm still in development I'm using the&nbsp;<br>basic functionality of the server for now where you can use any user&nbsp;<br>and the password is the username.<br><br>Yes, to some degree I do want both to work (i.e. allowing the admin&nbsp;<br>for Drupal to login without CAS authentication while other arbitrary&nbsp;<br>users are validated from CAS.<br><br><br><br>Scott Matthews<br>Senior Developer<br>Optaros, Inc.<br><a href="mailto:smatthews@optaros.com">smatthews@optaros.com</a><br><br><br><br><br><br>On Feb 7, 2008, at 12:52 PM, Metzler, David wrote:<br><br>&gt; I'm the module maintainer, and can certainly help out here.<br>&gt;<br>&gt; If you're using a module where just a few should be authenticated by&nbsp;<br>&gt; cas, there's a couple of options here, but a couple of questions&nbsp;<br>&gt; will be useful:<br>&gt;<br>&gt; 1.) have you precreated the drupal accounts for these people? You&nbsp;<br>&gt; don't have to, but it'll be helpful for me to give advice.<br>&gt;<br>&gt; 2.) Are you looking for both drupal auth and cas auth to work?<br>&gt;<br>&gt; Dave<br>&gt;<br>&gt;<br>&gt; -----Original Message-----<br>&gt; From: <a href="mailto:support-bounces@drupal.org">support-bounces@drupal.org</a> on behalf of Scott Matthews<br>&gt; Sent: Thu 2/7/2008 09:15<br>&gt; To: <a href="mailto:support@drupal.org">support@drupal.org</a><br>&gt; Cc: Shawn Hainsworth<br>&gt; Subject: [support] Drupal CAS Configuration<br>&gt;<br>&gt;<br>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Has anyone had much experience with the Drupal CAS module?&nbsp; I'm<br>&gt; attempting to use it for an SSO implementation by integrating it into<br>&gt; a site that I am developing where there is a central CAS server that<br>&gt; will manage the users for all other sites we have.&nbsp; This Central CAS<br>&gt; server will have access to a central repository of user login<br>&gt; informaiton.<br>&gt;<br>&gt;<br>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The issue that I'm seeing is that there are a few specific users that<br>&gt; I have that will be maintained by Drupal and when I attempt to Login<br>&gt; as those users, it does not seem to authenticate me.&nbsp; Is this possible<br>&gt; to have it set up this way?&nbsp; Am I barking up the wrong tree?<br>&gt; --<br>&gt; [ Drupal support list | <a href="http://lists.drupal.org/">http://lists.drupal.org/</a> ]<br>&gt;<br>&gt; &lt;winmail.dat&gt;--<br>&gt; [ Drupal support list | <a href="http://lists.drupal.org/">http://lists.drupal.org/</a> ]<br><br></font></p></div></div></blockquote></div><br></div></div>-- <br>[ Drupal support list | <a href="http://lists.drupal.org/">http://lists.drupal.org/</a> ]</blockquote></div><br></body></html>