Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- oc process -f sso/sso70-postgresql.json -v SSO_REALM=demo,SSO_SERVICE_USERNAME=helloworld,SSO_SERVICE_PASSWORD=password,HTTPS_NAME=jboss,HTTPS_PASSWORD=mykeystorepass | oc create -f -
- Login to the sso server as admin/admin
- Create 2 roles - "user" and "admin"
- Add those roles to the "helloworld" user
- Under realm settings, copy the public key and use it here. You will also need to change the hostnames to match your env
- oc process -f eap/eap70-sso-s2i.json -v APPLICATION_NAME=helloworld,SSO_URL=https://secure-sso-demo.cloudapps.example.com/auth,SSO_REALM=demo,SSO_PUBLIC_KEY=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsAIK6zyc//Shg/JtZWGv/WKvt+j2Pd2YZAM/7QzMEsLH0ww3+/3ozbrptosq+ybv/vMDUnVFAn1dZaMr71BSKmYM4cSYNIq/NgMQDRJ3EaiUB1LciKveEDpMKum9Use/dJZQzBw/AcPznIIwfZ7N7Ej9isGWNIAJ+npI8Z9lxjIRFy6WxFECvC8310lH0Q565OA3+cnHFA6/JQgqPWpMJ9Wm4+wSnRw5mzeRRBqLPgKx6S6BdsPoy/J8WTZO/KaNbNUJF/EFfeMIUbksRnGexO/7Ip18hui3SHpD6Nh5rKlymGhlGmaaAy09Acsso5UsekLBsYdWV6/P1sp2jhRriQIDAQAB,SSO_USERNAME=helloworld,SSO_PASSWORD=password,HOSTNAME_HTTPS=secure-helloworld-demo.cloudapps.example.com,HOSTNAME_HTTP=helloworld-demo.cloudapps.example.com,HTTPS_NAME=jboss,HTTPS_PASSWORD=mykeystorepass | oc create -f -
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement