Active
Project:
Siteminder
Version:
6.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
18 Oct 2010 at 19:26 UTC
Updated:
19 Apr 2017 at 17:49 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
netw3rker commentedWe have yet to bite the bullet and started on d7 plans yet. The code is pretty simple and should be able to take advantage of the new authentication layers in d7 much better, so it should be an easy upgrade. If you are interested in helping out, we can get a d7 branch set up to work off of.
Comment #2
shadgun commentedI'm interested in helping out. I'm not overly familiar with the security internals of D7, but I am with SiteMinder.
Comment #3
GaryWong commentedI'm available to help out (if this old thread is still valid)...
Comment #4
mrgcohen commentedIs this currently being worked on?
Comment #5
BigEd commentedI might need this for a project, I will take a look at trying to bring this up to D7.
Comment #6
BigEd commentedCan you get a d7 branch set up to work off then?
Comment #7
jpklein commentedTo get the ball rolling, here's a patch file created by taking the code from the master branch of the git repo and running it through Coder Upgrade: once through the coding standards filter, then again through the core API 6 to 7 upgrade routine.
@Ian Ward, @netw3rker - Could you please open a new 7.x-1.x-dev branch from master and commit this patch? My company requires a Drupal 7 version of this module, so we'll be upgrading it over the coming weeks. Going forward, we'd like to contribute back with more patches against that branch.
Thanks!
UPDATE: I've created a sandbox project from a fork of the master branch. If anyone on this thread would like to help out, just ping me for maintainer access.
Comment #8
netw3rker commentedGood to see some interest in this! The d7 branch is now available (but not on the project page), I've got some un allocated work time coming up that I'd like to devote to this. (hint hint @jpklein). I'll be scoping out a level of effort with my PM on this over the next couple of days.
I've gotta figure out how to attribute people to patches so they get some credit, so my apologies if your patches don't show you right away, I swear i'm not trying to steal credit! :)
-Chris
Comment #9
jfmathieu commentedHi @netw3rker and @jpklein,
One of my project will need the SiteMinder module for the D7 install.
I'm interested to know what is the possible time frame (1 month, 3 month, 6 month,...) to have a production version of the module from your point of view. I know that the project move forward with the spear time of the community but I'm just asking to have an idea and if I could help.
I know this could be a hard question but it could help me out to plan my project.
Thank you for your help
Comment #10
turek commentedI am also dealing with this now, thanks jpklein for your sandbox project.
Can you guys help me out on how to set up some SiteMinder Agent so I can actually test it?
Thanks.
Comment #11
netw3rker commented@ jfmathieu I've got a few commits to apply to the d7 branch, before making a -beta tagged release. If you want to try whats out there now, you can either use jpkleins fork, or the d7 branch that is in the git repo. I hope to have the beta release up by mid next week while @ drupalcon munich.
-Chris
Comment #12
jcalcazar commentedHi, I have successfully implemented the d7 branch on Drupal 7 version, I only face an issue with this module as it was showing the message "Your browser is not sending a Siteminder ID. Unable to proceed."
The problem was related to the siteminder map when is loaded using ctools. The object returned is now inside the array "Siteminder ID Map" so I fixed extracting the stdClass object and I was able to login the site after this change:
function siteminder_map_load($name = '') {
$args = array();
$name ? $type = 'all' : $type = 'names';
if ($type == 'names') {
$args = array('name' => $name);
}
if (module_exists('ctools')) {
ctools_include('export');
$map = ctools_export_load_object('siteminder_map', $type, $args, $reset);
$map = $map['Siteminder ID Map'];
// If just fetching one mapping, queue it up.
if ($type == 'names' && count($args['name']) == 1) {
return array_shift($map);
}
else {
return $map;
}
}
// Fallback if not using Ctools.
else {
$map = array();
if ($type == 'all') {
$query = db_query("SELECT * from {siteminder_map}");
}
else {
$query = db_query("SELECT * from {siteminder_map} WHERE name = :name", array(':name' => $name));
}
while ($result = db_fetch_object($query)) {
// If not using ctools, all maps are of type Normal.
$result->type = 'Normal';
$map[$result->name] = $result;
}
return $map;
}
}
This worked for me so I hope this helps someone else.
Cheers!
Comment #13
steve.neill commentedHello,
I'm curious to know if/when the D7 version will appear as a release on the Drupal site. I realize there is a sandbox version, but are there plans to make this "official" in any way soon?
Thanks,
Steve
Comment #14
beautifulmindHello Steve,
The stable release in 7.x branch is set to release. Some testing is going on.
Regards.
Comment #15
beautifulmindComment #16
sylvain lecoy commentedAny news on this ?
Comment #17
netw3rker commentedHi Everyone,
There has been a 7.x branch in version control for a while. I've made a 7.x-1.x-dev release now. please test it and get any patches in soon. I'll say we should target a formal release on 2/15/13.
Thanks for your patience!
-Chris
Comment #18
ryan.armstrong commentedI just wanted to let everyone know that I have taken over as the maintainer for this module and will be working to get a release going soon. I am currently reviewing the patches and code from this issue. I'll keep you guys updated.
Comment #19
sylvain lecoy commentedI written a 150 lines module for my client, without mapping and co but very performant.
Comment #20
ryan.armstrong commentedYea the current 2.x branch which I just pushed out a DEV release for does basic authentication. It doesn't support profiles or anything else, but you can authenticate with it. I might push out a 1.0 based on just that and then add new features in later versions. But I need to go through what was done to convert the current 1.x branch to see if I can pull over some of the other features.
Comment #21
elusivemind commentedI am likely to pick up the ball somewhat on this. I am building a site using SideMinder and the Drupal 7 module doesn't have enough functionality. I need something like the Drupal 6 module so I may just do a straight up-port. Is this project still maintained?