Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
forked fromaltran/_Whydah

Top-level repository for the Whydah components

License

NotificationsYou must be signed in to change notification settings

Cantara/Whydah

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Whydah is an Identity and Single Sign-On solution. Whydah that provides user and application management, advanced role-based access control and flexible integration's.

This is the top-level repository for the Whydah components.

For status of the different modules

Fork me on GitHub

Documentation

Release log

Build status

Whydah Core/Main modules
Whydah SDKs and Libraries
Whydah extensions
Whydah Example app and integration examples

Quick set-up (Using Docker on local machine)

Install docker
wget -qO- https://get.docker.com/ | sh
Start Whydah
sudo docker pull whydah/whydah-all-in-one-imagesudo docker run -it -p 80:9999 -p 9990:9990 -p 9992:9992 -p 9995:9995 -p 9996:9996 -p 9997:9997 -p 9998:9998  whydah/whydah-all-in-one-image

Start Whydah
## Start and debug whydahsudo docker run -it -p 80:9999 -p 9990:9990 -p 9992:9992 -p 9995:9995 -p 9996:9996 -p 9997:9997 -p 9998:9998  whydah/whydah-all-in-one-image /bin/bash# run ./start_whydah.sh in image
Startus of local Whydah
wget -qO- http://localhost:9998/tokenservice/healthwget -qO- http://localhost:9997/sso/healthwget -qO- http://localhost:9992/useradminservice/healthwget -qO- http://localhost:9996/useradmin/health
Run whydah in early Java9?
sudo docker pull whydah/java9-whydah-all-in-onesudo docker run -it -p 80:9999 -p 9990:9990 -p 9992:9992 -p 9995:9995 -p 9996:9996 -p 9997:9997 -p 9998:9998  whydah/java9-whydah-all-in-one

Some ready-built docker images

Some client code examples

Example code, Whydah Java SDK with automatic session management threads
WhydahApplicationSessionapplicationSession =newWhydahApplicationSssion(stsURL,appCtedential);WhydahUserSessionuSession =newWhydahUserSession(applicationSession,userCredential);if (userSession.hasRole("MyAppRole"){// do admin privilege operation}
Example RAW HTTP(S) using Apache HTTP Components Fluent API and jOOX Fluent API
//  Execute a POST to authenticate my applicationStringapplicationTokenXMlString =Request.Post("https://sso.whydah.net/sso/logon")        .bodyForm(Form.form().add("applicationcredential",myAppCred).build())        .execute().returnContent().asBytes();//  authenticate with username and password (UserCredential)StringuserTokenXMlString =Request.Post("https://sso.whydah.net/sso/user/"+appTokenID+"/"+"/usertoken/")        .bodyForm(Form.form().add("apptoken",aToken)        .add("usercredential",newUserCredential(username,password).toXML()).build())        .execute().returnContent().asBytes();// That's all you need to get a full user database, IAM/SSO, Facebook/OAUTH support ++booleanhasEmployeeRoleInMyApp =$(usertoken)        .xpath("/usertoken/application[@ID="+myApplicationId+"]/role[@name=\"Employee\"");

Sequence Diagram

Architectural Overview

Infrastructure setup components

We plan to build a software-defined network application to control and handle various configuration of Whydah production setups. As they are developed they will arrive and be listed and documented here.

Whydah node configurations

To make it easy to adopt and evolve Whydah components, we'll make ready-to use Docker containers of all the Whydah modules, both as Docker images and the corresponding Dockerfile-configurations to make it easy to just grab a complete component or adjust and build your own.

Docker: UIB configurations
Docker configurations

Ansible: Ansible Whydah provisioning

For those who prefer using Ansible to provision solutions, we suggest that you fork our generalansible provisioning repository on github and adjust it according to youur needs

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript85.8%
  • Dockerfile9.1%
  • Shell5.0%
  • HTML0.1%

[8]ページ先頭

©2009-2025 Movatter.jp