Advertisement
Guest User

Untitled

a guest
Jul 19th, 2016
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1. 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 -
  2.  
  3. Login to the sso server as admin/admin
  4.  
  5. Create 2 roles - "user" and "admin"
  6.  
  7. Add those roles to the "helloworld" user
  8.  
  9. Under realm settings, copy the public key and use it here. You will also need to change the hostnames to match your env
  10.  
  11. 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