Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DO NOT MERGE - Show the differences needed to get working + integrated with ES/Kib #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

AlexP-Elastic
Copy link
Owner

@AlexP-Elastic AlexP-Elastic commented Feb 7, 2018

Related: https://github.com/elastic/cloud/issues/11401

To run this branch (eg in a VM):

  • Add idptestbed to the /etc/hosts
    • (eg as one of the internal IPs of the host - would need to change that in a few places to get it working as something externally addressible)
  • In the top-level directory:
    • run docker-compose build (first time/after any changes to the config files)
    • docker-compose up (subsequent times)
      • (note that I had to docker compose rm after CTRL+Cing)
  • In the elasticsearch testbed directory:
    • docker-compose up
  • Then bring up a browser on the VM and navigate to http://idptestbed:5601 to login to Kibana (https://idptestbed will take you to the default IDP testbed)
    • Login as any username, with the same password
      • (eg alex/alex authenticates, alex/banana doesn't)
    • note that I didn't add any groups so this only shows authentication as uid: 1
      • You can change code in dummy-jaas-loginmodule to add other attributes (which then need to get added to the attrbute resolver, eg, (principalAttributeName is the name it's been given in dummy-jaas-loginmodule)

@@ -0,0 +1,216 @@
<?xml version="1.0" encoding="UTF-8"?>
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(this is just a copy of the idp-metadata.xml from the IDP image)

@AlexP-Elastic AlexP-Elastic force-pushed the alexp-sample-idp-config branch from 209c56b to b9f8e67 Compare February 7, 2018 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant