
Since the README already says to point a browser at localhost, it was surprising to see the listeners bound to 0.0.0.0 by default. Changed that and added notes in README about how to change it if the user really wants to make a test listener accessible externally. Updated output messages during startup to include the bound IP, to make this more obvious. Added a missing EOL or two.
35 lines
1014 B
Plaintext
35 lines
1014 B
Plaintext
This is a very simple setup just to check that all your gear are in order.
|
|
|
|
The setup consists of one IdP and one SP.
|
|
The IdP authenticates users by using a htpasswd plugin and gets the identity information
|
|
from the ini-plugin.
|
|
|
|
All this is in the idp/who.ini configuration file, the file used for authentication
|
|
is idp/passwd and the ini file is idp/idp_user.ini.
|
|
|
|
The passwords in passwd in clear text:
|
|
|
|
roland:friend
|
|
ozzie:two
|
|
derek:three
|
|
ryan:four
|
|
ischiro:five
|
|
|
|
The SP doesn't do anything but show you the information that the IdP sent.
|
|
|
|
To make it easy, for me :-), both the IdP and the SP uses the same keys.
|
|
|
|
To run the setup do
|
|
|
|
./all.sh start
|
|
|
|
and then use your favourite webbrowser to look at "http://localhost:8087/whoami"
|
|
|
|
Note, the listeners are all configured to bind to localhost (127.0.0.1) only.
|
|
If you want to be able to connect to them externally, grep "HOST = '127.0.0.1'"
|
|
example/*/*.py and replace 127.0.0.1 with 0.0.0.0 or a specific IP.
|
|
|
|
./all.sh stop
|
|
|
|
will of course stop your IdP and SP.
|