Setup of the local development for Shibboleth and the corresponding development of plugins for Shibboleth
Simone Avogadro
simone.avogadro at mindmercatis.com
Wed Oct 12 13:23:51 UTC 2022
Hi Michael and welcome into the Shibboleth world :-)
Scott will surely share more usefully insights but let me just share some
hints:
- for development purposes just install an IDP instance locally to your
developer machine (windows or linux?)
- the installation process will build ad idp.war file which you'll be
deploying somewhere (jetty is the consortium's preferred env but we use
tomcat without issues)
- most of the relevant configs will be in $shibbolethhome\conf . Most
the key configs can be attained by means of configuring
<something>.properties files, more advanced configuration will require
configuring some xml files
- you can use whatever you see fit for LDAP/DB etc.... our factory uses
both container based environments and local-machine installed environments:
in the end you'll need some configuration management approaches to be
applied both ways
- "connect" your dev env to the shibboleth config and... there you go!
:-)
more in detail the high level steps to configure your environment:
- download the IDP (
https://shibboleth.net/downloads/identity-provider/latest/)
- unzip into a folder (eg. c:\temp\idp_unzip)
- install into info a folder (e.g. start
c:\temp\idp_unzip\bin\install.bat and later specify c:\apps\shibboleth\idp
as target folder)
- create a project in your dev env (e.g. Eclipse)
- create a web project whose objective is to build a webapp, it will
contain both web pages and java classes
- point a subfolder (.e.g linked resources in Eclipse) to the conf
folder where most configs will be (es. c:\apps\shibboleth\idp\conf)
- create some batches that
- builds your classes and places everything within
c:\apps\shibboleth\idp\edit-webapp
- rebuilds the shibboleth idp.war (thru
c:\apps\shibboleth\bin\build.bat)
- deploys the war in the appropriate local web container (e.g.
c:\apps\tomcat\webapps)
- starts the container
- configure the web container to allow attaching a debugger (e.g. on
port 8000)
- configure Eclipse to connect to the running tomcat instance in order
to be able to debug live the config
I'm pretty curious about your efforts toward the Shared Signal and Events
Framework: is this a theorica thesis or do you have some
commercial/industrial sponsor for that effort?
Il giorno mer 12 ott 2022 alle ore 14:31 Fuchs, Michael <
michael.fuchs at hm.edu> ha scritto:
> Good day,
>
> I am an employee of the Central IT of the University of Applied Sciences
> Munich and at the same time I will write my master thesis of the IT
> Security course in the research project "Zero Trust Networking" of Prof.
> Dr. Thomas Schreck. Specifically, I would like to implement the Shared
> Signal and Events Framework (https://sharedsignals.guide/) of the OpenID
> Foundation within Shibboleth as a proof-of-concept.
>
> In the last weeks I was able to familiarize myself with the Confluence
> pages of the Shibboleth project as well as the training material of the DFN
> (). Furthermore I was able to have a look at some code.
>
> The next thing I would like to do is to enable a local development
> environment of Shibboleth, so I can get it running in my development
> environment. In this context I have the following questions:
>
> - I would like to know how you build the setup for local development
> of Shibboleth as well as for the associated plugins?
> - Do you use a docker-compose stack for all dependencies, such as
> database, LDAP, etc.?
> - Which of the project's java-identity-provider artifacts will be
> deployed inside Tomcat?
> - What arguments, configurations, or even env variables are used to
> start Shibboleth during development?
> - Can you provide me with further documentation or help so that I can
> start developing?
>
>
> Thanks in advance for answering the questions.
>
> I am especially looking forward to an exchange with you.
>
> Best regards,
> Michael Fuchs
>
> —
> Michael Fuchs - Central IT
> Munich University of Applied Sciences
> Lothstr. 34, 80335 Munich, G1.18c
> T +49 89 1265-1746
> https://hm.edu <https://www.hm.edu/en/index~1.en.html> |
> https://hm.edu/data_protection_declaration
> <https://www.hm.edu/en/impressum_1/data_protection/data_protection_declaration.en.html>
>
> --
> To unsubscribe from this list send an email to
> dev-unsubscribe at shibboleth.net
>
--
*Simone Avogadro*
*CEO*
Mobile*: **+39 393 892 1387*
Twitter*: @mindmercatis*
<http://www.mindmercatis.com>
Questo messaggio è ad uso esclusivo di colui al quale è indirizzato, e
potrebbe contenere informazioni riservate. Se avete ricevuto questa e-mail
per errore, ci scusiamo per l'accaduto e Vi invitiamo cortesemente a
darcene notizia e a distruggere il messaggio ricevuto. Vi ricordiamo che la
diffusione, l'utilizzo e/o la conservazione dei dati ricevuti per errore
costituiscono violazioni alle disposizioni del Decreto legislativo n.
196/2003 - "Codice in materia di protezione dei dati personali"
This communication is intended only for use by the addressee. It may
contain confidential and privileged information. If you received this
communication unintentionally, please inform us immediately and please
destroy this document. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/dev/attachments/20221012/efdc3bca/attachment.htm>
More information about the dev
mailing list