davideuler / gss

Automatically exported from code.google.com/p/gss
Other
0 stars 0 forks source link

extending GSS with plugins possible? #90

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I have a question about the possibility to write some kind of plugin or 
extension for GSS that could for example based on some (new) shibboleth 
attributes perform some actions inside GSS. 
What I am trying to do is extend login part of GSS without modifying the gss 
code, with some sort of plugin that for example can add user to certain group 
on login if value of given shibboleth attribute is set.

Regards,
Nikola

Original issue reported on code.google.com by ngara...@gmail.com on 11 Apr 2011 at 9:25

GoogleCodeExporter commented 8 years ago
Hi Nikola,

We have discussed quite a few times this possibility internally and we would 
love to have a pluggable authentication module architecture (no only for 
Shibboleth, but for LDAP and other mechanisms). As much as we want it, we do 
not have the required funding right now. We will eventually get there, 
especially if and when we find a sponsor for a more generic gss project (and 
not tightly coupled to the needs of GRNet our great sponsor).

Meanwhile, the only way to do it, is to change the code yourself. Just clone 
the source code and have a specific local branch with your own shibboleth 
module. You can still merge changes from our repository and have your own 
version for your specific needs. Better yet, we can then try to merge your 
changes back to the gss codebase and start this ideal pluggable approach. If 
you choose to walk down this road, I suggest you use git for your repo, it is 
easier to transfer/merge changesets. Christos has a useful blog post on that 
here: 
http://chstath.blogspot.com/2010/11/inter-operation-of-mercurial-and-git.html

Original comment by fstamate...@gmail.com on 11 Apr 2011 at 1:48

GoogleCodeExporter commented 8 years ago

Original comment by fstamate...@gmail.com on 12 Apr 2011 at 7:52