├── Sample_WebApp ├── webapp │ ├── less │ │ ├── mixins.less │ │ └── variables.less │ ├── sass │ │ ├── _mixins.scss │ │ └── _variables.scss │ ├── img │ │ ├── Thumbs.db │ │ ├── step1.png │ │ ├── step2.png │ │ ├── step3.png │ │ ├── step4.png │ │ ├── step5.png │ │ ├── step6.png │ │ ├── step7.png │ │ ├── intro-bg.jpg │ │ ├── downloads-bg.jpg │ │ └── map-marker.png │ ├── css │ │ └── samlsample.css │ ├── vendor │ │ ├── font-awesome │ │ │ ├── fonts │ │ │ │ ├── FontAwesome.otf │ │ │ │ ├── fontawesome-webfont.eot │ │ │ │ ├── fontawesome-webfont.ttf │ │ │ │ ├── fontawesome-webfont.woff │ │ │ │ └── fontawesome-webfont.woff2 │ │ │ ├── less │ │ │ │ ├── screen-reader.less │ │ │ │ ├── fixed-width.less │ │ │ │ ├── larger.less │ │ │ │ ├── list.less │ │ │ │ ├── core.less │ │ │ │ ├── stacked.less │ │ │ │ ├── font-awesome.less │ │ │ │ ├── bordered-pulled.less │ │ │ │ ├── rotated-flipped.less │ │ │ │ ├── path.less │ │ │ │ ├── animated.less │ │ │ │ └── mixins.less │ │ │ └── scss │ │ │ │ ├── _fixed-width.scss │ │ │ │ ├── _screen-reader.scss │ │ │ │ ├── _larger.scss │ │ │ │ ├── _list.scss │ │ │ │ ├── _core.scss │ │ │ │ ├── font-awesome.scss │ │ │ │ ├── _stacked.scss │ │ │ │ ├── _bordered-pulled.scss │ │ │ │ ├── _rotated-flipped.scss │ │ │ │ ├── _path.scss │ │ │ │ ├── _animated.scss │ │ │ │ └── _mixins.scss │ │ └── bootstrap │ │ │ └── fonts │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ └── glyphicons-halflings-regular.woff2 │ ├── WEB-INF │ │ └── web.xml │ ├── js │ │ ├── grayscale.min.js │ │ └── grayscale.js │ ├── ssoLogin.jsp │ ├── ssoLoginByPostBinding.jsp │ ├── userpage.jsp │ ├── error.jsp │ ├── index.jsp │ ├── logout.jsp │ ├── idpLogin.jsp │ ├── idpDiscovery.jsp │ └── headertpl.html ├── .DS_Store ├── src │ └── main │ │ └── java │ │ ├── sslkeystore │ │ └── com │ │ └── omnissa │ │ └── eucenablement │ │ └── sample │ │ └── MySSO.java ├── .project └── .classpath ├── Sample_AppOAuth ├── webapp │ ├── less │ │ ├── mixins.less │ │ └── variables.less │ ├── sass │ │ ├── _mixins.scss │ │ └── _variables.scss │ ├── img │ │ ├── Thumbs.db │ │ ├── step1.png │ │ ├── step2.png │ │ ├── step3.png │ │ ├── intro-bg.jpg │ │ ├── map-marker.png │ │ └── downloads-bg.jpg │ ├── css │ │ └── samlsample.css │ ├── vendor │ │ ├── font-awesome │ │ │ ├── fonts │ │ │ │ ├── FontAwesome.otf │ │ │ │ ├── fontawesome-webfont.eot │ │ │ │ ├── fontawesome-webfont.ttf │ │ │ │ ├── fontawesome-webfont.woff │ │ │ │ └── fontawesome-webfont.woff2 │ │ │ ├── less │ │ │ │ ├── fixed-width.less │ │ │ │ ├── screen-reader.less │ │ │ │ ├── larger.less │ │ │ │ ├── list.less │ │ │ │ ├── core.less │ │ │ │ ├── stacked.less │ │ │ │ ├── font-awesome.less │ │ │ │ ├── bordered-pulled.less │ │ │ │ ├── rotated-flipped.less │ │ │ │ ├── path.less │ │ │ │ ├── animated.less │ │ │ │ └── mixins.less │ │ │ └── scss │ │ │ │ ├── _fixed-width.scss │ │ │ │ ├── _screen-reader.scss │ │ │ │ ├── _larger.scss │ │ │ │ ├── _list.scss │ │ │ │ ├── _core.scss │ │ │ │ ├── font-awesome.scss │ │ │ │ ├── _stacked.scss │ │ │ │ ├── _bordered-pulled.scss │ │ │ │ ├── _rotated-flipped.scss │ │ │ │ ├── _path.scss │ │ │ │ ├── _animated.scss │ │ │ │ └── _mixins.scss │ │ └── bootstrap │ │ │ └── fonts │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ └── glyphicons-halflings-regular.woff2 │ ├── WEB-INF │ │ └── web.xml │ ├── js │ │ ├── grayscale.min.js │ │ └── grayscale.js │ ├── ssoLogin.jsp │ ├── ssoLoginByPostBinding.jsp │ ├── idpDiscovery.jsp │ ├── error.jsp │ ├── index.jsp │ ├── logout.jsp │ ├── userpage.jsp │ ├── idpLogin.jsp │ └── headertpl.html ├── src │ └── main │ │ └── java │ │ ├── sslkeystore │ │ └── com │ │ └── omnissa │ │ └── eucenablement │ │ └── sample │ │ └── SslUtilities.java ├── .project └── .classpath ├── Sample_AuthServer ├── webapp │ ├── less │ │ ├── mixins.less │ │ └── variables.less │ ├── sass │ │ ├── _mixins.scss │ │ └── _variables.scss │ ├── img │ │ ├── Thumbs.db │ │ ├── intro-bg.jpg │ │ ├── map-marker.png │ │ ├── downloads-bg.jpg │ │ ├── idp_config_step1.png │ │ ├── idp_config_step2.png │ │ ├── idp_config_step3.png │ │ ├── idp_config_step4.png │ │ ├── idp_config_step5.png │ │ ├── idp_config_step6.png │ │ ├── idp_config_step7.png │ │ └── idp_config_step8.png │ ├── css │ │ └── samlsample.css │ ├── vendor │ │ ├── font-awesome │ │ │ ├── fonts │ │ │ │ ├── FontAwesome.otf │ │ │ │ ├── fontawesome-webfont.eot │ │ │ │ ├── fontawesome-webfont.ttf │ │ │ │ ├── fontawesome-webfont.woff │ │ │ │ └── fontawesome-webfont.woff2 │ │ │ ├── less │ │ │ │ ├── screen-reader.less │ │ │ │ ├── fixed-width.less │ │ │ │ ├── larger.less │ │ │ │ ├── list.less │ │ │ │ ├── core.less │ │ │ │ ├── stacked.less │ │ │ │ ├── font-awesome.less │ │ │ │ ├── bordered-pulled.less │ │ │ │ ├── rotated-flipped.less │ │ │ │ ├── path.less │ │ │ │ ├── animated.less │ │ │ │ └── mixins.less │ │ │ └── scss │ │ │ │ ├── _fixed-width.scss │ │ │ │ ├── _screen-reader.scss │ │ │ │ ├── _larger.scss │ │ │ │ ├── _list.scss │ │ │ │ ├── _core.scss │ │ │ │ ├── font-awesome.scss │ │ │ │ ├── _stacked.scss │ │ │ │ ├── _bordered-pulled.scss │ │ │ │ ├── _rotated-flipped.scss │ │ │ │ ├── _path.scss │ │ │ │ ├── _animated.scss │ │ │ │ └── _mixins.scss │ │ └── bootstrap │ │ │ └── fonts │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ └── glyphicons-halflings-regular.woff2 │ ├── WEB-INF │ │ └── web.xml │ ├── js │ │ ├── grayscale.min.js │ │ └── grayscale.js │ ├── logout.jsp │ ├── error.jsp │ └── headertpl.html ├── src │ └── main │ │ └── java │ │ ├── sslkeystore │ │ └── com │ │ └── omnissa │ │ └── eucenablement │ │ └── sample │ │ └── idp │ │ ├── MyIDP.java │ │ └── SslUtilities.java ├── .classpath └── .project ├── Sample_ServerOAuth ├── webapp │ ├── less │ │ ├── mixins.less │ │ └── variables.less │ ├── sass │ │ ├── _mixins.scss │ │ └── _variables.scss │ ├── css │ │ └── samlsample.css │ ├── img │ │ ├── Thumbs.db │ │ ├── intro-bg.jpg │ │ ├── downloads-bg.jpg │ │ ├── map-marker.png │ │ ├── wechat_step1.png │ │ ├── wechat_step2.png │ │ ├── wechat_step3.png │ │ ├── wechat_step4.png │ │ ├── wechat_step5.png │ │ ├── weChat_user_id.png │ │ ├── idp_config_step1.png │ │ ├── idp_config_step2.png │ │ ├── idp_config_step3.png │ │ ├── idp_config_step4.png │ │ ├── idp_config_step5.png │ │ ├── idp_config_step6.png │ │ ├── idp_config_step7.png │ │ └── idp_config_step8.png │ ├── vendor │ │ ├── font-awesome │ │ │ ├── fonts │ │ │ │ ├── FontAwesome.otf │ │ │ │ ├── fontawesome-webfont.eot │ │ │ │ ├── fontawesome-webfont.ttf │ │ │ │ ├── fontawesome-webfont.woff │ │ │ │ └── fontawesome-webfont.woff2 │ │ │ ├── less │ │ │ │ ├── screen-reader.less │ │ │ │ ├── fixed-width.less │ │ │ │ ├── larger.less │ │ │ │ ├── list.less │ │ │ │ ├── core.less │ │ │ │ ├── stacked.less │ │ │ │ ├── font-awesome.less │ │ │ │ ├── bordered-pulled.less │ │ │ │ ├── rotated-flipped.less │ │ │ │ ├── path.less │ │ │ │ ├── animated.less │ │ │ │ └── mixins.less │ │ │ └── scss │ │ │ │ ├── _fixed-width.scss │ │ │ │ ├── _screen-reader.scss │ │ │ │ ├── _larger.scss │ │ │ │ ├── _list.scss │ │ │ │ ├── _core.scss │ │ │ │ ├── font-awesome.scss │ │ │ │ ├── _stacked.scss │ │ │ │ ├── _bordered-pulled.scss │ │ │ │ ├── _rotated-flipped.scss │ │ │ │ ├── _path.scss │ │ │ │ ├── _animated.scss │ │ │ │ └── _mixins.scss │ │ └── bootstrap │ │ │ └── fonts │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ └── glyphicons-halflings-regular.woff2 │ ├── WEB-INF │ │ └── web.xml │ ├── js │ │ ├── grayscale.min.js │ │ └── grayscale.js │ ├── samlrequest.xml │ ├── ssoLogin.jsp │ ├── ssoLoginByPostBinding.jsp │ ├── error.jsp │ ├── index.jsp │ ├── logout.jsp │ ├── spDiscovery.jsp │ └── headertpl.html ├── usermap.conf ├── src │ └── main │ │ └── java │ │ ├── sslkeystore │ │ └── com │ │ └── omnissa │ │ └── eucenablement │ │ └── sample │ │ ├── idp │ │ ├── MyIDP.java │ │ └── SslUtilities.java │ │ └── MySSO.java ├── .project └── .classpath ├── SamlToolkit ├── .gitignore ├── src │ ├── main │ │ └── java │ │ │ ├── sslkeystore │ │ │ └── com │ │ │ └── omnissa │ │ │ ├── eucenablement │ │ │ ├── oauth │ │ │ │ ├── OAuthException.java │ │ │ │ └── OAuth2Config.java │ │ │ └── saml │ │ │ │ ├── api │ │ │ │ ├── IdpSsoMetadata.java │ │ │ │ ├── IdpLogoutMetadata.java │ │ │ │ └── IdpMainMetadata.java │ │ │ │ └── impl │ │ │ │ ├── VidmSamlConstants.java │ │ │ │ ├── IdpSsoMetadataImpl.java │ │ │ │ └── IdpSingleLogoutMetadataImpl.java │ │ │ └── samltoolkit │ │ │ ├── idp │ │ │ └── SAMLSsoRequest.java │ │ │ └── SAMLSsoResponse.java │ └── test │ │ └── java │ │ └── com │ │ └── vmware │ │ └── eucenablement │ │ └── AppTest.java ├── .project └── .classpath ├── .DS_Store ├── img ├── mvnbuild1.png ├── mvnbuild2.png └── runserver.png ├── .gitignore ├── .project ├── VIDM SAML_NOTICE.txt ├── LICENSE ├── CONTRIBUTING.md └── pom.xml /Sample_WebApp/webapp/less/mixins.less: -------------------------------------------------------------------------------- 1 | // Mixins -------------------------------------------------------------------------------- /Sample_WebApp/webapp/sass/_mixins.scss: -------------------------------------------------------------------------------- 1 | // Mixins -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/less/mixins.less: -------------------------------------------------------------------------------- 1 | // Mixins -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/sass/_mixins.scss: -------------------------------------------------------------------------------- 1 | // Mixins -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/less/mixins.less: -------------------------------------------------------------------------------- 1 | // Mixins -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/sass/_mixins.scss: -------------------------------------------------------------------------------- 1 | // Mixins -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/less/mixins.less: -------------------------------------------------------------------------------- 1 | // Mixins -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/sass/_mixins.scss: -------------------------------------------------------------------------------- 1 | // Mixins -------------------------------------------------------------------------------- /SamlToolkit/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | /target 3 | .settings/ 4 | /.settings 5 | 6 | -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/less/variables.less: -------------------------------------------------------------------------------- 1 | // Variables 2 | 3 | @primary: #42DCA3; -------------------------------------------------------------------------------- /Sample_WebApp/webapp/less/variables.less: -------------------------------------------------------------------------------- 1 | // Variables 2 | 3 | @primary: #42DCA3; -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/sass/_variables.scss: -------------------------------------------------------------------------------- 1 | // Variables 2 | 3 | $primary: #42DCA3; 4 | -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/less/variables.less: -------------------------------------------------------------------------------- 1 | // Variables 2 | 3 | @primary: #42DCA3; -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/less/variables.less: -------------------------------------------------------------------------------- 1 | // Variables 2 | 3 | @primary: #42DCA3; -------------------------------------------------------------------------------- /Sample_WebApp/webapp/sass/_variables.scss: -------------------------------------------------------------------------------- 1 | // Variables 2 | 3 | $primary: #42DCA3; 4 | -------------------------------------------------------------------------------- /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/.DS_Store -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/sass/_variables.scss: -------------------------------------------------------------------------------- 1 | // Variables 2 | 3 | $primary: #42DCA3; 4 | -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/sass/_variables.scss: -------------------------------------------------------------------------------- 1 | // Variables 2 | 3 | $primary: #42DCA3; 4 | -------------------------------------------------------------------------------- /img/mvnbuild1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/img/mvnbuild1.png -------------------------------------------------------------------------------- /img/mvnbuild2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/img/mvnbuild2.png -------------------------------------------------------------------------------- /img/runserver.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/img/runserver.png -------------------------------------------------------------------------------- /Sample_WebApp/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_WebApp/.DS_Store -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | /target 3 | .settings/ 4 | /.settings 5 | /bin/ 6 | .idea/ 7 | */*.iml 8 | *.iml 9 | .DS_Store 10 | -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/img/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_AppOAuth/webapp/img/Thumbs.db -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/img/step1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_AppOAuth/webapp/img/step1.png -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/img/step2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_AppOAuth/webapp/img/step2.png -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/img/step3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_AppOAuth/webapp/img/step3.png -------------------------------------------------------------------------------- /Sample_WebApp/webapp/img/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_WebApp/webapp/img/Thumbs.db -------------------------------------------------------------------------------- /Sample_WebApp/webapp/img/step1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_WebApp/webapp/img/step1.png -------------------------------------------------------------------------------- /Sample_WebApp/webapp/img/step2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_WebApp/webapp/img/step2.png -------------------------------------------------------------------------------- /Sample_WebApp/webapp/img/step3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_WebApp/webapp/img/step3.png -------------------------------------------------------------------------------- /Sample_WebApp/webapp/img/step4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_WebApp/webapp/img/step4.png -------------------------------------------------------------------------------- /Sample_WebApp/webapp/img/step5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_WebApp/webapp/img/step5.png -------------------------------------------------------------------------------- /Sample_WebApp/webapp/img/step6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_WebApp/webapp/img/step6.png -------------------------------------------------------------------------------- /Sample_WebApp/webapp/img/step7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_WebApp/webapp/img/step7.png -------------------------------------------------------------------------------- /SamlToolkit/src/main/java/sslkeystore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/SamlToolkit/src/main/java/sslkeystore -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/img/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_AuthServer/webapp/img/Thumbs.db -------------------------------------------------------------------------------- /Sample_WebApp/webapp/css/samlsample.css: -------------------------------------------------------------------------------- 1 | .black-background { 2 | background: #333 !important; 3 | } 4 | 5 | .green-font { 6 | color: #42DCA3; 7 | } -------------------------------------------------------------------------------- /Sample_WebApp/webapp/img/intro-bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_WebApp/webapp/img/intro-bg.jpg -------------------------------------------------------------------------------- /Sample_AppOAuth/src/main/java/sslkeystore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_AppOAuth/src/main/java/sslkeystore -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/css/samlsample.css: -------------------------------------------------------------------------------- 1 | .black-background { 2 | background: #333 !important; 3 | } 4 | 5 | .green-font { 6 | color: #42DCA3; 7 | } -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/img/intro-bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_AppOAuth/webapp/img/intro-bg.jpg -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/img/map-marker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_AppOAuth/webapp/img/map-marker.png -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/css/samlsample.css: -------------------------------------------------------------------------------- 1 | .black-background { 2 | background: #333 !important; 3 | } 4 | 5 | .green-font { 6 | color: #42DCA3; 7 | } -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/img/intro-bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_AuthServer/webapp/img/intro-bg.jpg -------------------------------------------------------------------------------- /Sample_ServerOAuth/usermap.conf: -------------------------------------------------------------------------------- 1 | # You can map openid to username here 2 | # Format: key = value 3 | 4 | openid1 = user1 5 | openid2 = user2 6 | 7 | -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/css/samlsample.css: -------------------------------------------------------------------------------- 1 | .black-background { 2 | background: #333 !important; 3 | } 4 | 5 | .green-font { 6 | color: #42DCA3; 7 | } -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/img/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_ServerOAuth/webapp/img/Thumbs.db -------------------------------------------------------------------------------- /Sample_WebApp/src/main/java/sslkeystore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_WebApp/src/main/java/sslkeystore -------------------------------------------------------------------------------- /Sample_WebApp/webapp/img/downloads-bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_WebApp/webapp/img/downloads-bg.jpg -------------------------------------------------------------------------------- /Sample_WebApp/webapp/img/map-marker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_WebApp/webapp/img/map-marker.png -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/img/downloads-bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_AppOAuth/webapp/img/downloads-bg.jpg -------------------------------------------------------------------------------- /Sample_AuthServer/src/main/java/sslkeystore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_AuthServer/src/main/java/sslkeystore -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/img/map-marker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_AuthServer/webapp/img/map-marker.png -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/img/intro-bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_ServerOAuth/webapp/img/intro-bg.jpg -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/img/downloads-bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_AuthServer/webapp/img/downloads-bg.jpg -------------------------------------------------------------------------------- /Sample_ServerOAuth/src/main/java/sslkeystore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_ServerOAuth/src/main/java/sslkeystore -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/img/downloads-bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_ServerOAuth/webapp/img/downloads-bg.jpg -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/img/map-marker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_ServerOAuth/webapp/img/map-marker.png -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/img/wechat_step1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_ServerOAuth/webapp/img/wechat_step1.png -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/img/wechat_step2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_ServerOAuth/webapp/img/wechat_step2.png -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/img/wechat_step3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_ServerOAuth/webapp/img/wechat_step3.png -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/img/wechat_step4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_ServerOAuth/webapp/img/wechat_step4.png -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/img/wechat_step5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_ServerOAuth/webapp/img/wechat_step5.png -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/img/weChat_user_id.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_ServerOAuth/webapp/img/weChat_user_id.png -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/img/idp_config_step1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_AuthServer/webapp/img/idp_config_step1.png -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/img/idp_config_step2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_AuthServer/webapp/img/idp_config_step2.png -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/img/idp_config_step3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_AuthServer/webapp/img/idp_config_step3.png -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/img/idp_config_step4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_AuthServer/webapp/img/idp_config_step4.png -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/img/idp_config_step5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_AuthServer/webapp/img/idp_config_step5.png -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/img/idp_config_step6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_AuthServer/webapp/img/idp_config_step6.png -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/img/idp_config_step7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_AuthServer/webapp/img/idp_config_step7.png -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/img/idp_config_step8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_AuthServer/webapp/img/idp_config_step8.png -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/img/idp_config_step1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_ServerOAuth/webapp/img/idp_config_step1.png -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/img/idp_config_step2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_ServerOAuth/webapp/img/idp_config_step2.png -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/img/idp_config_step3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_ServerOAuth/webapp/img/idp_config_step3.png -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/img/idp_config_step4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_ServerOAuth/webapp/img/idp_config_step4.png -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/img/idp_config_step5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_ServerOAuth/webapp/img/idp_config_step5.png -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/img/idp_config_step6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_ServerOAuth/webapp/img/idp_config_step6.png -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/img/idp_config_step7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_ServerOAuth/webapp/img/idp_config_step7.png -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/img/idp_config_step8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_ServerOAuth/webapp/img/idp_config_step8.png -------------------------------------------------------------------------------- /Sample_WebApp/webapp/vendor/font-awesome/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_WebApp/webapp/vendor/font-awesome/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/vendor/font-awesome/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_AppOAuth/webapp/vendor/font-awesome/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/vendor/font-awesome/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_AuthServer/webapp/vendor/font-awesome/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /Sample_WebApp/webapp/vendor/font-awesome/less/screen-reader.less: -------------------------------------------------------------------------------- 1 | // Screen Readers 2 | // ------------------------- 3 | 4 | .sr-only { .sr-only(); } 5 | .sr-only-focusable { .sr-only-focusable(); } 6 | -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/vendor/font-awesome/less/fixed-width.less: -------------------------------------------------------------------------------- 1 | // Fixed Width Icons 2 | // ------------------------- 3 | .@{fa-css-prefix}-fw { 4 | width: (18em / 14); 5 | text-align: center; 6 | } 7 | -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/vendor/font-awesome/less/screen-reader.less: -------------------------------------------------------------------------------- 1 | // Screen Readers 2 | // ------------------------- 3 | 4 | .sr-only { .sr-only(); } 5 | .sr-only-focusable { .sr-only-focusable(); } 6 | -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/vendor/font-awesome/less/screen-reader.less: -------------------------------------------------------------------------------- 1 | // Screen Readers 2 | // ------------------------- 3 | 4 | .sr-only { .sr-only(); } 5 | .sr-only-focusable { .sr-only-focusable(); } 6 | -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/vendor/font-awesome/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_ServerOAuth/webapp/vendor/font-awesome/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/vendor/font-awesome/less/screen-reader.less: -------------------------------------------------------------------------------- 1 | // Screen Readers 2 | // ------------------------- 3 | 4 | .sr-only { .sr-only(); } 5 | .sr-only-focusable { .sr-only-focusable(); } 6 | -------------------------------------------------------------------------------- /Sample_WebApp/webapp/vendor/font-awesome/less/fixed-width.less: -------------------------------------------------------------------------------- 1 | // Fixed Width Icons 2 | // ------------------------- 3 | .@{fa-css-prefix}-fw { 4 | width: (18em / 14); 5 | text-align: center; 6 | } 7 | -------------------------------------------------------------------------------- /Sample_WebApp/webapp/vendor/font-awesome/scss/_fixed-width.scss: -------------------------------------------------------------------------------- 1 | // Fixed Width Icons 2 | // ------------------------- 3 | .#{$fa-css-prefix}-fw { 4 | width: (18em / 14); 5 | text-align: center; 6 | } 7 | -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/vendor/font-awesome/scss/_fixed-width.scss: -------------------------------------------------------------------------------- 1 | // Fixed Width Icons 2 | // ------------------------- 3 | .#{$fa-css-prefix}-fw { 4 | width: (18em / 14); 5 | text-align: center; 6 | } 7 | -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/vendor/font-awesome/less/fixed-width.less: -------------------------------------------------------------------------------- 1 | // Fixed Width Icons 2 | // ------------------------- 3 | .@{fa-css-prefix}-fw { 4 | width: (18em / 14); 5 | text-align: center; 6 | } 7 | -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/vendor/font-awesome/scss/_fixed-width.scss: -------------------------------------------------------------------------------- 1 | // Fixed Width Icons 2 | // ------------------------- 3 | .#{$fa-css-prefix}-fw { 4 | width: (18em / 14); 5 | text-align: center; 6 | } 7 | -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/vendor/font-awesome/less/fixed-width.less: -------------------------------------------------------------------------------- 1 | // Fixed Width Icons 2 | // ------------------------- 3 | .@{fa-css-prefix}-fw { 4 | width: (18em / 14); 5 | text-align: center; 6 | } 7 | -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/vendor/font-awesome/scss/_fixed-width.scss: -------------------------------------------------------------------------------- 1 | // Fixed Width Icons 2 | // ------------------------- 3 | .#{$fa-css-prefix}-fw { 4 | width: (18em / 14); 5 | text-align: center; 6 | } 7 | -------------------------------------------------------------------------------- /Sample_WebApp/webapp/vendor/font-awesome/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_WebApp/webapp/vendor/font-awesome/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /Sample_WebApp/webapp/vendor/font-awesome/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_WebApp/webapp/vendor/font-awesome/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /Sample_WebApp/webapp/vendor/font-awesome/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_WebApp/webapp/vendor/font-awesome/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/vendor/font-awesome/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_AppOAuth/webapp/vendor/font-awesome/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/vendor/font-awesome/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_AppOAuth/webapp/vendor/font-awesome/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/vendor/font-awesome/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_AppOAuth/webapp/vendor/font-awesome/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /Sample_WebApp/webapp/vendor/font-awesome/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_WebApp/webapp/vendor/font-awesome/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/vendor/font-awesome/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_AppOAuth/webapp/vendor/font-awesome/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/vendor/font-awesome/scss/_screen-reader.scss: -------------------------------------------------------------------------------- 1 | // Screen Readers 2 | // ------------------------- 3 | 4 | .sr-only { @include sr-only(); } 5 | .sr-only-focusable { @include sr-only-focusable(); } 6 | -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/vendor/font-awesome/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_AuthServer/webapp/vendor/font-awesome/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/vendor/font-awesome/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_AuthServer/webapp/vendor/font-awesome/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/vendor/font-awesome/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_AuthServer/webapp/vendor/font-awesome/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/vendor/font-awesome/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_AuthServer/webapp/vendor/font-awesome/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/vendor/font-awesome/scss/_screen-reader.scss: -------------------------------------------------------------------------------- 1 | // Screen Readers 2 | // ------------------------- 3 | 4 | .sr-only { @include sr-only(); } 5 | .sr-only-focusable { @include sr-only-focusable(); } 6 | -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/vendor/font-awesome/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_ServerOAuth/webapp/vendor/font-awesome/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/vendor/font-awesome/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_ServerOAuth/webapp/vendor/font-awesome/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/vendor/font-awesome/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_ServerOAuth/webapp/vendor/font-awesome/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /Sample_WebApp/webapp/vendor/bootstrap/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_WebApp/webapp/vendor/bootstrap/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /Sample_WebApp/webapp/vendor/bootstrap/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_WebApp/webapp/vendor/bootstrap/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /Sample_WebApp/webapp/vendor/font-awesome/scss/_screen-reader.scss: -------------------------------------------------------------------------------- 1 | // Screen Readers 2 | // ------------------------- 3 | 4 | .sr-only { @include sr-only(); } 5 | .sr-only-focusable { @include sr-only-focusable(); } 6 | -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/vendor/bootstrap/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_AppOAuth/webapp/vendor/bootstrap/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/vendor/bootstrap/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_AppOAuth/webapp/vendor/bootstrap/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/vendor/font-awesome/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_ServerOAuth/webapp/vendor/font-awesome/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/vendor/font-awesome/scss/_screen-reader.scss: -------------------------------------------------------------------------------- 1 | // Screen Readers 2 | // ------------------------- 3 | 4 | .sr-only { @include sr-only(); } 5 | .sr-only-focusable { @include sr-only-focusable(); } 6 | -------------------------------------------------------------------------------- /Sample_WebApp/webapp/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_WebApp/webapp/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /Sample_WebApp/webapp/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_WebApp/webapp/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_AppOAuth/webapp/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_AppOAuth/webapp/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/vendor/bootstrap/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_AuthServer/webapp/vendor/bootstrap/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/vendor/bootstrap/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_AuthServer/webapp/vendor/bootstrap/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_AuthServer/webapp/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/vendor/bootstrap/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_ServerOAuth/webapp/vendor/bootstrap/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/vendor/bootstrap/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_ServerOAuth/webapp/vendor/bootstrap/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_AuthServer/webapp/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_ServerOAuth/webapp/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omnissa-archive/vidm-saml-toolkit/master/Sample_ServerOAuth/webapp/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /SamlToolkit/src/main/java/com/omnissa/eucenablement/oauth/OAuthException.java: -------------------------------------------------------------------------------- 1 | package com.omnissa.eucenablement.oauth; 2 | 3 | /** 4 | *

OAuth2 Exception. It's a RuntimeException, you don't need to handle it.

5 | *

Created by chenzhang on 2017-08-07.

6 | */ 7 | public class OAuthException extends RuntimeException { 8 | 9 | public OAuthException(String msg) { 10 | super(msg); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /Sample_WebApp/webapp/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | 9 | index.jsp 10 | 11 | 12 | 13 | java.lang.Exception 14 | /error.jsp 15 | 16 | 17 | -------------------------------------------------------------------------------- /.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | vidmsaml 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.m2e.core.maven2Builder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.m2e.core.maven2Nature 16 | 17 | 18 | -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | 9 | index.jsp 10 | 11 | 12 | 13 | java.lang.Exception 14 | /error.jsp 15 | 16 | 17 | -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | 9 | index.jsp 10 | 11 | 12 | 13 | java.lang.Exception 14 | /error.jsp 15 | 16 | 17 | -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | 9 | index.jsp 10 | 11 | 12 | 13 | java.lang.Exception 14 | /error.jsp 15 | 16 | 17 | -------------------------------------------------------------------------------- /Sample_WebApp/webapp/vendor/font-awesome/less/larger.less: -------------------------------------------------------------------------------- 1 | // Icon Sizes 2 | // ------------------------- 3 | 4 | /* makes the font 33% larger relative to the icon container */ 5 | .@{fa-css-prefix}-lg { 6 | font-size: (4em / 3); 7 | line-height: (3em / 4); 8 | vertical-align: -15%; 9 | } 10 | .@{fa-css-prefix}-2x { font-size: 2em; } 11 | .@{fa-css-prefix}-3x { font-size: 3em; } 12 | .@{fa-css-prefix}-4x { font-size: 4em; } 13 | .@{fa-css-prefix}-5x { font-size: 5em; } 14 | -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/vendor/font-awesome/less/larger.less: -------------------------------------------------------------------------------- 1 | // Icon Sizes 2 | // ------------------------- 3 | 4 | /* makes the font 33% larger relative to the icon container */ 5 | .@{fa-css-prefix}-lg { 6 | font-size: (4em / 3); 7 | line-height: (3em / 4); 8 | vertical-align: -15%; 9 | } 10 | .@{fa-css-prefix}-2x { font-size: 2em; } 11 | .@{fa-css-prefix}-3x { font-size: 3em; } 12 | .@{fa-css-prefix}-4x { font-size: 4em; } 13 | .@{fa-css-prefix}-5x { font-size: 5em; } 14 | -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/vendor/font-awesome/less/larger.less: -------------------------------------------------------------------------------- 1 | // Icon Sizes 2 | // ------------------------- 3 | 4 | /* makes the font 33% larger relative to the icon container */ 5 | .@{fa-css-prefix}-lg { 6 | font-size: (4em / 3); 7 | line-height: (3em / 4); 8 | vertical-align: -15%; 9 | } 10 | .@{fa-css-prefix}-2x { font-size: 2em; } 11 | .@{fa-css-prefix}-3x { font-size: 3em; } 12 | .@{fa-css-prefix}-4x { font-size: 4em; } 13 | .@{fa-css-prefix}-5x { font-size: 5em; } 14 | -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/vendor/font-awesome/less/larger.less: -------------------------------------------------------------------------------- 1 | // Icon Sizes 2 | // ------------------------- 3 | 4 | /* makes the font 33% larger relative to the icon container */ 5 | .@{fa-css-prefix}-lg { 6 | font-size: (4em / 3); 7 | line-height: (3em / 4); 8 | vertical-align: -15%; 9 | } 10 | .@{fa-css-prefix}-2x { font-size: 2em; } 11 | .@{fa-css-prefix}-3x { font-size: 3em; } 12 | .@{fa-css-prefix}-4x { font-size: 4em; } 13 | .@{fa-css-prefix}-5x { font-size: 5em; } 14 | -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/vendor/font-awesome/scss/_larger.scss: -------------------------------------------------------------------------------- 1 | // Icon Sizes 2 | // ------------------------- 3 | 4 | /* makes the font 33% larger relative to the icon container */ 5 | .#{$fa-css-prefix}-lg { 6 | font-size: (4em / 3); 7 | line-height: (3em / 4); 8 | vertical-align: -15%; 9 | } 10 | .#{$fa-css-prefix}-2x { font-size: 2em; } 11 | .#{$fa-css-prefix}-3x { font-size: 3em; } 12 | .#{$fa-css-prefix}-4x { font-size: 4em; } 13 | .#{$fa-css-prefix}-5x { font-size: 5em; } 14 | -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/vendor/font-awesome/scss/_larger.scss: -------------------------------------------------------------------------------- 1 | // Icon Sizes 2 | // ------------------------- 3 | 4 | /* makes the font 33% larger relative to the icon container */ 5 | .#{$fa-css-prefix}-lg { 6 | font-size: (4em / 3); 7 | line-height: (3em / 4); 8 | vertical-align: -15%; 9 | } 10 | .#{$fa-css-prefix}-2x { font-size: 2em; } 11 | .#{$fa-css-prefix}-3x { font-size: 3em; } 12 | .#{$fa-css-prefix}-4x { font-size: 4em; } 13 | .#{$fa-css-prefix}-5x { font-size: 5em; } 14 | -------------------------------------------------------------------------------- /Sample_WebApp/webapp/vendor/font-awesome/scss/_larger.scss: -------------------------------------------------------------------------------- 1 | // Icon Sizes 2 | // ------------------------- 3 | 4 | /* makes the font 33% larger relative to the icon container */ 5 | .#{$fa-css-prefix}-lg { 6 | font-size: (4em / 3); 7 | line-height: (3em / 4); 8 | vertical-align: -15%; 9 | } 10 | .#{$fa-css-prefix}-2x { font-size: 2em; } 11 | .#{$fa-css-prefix}-3x { font-size: 3em; } 12 | .#{$fa-css-prefix}-4x { font-size: 4em; } 13 | .#{$fa-css-prefix}-5x { font-size: 5em; } 14 | -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/vendor/font-awesome/scss/_larger.scss: -------------------------------------------------------------------------------- 1 | // Icon Sizes 2 | // ------------------------- 3 | 4 | /* makes the font 33% larger relative to the icon container */ 5 | .#{$fa-css-prefix}-lg { 6 | font-size: (4em / 3); 7 | line-height: (3em / 4); 8 | vertical-align: -15%; 9 | } 10 | .#{$fa-css-prefix}-2x { font-size: 2em; } 11 | .#{$fa-css-prefix}-3x { font-size: 3em; } 12 | .#{$fa-css-prefix}-4x { font-size: 4em; } 13 | .#{$fa-css-prefix}-5x { font-size: 5em; } 14 | -------------------------------------------------------------------------------- /Sample_WebApp/webapp/vendor/font-awesome/less/list.less: -------------------------------------------------------------------------------- 1 | // List Icons 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-ul { 5 | padding-left: 0; 6 | margin-left: @fa-li-width; 7 | list-style-type: none; 8 | > li { position: relative; } 9 | } 10 | .@{fa-css-prefix}-li { 11 | position: absolute; 12 | left: -@fa-li-width; 13 | width: @fa-li-width; 14 | top: (2em / 14); 15 | text-align: center; 16 | &.@{fa-css-prefix}-lg { 17 | left: (-@fa-li-width + (4em / 14)); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/vendor/font-awesome/less/list.less: -------------------------------------------------------------------------------- 1 | // List Icons 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-ul { 5 | padding-left: 0; 6 | margin-left: @fa-li-width; 7 | list-style-type: none; 8 | > li { position: relative; } 9 | } 10 | .@{fa-css-prefix}-li { 11 | position: absolute; 12 | left: -@fa-li-width; 13 | width: @fa-li-width; 14 | top: (2em / 14); 15 | text-align: center; 16 | &.@{fa-css-prefix}-lg { 17 | left: (-@fa-li-width + (4em / 14)); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/vendor/font-awesome/scss/_list.scss: -------------------------------------------------------------------------------- 1 | // List Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-ul { 5 | padding-left: 0; 6 | margin-left: $fa-li-width; 7 | list-style-type: none; 8 | > li { position: relative; } 9 | } 10 | .#{$fa-css-prefix}-li { 11 | position: absolute; 12 | left: -$fa-li-width; 13 | width: $fa-li-width; 14 | top: (2em / 14); 15 | text-align: center; 16 | &.#{$fa-css-prefix}-lg { 17 | left: -$fa-li-width + (4em / 14); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/vendor/font-awesome/less/list.less: -------------------------------------------------------------------------------- 1 | // List Icons 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-ul { 5 | padding-left: 0; 6 | margin-left: @fa-li-width; 7 | list-style-type: none; 8 | > li { position: relative; } 9 | } 10 | .@{fa-css-prefix}-li { 11 | position: absolute; 12 | left: -@fa-li-width; 13 | width: @fa-li-width; 14 | top: (2em / 14); 15 | text-align: center; 16 | &.@{fa-css-prefix}-lg { 17 | left: (-@fa-li-width + (4em / 14)); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/vendor/font-awesome/less/list.less: -------------------------------------------------------------------------------- 1 | // List Icons 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-ul { 5 | padding-left: 0; 6 | margin-left: @fa-li-width; 7 | list-style-type: none; 8 | > li { position: relative; } 9 | } 10 | .@{fa-css-prefix}-li { 11 | position: absolute; 12 | left: -@fa-li-width; 13 | width: @fa-li-width; 14 | top: (2em / 14); 15 | text-align: center; 16 | &.@{fa-css-prefix}-lg { 17 | left: (-@fa-li-width + (4em / 14)); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /Sample_WebApp/webapp/vendor/font-awesome/scss/_list.scss: -------------------------------------------------------------------------------- 1 | // List Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-ul { 5 | padding-left: 0; 6 | margin-left: $fa-li-width; 7 | list-style-type: none; 8 | > li { position: relative; } 9 | } 10 | .#{$fa-css-prefix}-li { 11 | position: absolute; 12 | left: -$fa-li-width; 13 | width: $fa-li-width; 14 | top: (2em / 14); 15 | text-align: center; 16 | &.#{$fa-css-prefix}-lg { 17 | left: -$fa-li-width + (4em / 14); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/vendor/font-awesome/scss/_list.scss: -------------------------------------------------------------------------------- 1 | // List Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-ul { 5 | padding-left: 0; 6 | margin-left: $fa-li-width; 7 | list-style-type: none; 8 | > li { position: relative; } 9 | } 10 | .#{$fa-css-prefix}-li { 11 | position: absolute; 12 | left: -$fa-li-width; 13 | width: $fa-li-width; 14 | top: (2em / 14); 15 | text-align: center; 16 | &.#{$fa-css-prefix}-lg { 17 | left: -$fa-li-width + (4em / 14); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/vendor/font-awesome/scss/_list.scss: -------------------------------------------------------------------------------- 1 | // List Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-ul { 5 | padding-left: 0; 6 | margin-left: $fa-li-width; 7 | list-style-type: none; 8 | > li { position: relative; } 9 | } 10 | .#{$fa-css-prefix}-li { 11 | position: absolute; 12 | left: -$fa-li-width; 13 | width: $fa-li-width; 14 | top: (2em / 14); 15 | text-align: center; 16 | &.#{$fa-css-prefix}-lg { 17 | left: -$fa-li-width + (4em / 14); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /VIDM SAML_NOTICE.txt: -------------------------------------------------------------------------------- 1 | Omnissa Identity Manager SAML Toolkit 2 | 3 | Copyright (c) 2016-2017 Omnissa, LLC. All Rights Reserved. 4 | 5 | This product is licensed to you under the BSD-2 license (the "License"). You may not use this product except in compliance with the BSD-2 License. 6 | 7 | This product may include a number of subcomponents with separate copyright notices and license terms. Your use of these subcomponents is subject to the terms and conditions of the subcomponent's license, as noted in the LICENSE file. 8 | 9 | -------------------------------------------------------------------------------- /SamlToolkit/src/main/java/com/omnissa/samltoolkit/idp/SAMLSsoRequest.java: -------------------------------------------------------------------------------- 1 | package com.omnissa.samltoolkit.idp; 2 | 3 | public interface SAMLSsoRequest { 4 | public boolean isValid(); 5 | 6 | //consumer id in SAML, may be URL or hostname 7 | public String getConsumer(); 8 | 9 | public String getIssuer(); 10 | 11 | public String getNameidpolicy(); 12 | 13 | public String getID(); 14 | 15 | public String getAuthnContextClassRef(); 16 | 17 | public String getRelay(); 18 | 19 | public void setRelay(String relay); 20 | } 21 | -------------------------------------------------------------------------------- /Sample_WebApp/webapp/vendor/font-awesome/less/core.less: -------------------------------------------------------------------------------- 1 | // Base Class Definition 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix} { 5 | display: inline-block; 6 | font: normal normal normal @fa-font-size-base/@fa-line-height-base FontAwesome; // shortening font declaration 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override 8 | text-rendering: auto; // optimizelegibility throws things off #1094 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | 12 | } 13 | -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/vendor/font-awesome/less/core.less: -------------------------------------------------------------------------------- 1 | // Base Class Definition 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix} { 5 | display: inline-block; 6 | font: normal normal normal @fa-font-size-base/@fa-line-height-base FontAwesome; // shortening font declaration 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override 8 | text-rendering: auto; // optimizelegibility throws things off #1094 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | 12 | } 13 | -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/vendor/font-awesome/less/core.less: -------------------------------------------------------------------------------- 1 | // Base Class Definition 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix} { 5 | display: inline-block; 6 | font: normal normal normal @fa-font-size-base/@fa-line-height-base FontAwesome; // shortening font declaration 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override 8 | text-rendering: auto; // optimizelegibility throws things off #1094 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | 12 | } 13 | -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/vendor/font-awesome/less/core.less: -------------------------------------------------------------------------------- 1 | // Base Class Definition 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix} { 5 | display: inline-block; 6 | font: normal normal normal @fa-font-size-base/@fa-line-height-base FontAwesome; // shortening font declaration 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override 8 | text-rendering: auto; // optimizelegibility throws things off #1094 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | 12 | } 13 | -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/vendor/font-awesome/scss/_core.scss: -------------------------------------------------------------------------------- 1 | // Base Class Definition 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix} { 5 | display: inline-block; 6 | font: normal normal normal #{$fa-font-size-base}/#{$fa-line-height-base} FontAwesome; // shortening font declaration 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override 8 | text-rendering: auto; // optimizelegibility throws things off #1094 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | 12 | } 13 | -------------------------------------------------------------------------------- /Sample_WebApp/webapp/vendor/font-awesome/scss/_core.scss: -------------------------------------------------------------------------------- 1 | // Base Class Definition 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix} { 5 | display: inline-block; 6 | font: normal normal normal #{$fa-font-size-base}/#{$fa-line-height-base} FontAwesome; // shortening font declaration 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override 8 | text-rendering: auto; // optimizelegibility throws things off #1094 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | 12 | } 13 | -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/vendor/font-awesome/scss/_core.scss: -------------------------------------------------------------------------------- 1 | // Base Class Definition 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix} { 5 | display: inline-block; 6 | font: normal normal normal #{$fa-font-size-base}/#{$fa-line-height-base} FontAwesome; // shortening font declaration 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override 8 | text-rendering: auto; // optimizelegibility throws things off #1094 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | 12 | } 13 | -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/vendor/font-awesome/scss/_core.scss: -------------------------------------------------------------------------------- 1 | // Base Class Definition 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix} { 5 | display: inline-block; 6 | font: normal normal normal #{$fa-font-size-base}/#{$fa-line-height-base} FontAwesome; // shortening font declaration 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override 8 | text-rendering: auto; // optimizelegibility throws things off #1094 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | 12 | } 13 | -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/vendor/font-awesome/scss/font-awesome.scss: -------------------------------------------------------------------------------- 1 | /*! 2 | * Font Awesome 4.6.3 by @davegandy - http://fontawesome.io - @fontawesome 3 | * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) 4 | */ 5 | 6 | @import "variables"; 7 | @import "mixins"; 8 | @import "path"; 9 | @import "core"; 10 | @import "larger"; 11 | @import "fixed-width"; 12 | @import "list"; 13 | @import "bordered-pulled"; 14 | @import "animated"; 15 | @import "rotated-flipped"; 16 | @import "stacked"; 17 | @import "icons"; 18 | @import "screen-reader"; 19 | -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/vendor/font-awesome/scss/font-awesome.scss: -------------------------------------------------------------------------------- 1 | /*! 2 | * Font Awesome 4.6.3 by @davegandy - http://fontawesome.io - @fontawesome 3 | * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) 4 | */ 5 | 6 | @import "variables"; 7 | @import "mixins"; 8 | @import "path"; 9 | @import "core"; 10 | @import "larger"; 11 | @import "fixed-width"; 12 | @import "list"; 13 | @import "bordered-pulled"; 14 | @import "animated"; 15 | @import "rotated-flipped"; 16 | @import "stacked"; 17 | @import "icons"; 18 | @import "screen-reader"; 19 | -------------------------------------------------------------------------------- /Sample_WebApp/webapp/vendor/font-awesome/scss/font-awesome.scss: -------------------------------------------------------------------------------- 1 | /*! 2 | * Font Awesome 4.6.3 by @davegandy - http://fontawesome.io - @fontawesome 3 | * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) 4 | */ 5 | 6 | @import "variables"; 7 | @import "mixins"; 8 | @import "path"; 9 | @import "core"; 10 | @import "larger"; 11 | @import "fixed-width"; 12 | @import "list"; 13 | @import "bordered-pulled"; 14 | @import "animated"; 15 | @import "rotated-flipped"; 16 | @import "stacked"; 17 | @import "icons"; 18 | @import "screen-reader"; 19 | -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/vendor/font-awesome/scss/font-awesome.scss: -------------------------------------------------------------------------------- 1 | /*! 2 | * Font Awesome 4.6.3 by @davegandy - http://fontawesome.io - @fontawesome 3 | * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) 4 | */ 5 | 6 | @import "variables"; 7 | @import "mixins"; 8 | @import "path"; 9 | @import "core"; 10 | @import "larger"; 11 | @import "fixed-width"; 12 | @import "list"; 13 | @import "bordered-pulled"; 14 | @import "animated"; 15 | @import "rotated-flipped"; 16 | @import "stacked"; 17 | @import "icons"; 18 | @import "screen-reader"; 19 | -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/vendor/font-awesome/less/stacked.less: -------------------------------------------------------------------------------- 1 | // Stacked Icons 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-stack { 5 | position: relative; 6 | display: inline-block; 7 | width: 2em; 8 | height: 2em; 9 | line-height: 2em; 10 | vertical-align: middle; 11 | } 12 | .@{fa-css-prefix}-stack-1x, .@{fa-css-prefix}-stack-2x { 13 | position: absolute; 14 | left: 0; 15 | width: 100%; 16 | text-align: center; 17 | } 18 | .@{fa-css-prefix}-stack-1x { line-height: inherit; } 19 | .@{fa-css-prefix}-stack-2x { font-size: 2em; } 20 | .@{fa-css-prefix}-inverse { color: @fa-inverse; } 21 | -------------------------------------------------------------------------------- /Sample_WebApp/webapp/vendor/font-awesome/less/stacked.less: -------------------------------------------------------------------------------- 1 | // Stacked Icons 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-stack { 5 | position: relative; 6 | display: inline-block; 7 | width: 2em; 8 | height: 2em; 9 | line-height: 2em; 10 | vertical-align: middle; 11 | } 12 | .@{fa-css-prefix}-stack-1x, .@{fa-css-prefix}-stack-2x { 13 | position: absolute; 14 | left: 0; 15 | width: 100%; 16 | text-align: center; 17 | } 18 | .@{fa-css-prefix}-stack-1x { line-height: inherit; } 19 | .@{fa-css-prefix}-stack-2x { font-size: 2em; } 20 | .@{fa-css-prefix}-inverse { color: @fa-inverse; } 21 | -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/vendor/font-awesome/less/stacked.less: -------------------------------------------------------------------------------- 1 | // Stacked Icons 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-stack { 5 | position: relative; 6 | display: inline-block; 7 | width: 2em; 8 | height: 2em; 9 | line-height: 2em; 10 | vertical-align: middle; 11 | } 12 | .@{fa-css-prefix}-stack-1x, .@{fa-css-prefix}-stack-2x { 13 | position: absolute; 14 | left: 0; 15 | width: 100%; 16 | text-align: center; 17 | } 18 | .@{fa-css-prefix}-stack-1x { line-height: inherit; } 19 | .@{fa-css-prefix}-stack-2x { font-size: 2em; } 20 | .@{fa-css-prefix}-inverse { color: @fa-inverse; } 21 | -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/vendor/font-awesome/less/stacked.less: -------------------------------------------------------------------------------- 1 | // Stacked Icons 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-stack { 5 | position: relative; 6 | display: inline-block; 7 | width: 2em; 8 | height: 2em; 9 | line-height: 2em; 10 | vertical-align: middle; 11 | } 12 | .@{fa-css-prefix}-stack-1x, .@{fa-css-prefix}-stack-2x { 13 | position: absolute; 14 | left: 0; 15 | width: 100%; 16 | text-align: center; 17 | } 18 | .@{fa-css-prefix}-stack-1x { line-height: inherit; } 19 | .@{fa-css-prefix}-stack-2x { font-size: 2em; } 20 | .@{fa-css-prefix}-inverse { color: @fa-inverse; } 21 | -------------------------------------------------------------------------------- /Sample_WebApp/webapp/vendor/font-awesome/scss/_stacked.scss: -------------------------------------------------------------------------------- 1 | // Stacked Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-stack { 5 | position: relative; 6 | display: inline-block; 7 | width: 2em; 8 | height: 2em; 9 | line-height: 2em; 10 | vertical-align: middle; 11 | } 12 | .#{$fa-css-prefix}-stack-1x, .#{$fa-css-prefix}-stack-2x { 13 | position: absolute; 14 | left: 0; 15 | width: 100%; 16 | text-align: center; 17 | } 18 | .#{$fa-css-prefix}-stack-1x { line-height: inherit; } 19 | .#{$fa-css-prefix}-stack-2x { font-size: 2em; } 20 | .#{$fa-css-prefix}-inverse { color: $fa-inverse; } 21 | -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/vendor/font-awesome/scss/_stacked.scss: -------------------------------------------------------------------------------- 1 | // Stacked Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-stack { 5 | position: relative; 6 | display: inline-block; 7 | width: 2em; 8 | height: 2em; 9 | line-height: 2em; 10 | vertical-align: middle; 11 | } 12 | .#{$fa-css-prefix}-stack-1x, .#{$fa-css-prefix}-stack-2x { 13 | position: absolute; 14 | left: 0; 15 | width: 100%; 16 | text-align: center; 17 | } 18 | .#{$fa-css-prefix}-stack-1x { line-height: inherit; } 19 | .#{$fa-css-prefix}-stack-2x { font-size: 2em; } 20 | .#{$fa-css-prefix}-inverse { color: $fa-inverse; } 21 | -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/vendor/font-awesome/scss/_stacked.scss: -------------------------------------------------------------------------------- 1 | // Stacked Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-stack { 5 | position: relative; 6 | display: inline-block; 7 | width: 2em; 8 | height: 2em; 9 | line-height: 2em; 10 | vertical-align: middle; 11 | } 12 | .#{$fa-css-prefix}-stack-1x, .#{$fa-css-prefix}-stack-2x { 13 | position: absolute; 14 | left: 0; 15 | width: 100%; 16 | text-align: center; 17 | } 18 | .#{$fa-css-prefix}-stack-1x { line-height: inherit; } 19 | .#{$fa-css-prefix}-stack-2x { font-size: 2em; } 20 | .#{$fa-css-prefix}-inverse { color: $fa-inverse; } 21 | -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/vendor/font-awesome/scss/_stacked.scss: -------------------------------------------------------------------------------- 1 | // Stacked Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-stack { 5 | position: relative; 6 | display: inline-block; 7 | width: 2em; 8 | height: 2em; 9 | line-height: 2em; 10 | vertical-align: middle; 11 | } 12 | .#{$fa-css-prefix}-stack-1x, .#{$fa-css-prefix}-stack-2x { 13 | position: absolute; 14 | left: 0; 15 | width: 100%; 16 | text-align: center; 17 | } 18 | .#{$fa-css-prefix}-stack-1x { line-height: inherit; } 19 | .#{$fa-css-prefix}-stack-2x { font-size: 2em; } 20 | .#{$fa-css-prefix}-inverse { color: $fa-inverse; } 21 | -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/vendor/font-awesome/less/font-awesome.less: -------------------------------------------------------------------------------- 1 | /*! 2 | * Font Awesome 4.6.3 by @davegandy - http://fontawesome.io - @fontawesome 3 | * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) 4 | */ 5 | 6 | @import "variables.less"; 7 | @import "mixins.less"; 8 | @import "path.less"; 9 | @import "core.less"; 10 | @import "larger.less"; 11 | @import "fixed-width.less"; 12 | @import "list.less"; 13 | @import "bordered-pulled.less"; 14 | @import "animated.less"; 15 | @import "rotated-flipped.less"; 16 | @import "stacked.less"; 17 | @import "icons.less"; 18 | @import "screen-reader.less"; 19 | -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/vendor/font-awesome/less/font-awesome.less: -------------------------------------------------------------------------------- 1 | /*! 2 | * Font Awesome 4.6.3 by @davegandy - http://fontawesome.io - @fontawesome 3 | * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) 4 | */ 5 | 6 | @import "variables.less"; 7 | @import "mixins.less"; 8 | @import "path.less"; 9 | @import "core.less"; 10 | @import "larger.less"; 11 | @import "fixed-width.less"; 12 | @import "list.less"; 13 | @import "bordered-pulled.less"; 14 | @import "animated.less"; 15 | @import "rotated-flipped.less"; 16 | @import "stacked.less"; 17 | @import "icons.less"; 18 | @import "screen-reader.less"; 19 | -------------------------------------------------------------------------------- /Sample_WebApp/webapp/vendor/font-awesome/less/font-awesome.less: -------------------------------------------------------------------------------- 1 | /*! 2 | * Font Awesome 4.6.3 by @davegandy - http://fontawesome.io - @fontawesome 3 | * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) 4 | */ 5 | 6 | @import "variables.less"; 7 | @import "mixins.less"; 8 | @import "path.less"; 9 | @import "core.less"; 10 | @import "larger.less"; 11 | @import "fixed-width.less"; 12 | @import "list.less"; 13 | @import "bordered-pulled.less"; 14 | @import "animated.less"; 15 | @import "rotated-flipped.less"; 16 | @import "stacked.less"; 17 | @import "icons.less"; 18 | @import "screen-reader.less"; 19 | -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/vendor/font-awesome/less/font-awesome.less: -------------------------------------------------------------------------------- 1 | /*! 2 | * Font Awesome 4.6.3 by @davegandy - http://fontawesome.io - @fontawesome 3 | * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) 4 | */ 5 | 6 | @import "variables.less"; 7 | @import "mixins.less"; 8 | @import "path.less"; 9 | @import "core.less"; 10 | @import "larger.less"; 11 | @import "fixed-width.less"; 12 | @import "list.less"; 13 | @import "bordered-pulled.less"; 14 | @import "animated.less"; 15 | @import "rotated-flipped.less"; 16 | @import "stacked.less"; 17 | @import "icons.less"; 18 | @import "screen-reader.less"; 19 | -------------------------------------------------------------------------------- /SamlToolkit/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | SamlToolkit 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.m2e.core.maven2Builder 15 | 16 | 17 | 18 | 19 | 20 | org.eclipse.jdt.core.javanature 21 | org.eclipse.m2e.core.maven2Nature 22 | 23 | 24 | -------------------------------------------------------------------------------- /Sample_WebApp/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | Sample_WebApp 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.m2e.core.maven2Builder 15 | 16 | 17 | 18 | 19 | 20 | org.eclipse.jdt.core.javanature 21 | org.eclipse.m2e.core.maven2Nature 22 | 23 | 24 | -------------------------------------------------------------------------------- /Sample_AppOAuth/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | Sample_AppOAuth 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.m2e.core.maven2Builder 15 | 16 | 17 | 18 | 19 | 20 | org.eclipse.jdt.core.javanature 21 | org.eclipse.m2e.core.maven2Nature 22 | 23 | 24 | -------------------------------------------------------------------------------- /Sample_ServerOAuth/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | Sample_ServerOAuth 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.m2e.core.maven2Builder 15 | 16 | 17 | 18 | 19 | 20 | org.eclipse.jdt.core.javanature 21 | org.eclipse.m2e.core.maven2Nature 22 | 23 | 24 | -------------------------------------------------------------------------------- /Sample_WebApp/webapp/vendor/font-awesome/less/bordered-pulled.less: -------------------------------------------------------------------------------- 1 | // Bordered & Pulled 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-border { 5 | padding: .2em .25em .15em; 6 | border: solid .08em @fa-border-color; 7 | border-radius: .1em; 8 | } 9 | 10 | .@{fa-css-prefix}-pull-left { float: left; } 11 | .@{fa-css-prefix}-pull-right { float: right; } 12 | 13 | .@{fa-css-prefix} { 14 | &.@{fa-css-prefix}-pull-left { margin-right: .3em; } 15 | &.@{fa-css-prefix}-pull-right { margin-left: .3em; } 16 | } 17 | 18 | /* Deprecated as of 4.4.0 */ 19 | .pull-right { float: right; } 20 | .pull-left { float: left; } 21 | 22 | .@{fa-css-prefix} { 23 | &.pull-left { margin-right: .3em; } 24 | &.pull-right { margin-left: .3em; } 25 | } 26 | -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/vendor/font-awesome/less/bordered-pulled.less: -------------------------------------------------------------------------------- 1 | // Bordered & Pulled 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-border { 5 | padding: .2em .25em .15em; 6 | border: solid .08em @fa-border-color; 7 | border-radius: .1em; 8 | } 9 | 10 | .@{fa-css-prefix}-pull-left { float: left; } 11 | .@{fa-css-prefix}-pull-right { float: right; } 12 | 13 | .@{fa-css-prefix} { 14 | &.@{fa-css-prefix}-pull-left { margin-right: .3em; } 15 | &.@{fa-css-prefix}-pull-right { margin-left: .3em; } 16 | } 17 | 18 | /* Deprecated as of 4.4.0 */ 19 | .pull-right { float: right; } 20 | .pull-left { float: left; } 21 | 22 | .@{fa-css-prefix} { 23 | &.pull-left { margin-right: .3em; } 24 | &.pull-right { margin-left: .3em; } 25 | } 26 | -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/vendor/font-awesome/less/bordered-pulled.less: -------------------------------------------------------------------------------- 1 | // Bordered & Pulled 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-border { 5 | padding: .2em .25em .15em; 6 | border: solid .08em @fa-border-color; 7 | border-radius: .1em; 8 | } 9 | 10 | .@{fa-css-prefix}-pull-left { float: left; } 11 | .@{fa-css-prefix}-pull-right { float: right; } 12 | 13 | .@{fa-css-prefix} { 14 | &.@{fa-css-prefix}-pull-left { margin-right: .3em; } 15 | &.@{fa-css-prefix}-pull-right { margin-left: .3em; } 16 | } 17 | 18 | /* Deprecated as of 4.4.0 */ 19 | .pull-right { float: right; } 20 | .pull-left { float: left; } 21 | 22 | .@{fa-css-prefix} { 23 | &.pull-left { margin-right: .3em; } 24 | &.pull-right { margin-left: .3em; } 25 | } 26 | -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/vendor/font-awesome/less/bordered-pulled.less: -------------------------------------------------------------------------------- 1 | // Bordered & Pulled 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-border { 5 | padding: .2em .25em .15em; 6 | border: solid .08em @fa-border-color; 7 | border-radius: .1em; 8 | } 9 | 10 | .@{fa-css-prefix}-pull-left { float: left; } 11 | .@{fa-css-prefix}-pull-right { float: right; } 12 | 13 | .@{fa-css-prefix} { 14 | &.@{fa-css-prefix}-pull-left { margin-right: .3em; } 15 | &.@{fa-css-prefix}-pull-right { margin-left: .3em; } 16 | } 17 | 18 | /* Deprecated as of 4.4.0 */ 19 | .pull-right { float: right; } 20 | .pull-left { float: left; } 21 | 22 | .@{fa-css-prefix} { 23 | &.pull-left { margin-right: .3em; } 24 | &.pull-right { margin-left: .3em; } 25 | } 26 | -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/vendor/font-awesome/scss/_bordered-pulled.scss: -------------------------------------------------------------------------------- 1 | // Bordered & Pulled 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-border { 5 | padding: .2em .25em .15em; 6 | border: solid .08em $fa-border-color; 7 | border-radius: .1em; 8 | } 9 | 10 | .#{$fa-css-prefix}-pull-left { float: left; } 11 | .#{$fa-css-prefix}-pull-right { float: right; } 12 | 13 | .#{$fa-css-prefix} { 14 | &.#{$fa-css-prefix}-pull-left { margin-right: .3em; } 15 | &.#{$fa-css-prefix}-pull-right { margin-left: .3em; } 16 | } 17 | 18 | /* Deprecated as of 4.4.0 */ 19 | .pull-right { float: right; } 20 | .pull-left { float: left; } 21 | 22 | .#{$fa-css-prefix} { 23 | &.pull-left { margin-right: .3em; } 24 | &.pull-right { margin-left: .3em; } 25 | } 26 | -------------------------------------------------------------------------------- /Sample_WebApp/webapp/vendor/font-awesome/scss/_bordered-pulled.scss: -------------------------------------------------------------------------------- 1 | // Bordered & Pulled 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-border { 5 | padding: .2em .25em .15em; 6 | border: solid .08em $fa-border-color; 7 | border-radius: .1em; 8 | } 9 | 10 | .#{$fa-css-prefix}-pull-left { float: left; } 11 | .#{$fa-css-prefix}-pull-right { float: right; } 12 | 13 | .#{$fa-css-prefix} { 14 | &.#{$fa-css-prefix}-pull-left { margin-right: .3em; } 15 | &.#{$fa-css-prefix}-pull-right { margin-left: .3em; } 16 | } 17 | 18 | /* Deprecated as of 4.4.0 */ 19 | .pull-right { float: right; } 20 | .pull-left { float: left; } 21 | 22 | .#{$fa-css-prefix} { 23 | &.pull-left { margin-right: .3em; } 24 | &.pull-right { margin-left: .3em; } 25 | } 26 | -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/vendor/font-awesome/less/rotated-flipped.less: -------------------------------------------------------------------------------- 1 | // Rotated & Flipped Icons 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-rotate-90 { .fa-icon-rotate(90deg, 1); } 5 | .@{fa-css-prefix}-rotate-180 { .fa-icon-rotate(180deg, 2); } 6 | .@{fa-css-prefix}-rotate-270 { .fa-icon-rotate(270deg, 3); } 7 | 8 | .@{fa-css-prefix}-flip-horizontal { .fa-icon-flip(-1, 1, 0); } 9 | .@{fa-css-prefix}-flip-vertical { .fa-icon-flip(1, -1, 2); } 10 | 11 | // Hook for IE8-9 12 | // ------------------------- 13 | 14 | :root .@{fa-css-prefix}-rotate-90, 15 | :root .@{fa-css-prefix}-rotate-180, 16 | :root .@{fa-css-prefix}-rotate-270, 17 | :root .@{fa-css-prefix}-flip-horizontal, 18 | :root .@{fa-css-prefix}-flip-vertical { 19 | filter: none; 20 | } 21 | -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/vendor/font-awesome/less/rotated-flipped.less: -------------------------------------------------------------------------------- 1 | // Rotated & Flipped Icons 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-rotate-90 { .fa-icon-rotate(90deg, 1); } 5 | .@{fa-css-prefix}-rotate-180 { .fa-icon-rotate(180deg, 2); } 6 | .@{fa-css-prefix}-rotate-270 { .fa-icon-rotate(270deg, 3); } 7 | 8 | .@{fa-css-prefix}-flip-horizontal { .fa-icon-flip(-1, 1, 0); } 9 | .@{fa-css-prefix}-flip-vertical { .fa-icon-flip(1, -1, 2); } 10 | 11 | // Hook for IE8-9 12 | // ------------------------- 13 | 14 | :root .@{fa-css-prefix}-rotate-90, 15 | :root .@{fa-css-prefix}-rotate-180, 16 | :root .@{fa-css-prefix}-rotate-270, 17 | :root .@{fa-css-prefix}-flip-horizontal, 18 | :root .@{fa-css-prefix}-flip-vertical { 19 | filter: none; 20 | } 21 | -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/vendor/font-awesome/scss/_bordered-pulled.scss: -------------------------------------------------------------------------------- 1 | // Bordered & Pulled 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-border { 5 | padding: .2em .25em .15em; 6 | border: solid .08em $fa-border-color; 7 | border-radius: .1em; 8 | } 9 | 10 | .#{$fa-css-prefix}-pull-left { float: left; } 11 | .#{$fa-css-prefix}-pull-right { float: right; } 12 | 13 | .#{$fa-css-prefix} { 14 | &.#{$fa-css-prefix}-pull-left { margin-right: .3em; } 15 | &.#{$fa-css-prefix}-pull-right { margin-left: .3em; } 16 | } 17 | 18 | /* Deprecated as of 4.4.0 */ 19 | .pull-right { float: right; } 20 | .pull-left { float: left; } 21 | 22 | .#{$fa-css-prefix} { 23 | &.pull-left { margin-right: .3em; } 24 | &.pull-right { margin-left: .3em; } 25 | } 26 | -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/vendor/font-awesome/scss/_bordered-pulled.scss: -------------------------------------------------------------------------------- 1 | // Bordered & Pulled 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-border { 5 | padding: .2em .25em .15em; 6 | border: solid .08em $fa-border-color; 7 | border-radius: .1em; 8 | } 9 | 10 | .#{$fa-css-prefix}-pull-left { float: left; } 11 | .#{$fa-css-prefix}-pull-right { float: right; } 12 | 13 | .#{$fa-css-prefix} { 14 | &.#{$fa-css-prefix}-pull-left { margin-right: .3em; } 15 | &.#{$fa-css-prefix}-pull-right { margin-left: .3em; } 16 | } 17 | 18 | /* Deprecated as of 4.4.0 */ 19 | .pull-right { float: right; } 20 | .pull-left { float: left; } 21 | 22 | .#{$fa-css-prefix} { 23 | &.pull-left { margin-right: .3em; } 24 | &.pull-right { margin-left: .3em; } 25 | } 26 | -------------------------------------------------------------------------------- /Sample_WebApp/webapp/vendor/font-awesome/less/rotated-flipped.less: -------------------------------------------------------------------------------- 1 | // Rotated & Flipped Icons 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-rotate-90 { .fa-icon-rotate(90deg, 1); } 5 | .@{fa-css-prefix}-rotate-180 { .fa-icon-rotate(180deg, 2); } 6 | .@{fa-css-prefix}-rotate-270 { .fa-icon-rotate(270deg, 3); } 7 | 8 | .@{fa-css-prefix}-flip-horizontal { .fa-icon-flip(-1, 1, 0); } 9 | .@{fa-css-prefix}-flip-vertical { .fa-icon-flip(1, -1, 2); } 10 | 11 | // Hook for IE8-9 12 | // ------------------------- 13 | 14 | :root .@{fa-css-prefix}-rotate-90, 15 | :root .@{fa-css-prefix}-rotate-180, 16 | :root .@{fa-css-prefix}-rotate-270, 17 | :root .@{fa-css-prefix}-flip-horizontal, 18 | :root .@{fa-css-prefix}-flip-vertical { 19 | filter: none; 20 | } 21 | -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/vendor/font-awesome/less/rotated-flipped.less: -------------------------------------------------------------------------------- 1 | // Rotated & Flipped Icons 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-rotate-90 { .fa-icon-rotate(90deg, 1); } 5 | .@{fa-css-prefix}-rotate-180 { .fa-icon-rotate(180deg, 2); } 6 | .@{fa-css-prefix}-rotate-270 { .fa-icon-rotate(270deg, 3); } 7 | 8 | .@{fa-css-prefix}-flip-horizontal { .fa-icon-flip(-1, 1, 0); } 9 | .@{fa-css-prefix}-flip-vertical { .fa-icon-flip(1, -1, 2); } 10 | 11 | // Hook for IE8-9 12 | // ------------------------- 13 | 14 | :root .@{fa-css-prefix}-rotate-90, 15 | :root .@{fa-css-prefix}-rotate-180, 16 | :root .@{fa-css-prefix}-rotate-270, 17 | :root .@{fa-css-prefix}-flip-horizontal, 18 | :root .@{fa-css-prefix}-flip-vertical { 19 | filter: none; 20 | } 21 | -------------------------------------------------------------------------------- /Sample_WebApp/webapp/js/grayscale.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Start Bootstrap - Grayscale v3.3.7+1 (http://startbootstrap.com/template-overviews/grayscale) 3 | * Copyright 2013-2016 Start Bootstrap 4 | * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE) 5 | */ 6 | function collapseNavbar(){$(".navbar").offset().top>50?$(".navbar-fixed-top").addClass("top-nav-collapse"):$(".navbar-fixed-top").removeClass("top-nav-collapse")}$(window).scroll(collapseNavbar),$(document).ready(collapseNavbar),$(function(){$("a.page-scroll").bind("click",function(e){var t=$(this);$("html, body").stop().animate({scrollTop:$(t.attr("href")).offset().top},1500,"easeInOutExpo"),e.preventDefault()})}),$(".navbar-collapse ul li a").click(function(){$(this).closest(".collapse").collapse("toggle")}); -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/js/grayscale.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Start Bootstrap - Grayscale v3.3.7+1 (http://startbootstrap.com/template-overviews/grayscale) 3 | * Copyright 2013-2016 Start Bootstrap 4 | * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE) 5 | */ 6 | function collapseNavbar(){$(".navbar").offset().top>50?$(".navbar-fixed-top").addClass("top-nav-collapse"):$(".navbar-fixed-top").removeClass("top-nav-collapse")}$(window).scroll(collapseNavbar),$(document).ready(collapseNavbar),$(function(){$("a.page-scroll").bind("click",function(e){var t=$(this);$("html, body").stop().animate({scrollTop:$(t.attr("href")).offset().top},1500,"easeInOutExpo"),e.preventDefault()})}),$(".navbar-collapse ul li a").click(function(){$(this).closest(".collapse").collapse("toggle")}); -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/js/grayscale.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Start Bootstrap - Grayscale v3.3.7+1 (http://startbootstrap.com/template-overviews/grayscale) 3 | * Copyright 2013-2016 Start Bootstrap 4 | * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE) 5 | */ 6 | function collapseNavbar(){$(".navbar").offset().top>50?$(".navbar-fixed-top").addClass("top-nav-collapse"):$(".navbar-fixed-top").removeClass("top-nav-collapse")}$(window).scroll(collapseNavbar),$(document).ready(collapseNavbar),$(function(){$("a.page-scroll").bind("click",function(e){var t=$(this);$("html, body").stop().animate({scrollTop:$(t.attr("href")).offset().top},1500,"easeInOutExpo"),e.preventDefault()})}),$(".navbar-collapse ul li a").click(function(){$(this).closest(".collapse").collapse("toggle")}); -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/js/grayscale.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Start Bootstrap - Grayscale v3.3.7+1 (http://startbootstrap.com/template-overviews/grayscale) 3 | * Copyright 2013-2016 Start Bootstrap 4 | * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE) 5 | */ 6 | function collapseNavbar(){$(".navbar").offset().top>50?$(".navbar-fixed-top").addClass("top-nav-collapse"):$(".navbar-fixed-top").removeClass("top-nav-collapse")}$(window).scroll(collapseNavbar),$(document).ready(collapseNavbar),$(function(){$("a.page-scroll").bind("click",function(e){var t=$(this);$("html, body").stop().animate({scrollTop:$(t.attr("href")).offset().top},1500,"easeInOutExpo"),e.preventDefault()})}),$(".navbar-collapse ul li a").click(function(){$(this).closest(".collapse").collapse("toggle")}); -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/vendor/font-awesome/scss/_rotated-flipped.scss: -------------------------------------------------------------------------------- 1 | // Rotated & Flipped Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-rotate-90 { @include fa-icon-rotate(90deg, 1); } 5 | .#{$fa-css-prefix}-rotate-180 { @include fa-icon-rotate(180deg, 2); } 6 | .#{$fa-css-prefix}-rotate-270 { @include fa-icon-rotate(270deg, 3); } 7 | 8 | .#{$fa-css-prefix}-flip-horizontal { @include fa-icon-flip(-1, 1, 0); } 9 | .#{$fa-css-prefix}-flip-vertical { @include fa-icon-flip(1, -1, 2); } 10 | 11 | // Hook for IE8-9 12 | // ------------------------- 13 | 14 | :root .#{$fa-css-prefix}-rotate-90, 15 | :root .#{$fa-css-prefix}-rotate-180, 16 | :root .#{$fa-css-prefix}-rotate-270, 17 | :root .#{$fa-css-prefix}-flip-horizontal, 18 | :root .#{$fa-css-prefix}-flip-vertical { 19 | filter: none; 20 | } 21 | -------------------------------------------------------------------------------- /Sample_WebApp/webapp/vendor/font-awesome/scss/_rotated-flipped.scss: -------------------------------------------------------------------------------- 1 | // Rotated & Flipped Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-rotate-90 { @include fa-icon-rotate(90deg, 1); } 5 | .#{$fa-css-prefix}-rotate-180 { @include fa-icon-rotate(180deg, 2); } 6 | .#{$fa-css-prefix}-rotate-270 { @include fa-icon-rotate(270deg, 3); } 7 | 8 | .#{$fa-css-prefix}-flip-horizontal { @include fa-icon-flip(-1, 1, 0); } 9 | .#{$fa-css-prefix}-flip-vertical { @include fa-icon-flip(1, -1, 2); } 10 | 11 | // Hook for IE8-9 12 | // ------------------------- 13 | 14 | :root .#{$fa-css-prefix}-rotate-90, 15 | :root .#{$fa-css-prefix}-rotate-180, 16 | :root .#{$fa-css-prefix}-rotate-270, 17 | :root .#{$fa-css-prefix}-flip-horizontal, 18 | :root .#{$fa-css-prefix}-flip-vertical { 19 | filter: none; 20 | } 21 | -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/vendor/font-awesome/scss/_rotated-flipped.scss: -------------------------------------------------------------------------------- 1 | // Rotated & Flipped Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-rotate-90 { @include fa-icon-rotate(90deg, 1); } 5 | .#{$fa-css-prefix}-rotate-180 { @include fa-icon-rotate(180deg, 2); } 6 | .#{$fa-css-prefix}-rotate-270 { @include fa-icon-rotate(270deg, 3); } 7 | 8 | .#{$fa-css-prefix}-flip-horizontal { @include fa-icon-flip(-1, 1, 0); } 9 | .#{$fa-css-prefix}-flip-vertical { @include fa-icon-flip(1, -1, 2); } 10 | 11 | // Hook for IE8-9 12 | // ------------------------- 13 | 14 | :root .#{$fa-css-prefix}-rotate-90, 15 | :root .#{$fa-css-prefix}-rotate-180, 16 | :root .#{$fa-css-prefix}-rotate-270, 17 | :root .#{$fa-css-prefix}-flip-horizontal, 18 | :root .#{$fa-css-prefix}-flip-vertical { 19 | filter: none; 20 | } 21 | -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/vendor/font-awesome/scss/_rotated-flipped.scss: -------------------------------------------------------------------------------- 1 | // Rotated & Flipped Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-rotate-90 { @include fa-icon-rotate(90deg, 1); } 5 | .#{$fa-css-prefix}-rotate-180 { @include fa-icon-rotate(180deg, 2); } 6 | .#{$fa-css-prefix}-rotate-270 { @include fa-icon-rotate(270deg, 3); } 7 | 8 | .#{$fa-css-prefix}-flip-horizontal { @include fa-icon-flip(-1, 1, 0); } 9 | .#{$fa-css-prefix}-flip-vertical { @include fa-icon-flip(1, -1, 2); } 10 | 11 | // Hook for IE8-9 12 | // ------------------------- 13 | 14 | :root .#{$fa-css-prefix}-rotate-90, 15 | :root .#{$fa-css-prefix}-rotate-180, 16 | :root .#{$fa-css-prefix}-rotate-270, 17 | :root .#{$fa-css-prefix}-flip-horizontal, 18 | :root .#{$fa-css-prefix}-flip-vertical { 19 | filter: none; 20 | } 21 | -------------------------------------------------------------------------------- /Sample_WebApp/webapp/vendor/font-awesome/less/path.less: -------------------------------------------------------------------------------- 1 | /* FONT PATH 2 | * -------------------------- */ 3 | 4 | @font-face { 5 | font-family: 'FontAwesome'; 6 | src: url('@{fa-font-path}/fontawesome-webfont.eot?v=@{fa-version}'); 7 | src: url('@{fa-font-path}/fontawesome-webfont.eot?#iefix&v=@{fa-version}') format('embedded-opentype'), 8 | url('@{fa-font-path}/fontawesome-webfont.woff2?v=@{fa-version}') format('woff2'), 9 | url('@{fa-font-path}/fontawesome-webfont.woff?v=@{fa-version}') format('woff'), 10 | url('@{fa-font-path}/fontawesome-webfont.ttf?v=@{fa-version}') format('truetype'), 11 | url('@{fa-font-path}/fontawesome-webfont.svg?v=@{fa-version}#fontawesomeregular') format('svg'); 12 | // src: url('@{fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts 13 | font-weight: normal; 14 | font-style: normal; 15 | } 16 | -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/vendor/font-awesome/less/path.less: -------------------------------------------------------------------------------- 1 | /* FONT PATH 2 | * -------------------------- */ 3 | 4 | @font-face { 5 | font-family: 'FontAwesome'; 6 | src: url('@{fa-font-path}/fontawesome-webfont.eot?v=@{fa-version}'); 7 | src: url('@{fa-font-path}/fontawesome-webfont.eot?#iefix&v=@{fa-version}') format('embedded-opentype'), 8 | url('@{fa-font-path}/fontawesome-webfont.woff2?v=@{fa-version}') format('woff2'), 9 | url('@{fa-font-path}/fontawesome-webfont.woff?v=@{fa-version}') format('woff'), 10 | url('@{fa-font-path}/fontawesome-webfont.ttf?v=@{fa-version}') format('truetype'), 11 | url('@{fa-font-path}/fontawesome-webfont.svg?v=@{fa-version}#fontawesomeregular') format('svg'); 12 | // src: url('@{fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts 13 | font-weight: normal; 14 | font-style: normal; 15 | } 16 | -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/vendor/font-awesome/less/path.less: -------------------------------------------------------------------------------- 1 | /* FONT PATH 2 | * -------------------------- */ 3 | 4 | @font-face { 5 | font-family: 'FontAwesome'; 6 | src: url('@{fa-font-path}/fontawesome-webfont.eot?v=@{fa-version}'); 7 | src: url('@{fa-font-path}/fontawesome-webfont.eot?#iefix&v=@{fa-version}') format('embedded-opentype'), 8 | url('@{fa-font-path}/fontawesome-webfont.woff2?v=@{fa-version}') format('woff2'), 9 | url('@{fa-font-path}/fontawesome-webfont.woff?v=@{fa-version}') format('woff'), 10 | url('@{fa-font-path}/fontawesome-webfont.ttf?v=@{fa-version}') format('truetype'), 11 | url('@{fa-font-path}/fontawesome-webfont.svg?v=@{fa-version}#fontawesomeregular') format('svg'); 12 | // src: url('@{fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts 13 | font-weight: normal; 14 | font-style: normal; 15 | } 16 | -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/vendor/font-awesome/less/path.less: -------------------------------------------------------------------------------- 1 | /* FONT PATH 2 | * -------------------------- */ 3 | 4 | @font-face { 5 | font-family: 'FontAwesome'; 6 | src: url('@{fa-font-path}/fontawesome-webfont.eot?v=@{fa-version}'); 7 | src: url('@{fa-font-path}/fontawesome-webfont.eot?#iefix&v=@{fa-version}') format('embedded-opentype'), 8 | url('@{fa-font-path}/fontawesome-webfont.woff2?v=@{fa-version}') format('woff2'), 9 | url('@{fa-font-path}/fontawesome-webfont.woff?v=@{fa-version}') format('woff'), 10 | url('@{fa-font-path}/fontawesome-webfont.ttf?v=@{fa-version}') format('truetype'), 11 | url('@{fa-font-path}/fontawesome-webfont.svg?v=@{fa-version}#fontawesomeregular') format('svg'); 12 | // src: url('@{fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts 13 | font-weight: normal; 14 | font-style: normal; 15 | } 16 | -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/vendor/font-awesome/scss/_path.scss: -------------------------------------------------------------------------------- 1 | /* FONT PATH 2 | * -------------------------- */ 3 | 4 | @font-face { 5 | font-family: 'FontAwesome'; 6 | src: url('#{$fa-font-path}/fontawesome-webfont.eot?v=#{$fa-version}'); 7 | src: url('#{$fa-font-path}/fontawesome-webfont.eot?#iefix&v=#{$fa-version}') format('embedded-opentype'), 8 | url('#{$fa-font-path}/fontawesome-webfont.woff2?v=#{$fa-version}') format('woff2'), 9 | url('#{$fa-font-path}/fontawesome-webfont.woff?v=#{$fa-version}') format('woff'), 10 | url('#{$fa-font-path}/fontawesome-webfont.ttf?v=#{$fa-version}') format('truetype'), 11 | url('#{$fa-font-path}/fontawesome-webfont.svg?v=#{$fa-version}#fontawesomeregular') format('svg'); 12 | // src: url('#{$fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts 13 | font-weight: normal; 14 | font-style: normal; 15 | } 16 | -------------------------------------------------------------------------------- /Sample_WebApp/webapp/vendor/font-awesome/scss/_path.scss: -------------------------------------------------------------------------------- 1 | /* FONT PATH 2 | * -------------------------- */ 3 | 4 | @font-face { 5 | font-family: 'FontAwesome'; 6 | src: url('#{$fa-font-path}/fontawesome-webfont.eot?v=#{$fa-version}'); 7 | src: url('#{$fa-font-path}/fontawesome-webfont.eot?#iefix&v=#{$fa-version}') format('embedded-opentype'), 8 | url('#{$fa-font-path}/fontawesome-webfont.woff2?v=#{$fa-version}') format('woff2'), 9 | url('#{$fa-font-path}/fontawesome-webfont.woff?v=#{$fa-version}') format('woff'), 10 | url('#{$fa-font-path}/fontawesome-webfont.ttf?v=#{$fa-version}') format('truetype'), 11 | url('#{$fa-font-path}/fontawesome-webfont.svg?v=#{$fa-version}#fontawesomeregular') format('svg'); 12 | // src: url('#{$fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts 13 | font-weight: normal; 14 | font-style: normal; 15 | } 16 | -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/vendor/font-awesome/scss/_path.scss: -------------------------------------------------------------------------------- 1 | /* FONT PATH 2 | * -------------------------- */ 3 | 4 | @font-face { 5 | font-family: 'FontAwesome'; 6 | src: url('#{$fa-font-path}/fontawesome-webfont.eot?v=#{$fa-version}'); 7 | src: url('#{$fa-font-path}/fontawesome-webfont.eot?#iefix&v=#{$fa-version}') format('embedded-opentype'), 8 | url('#{$fa-font-path}/fontawesome-webfont.woff2?v=#{$fa-version}') format('woff2'), 9 | url('#{$fa-font-path}/fontawesome-webfont.woff?v=#{$fa-version}') format('woff'), 10 | url('#{$fa-font-path}/fontawesome-webfont.ttf?v=#{$fa-version}') format('truetype'), 11 | url('#{$fa-font-path}/fontawesome-webfont.svg?v=#{$fa-version}#fontawesomeregular') format('svg'); 12 | // src: url('#{$fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts 13 | font-weight: normal; 14 | font-style: normal; 15 | } 16 | -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/vendor/font-awesome/scss/_path.scss: -------------------------------------------------------------------------------- 1 | /* FONT PATH 2 | * -------------------------- */ 3 | 4 | @font-face { 5 | font-family: 'FontAwesome'; 6 | src: url('#{$fa-font-path}/fontawesome-webfont.eot?v=#{$fa-version}'); 7 | src: url('#{$fa-font-path}/fontawesome-webfont.eot?#iefix&v=#{$fa-version}') format('embedded-opentype'), 8 | url('#{$fa-font-path}/fontawesome-webfont.woff2?v=#{$fa-version}') format('woff2'), 9 | url('#{$fa-font-path}/fontawesome-webfont.woff?v=#{$fa-version}') format('woff'), 10 | url('#{$fa-font-path}/fontawesome-webfont.ttf?v=#{$fa-version}') format('truetype'), 11 | url('#{$fa-font-path}/fontawesome-webfont.svg?v=#{$fa-version}#fontawesomeregular') format('svg'); 12 | // src: url('#{$fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts 13 | font-weight: normal; 14 | font-style: normal; 15 | } 16 | -------------------------------------------------------------------------------- /SamlToolkit/src/main/java/com/omnissa/eucenablement/saml/api/IdpSsoMetadata.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Omnissa Identity Manager SAML Toolkit 3 | * 4 | * Copyright (c) 2016 Omnissa, LLC. All Rights Reserved. 5 | * 6 | * This product is licensed to you under the BSD-2 license (the "License"). You may not use this product except in compliance with the BSD-2 License. 7 | * 8 | * This product may include a number of subcomponents with separate copyright notices and license terms. Your use of these subcomponents is subject to the terms and conditions of the subcomponent's license, as noted in the LICENSE file. 9 | * 10 | */ 11 | package com.omnissa.eucenablement.saml.api; 12 | 13 | 14 | /** 15 | * 16 | * IdpSsoMetadata includes the information for single login service from vIDM 17 | * 18 | */ 19 | public interface IdpSsoMetadata { 20 | 21 | String getBinding(); 22 | 23 | String getLocation(); 24 | } -------------------------------------------------------------------------------- /Sample_WebApp/webapp/vendor/font-awesome/less/animated.less: -------------------------------------------------------------------------------- 1 | // Animated Icons 2 | // -------------------------- 3 | 4 | .@{fa-css-prefix}-spin { 5 | -webkit-animation: fa-spin 2s infinite linear; 6 | animation: fa-spin 2s infinite linear; 7 | } 8 | 9 | .@{fa-css-prefix}-pulse { 10 | -webkit-animation: fa-spin 1s infinite steps(8); 11 | animation: fa-spin 1s infinite steps(8); 12 | } 13 | 14 | @-webkit-keyframes fa-spin { 15 | 0% { 16 | -webkit-transform: rotate(0deg); 17 | transform: rotate(0deg); 18 | } 19 | 100% { 20 | -webkit-transform: rotate(359deg); 21 | transform: rotate(359deg); 22 | } 23 | } 24 | 25 | @keyframes fa-spin { 26 | 0% { 27 | -webkit-transform: rotate(0deg); 28 | transform: rotate(0deg); 29 | } 30 | 100% { 31 | -webkit-transform: rotate(359deg); 32 | transform: rotate(359deg); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/vendor/font-awesome/less/animated.less: -------------------------------------------------------------------------------- 1 | // Animated Icons 2 | // -------------------------- 3 | 4 | .@{fa-css-prefix}-spin { 5 | -webkit-animation: fa-spin 2s infinite linear; 6 | animation: fa-spin 2s infinite linear; 7 | } 8 | 9 | .@{fa-css-prefix}-pulse { 10 | -webkit-animation: fa-spin 1s infinite steps(8); 11 | animation: fa-spin 1s infinite steps(8); 12 | } 13 | 14 | @-webkit-keyframes fa-spin { 15 | 0% { 16 | -webkit-transform: rotate(0deg); 17 | transform: rotate(0deg); 18 | } 19 | 100% { 20 | -webkit-transform: rotate(359deg); 21 | transform: rotate(359deg); 22 | } 23 | } 24 | 25 | @keyframes fa-spin { 26 | 0% { 27 | -webkit-transform: rotate(0deg); 28 | transform: rotate(0deg); 29 | } 30 | 100% { 31 | -webkit-transform: rotate(359deg); 32 | transform: rotate(359deg); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/vendor/font-awesome/scss/_animated.scss: -------------------------------------------------------------------------------- 1 | // Spinning Icons 2 | // -------------------------- 3 | 4 | .#{$fa-css-prefix}-spin { 5 | -webkit-animation: fa-spin 2s infinite linear; 6 | animation: fa-spin 2s infinite linear; 7 | } 8 | 9 | .#{$fa-css-prefix}-pulse { 10 | -webkit-animation: fa-spin 1s infinite steps(8); 11 | animation: fa-spin 1s infinite steps(8); 12 | } 13 | 14 | @-webkit-keyframes fa-spin { 15 | 0% { 16 | -webkit-transform: rotate(0deg); 17 | transform: rotate(0deg); 18 | } 19 | 100% { 20 | -webkit-transform: rotate(359deg); 21 | transform: rotate(359deg); 22 | } 23 | } 24 | 25 | @keyframes fa-spin { 26 | 0% { 27 | -webkit-transform: rotate(0deg); 28 | transform: rotate(0deg); 29 | } 30 | 100% { 31 | -webkit-transform: rotate(359deg); 32 | transform: rotate(359deg); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/vendor/font-awesome/less/animated.less: -------------------------------------------------------------------------------- 1 | // Animated Icons 2 | // -------------------------- 3 | 4 | .@{fa-css-prefix}-spin { 5 | -webkit-animation: fa-spin 2s infinite linear; 6 | animation: fa-spin 2s infinite linear; 7 | } 8 | 9 | .@{fa-css-prefix}-pulse { 10 | -webkit-animation: fa-spin 1s infinite steps(8); 11 | animation: fa-spin 1s infinite steps(8); 12 | } 13 | 14 | @-webkit-keyframes fa-spin { 15 | 0% { 16 | -webkit-transform: rotate(0deg); 17 | transform: rotate(0deg); 18 | } 19 | 100% { 20 | -webkit-transform: rotate(359deg); 21 | transform: rotate(359deg); 22 | } 23 | } 24 | 25 | @keyframes fa-spin { 26 | 0% { 27 | -webkit-transform: rotate(0deg); 28 | transform: rotate(0deg); 29 | } 30 | 100% { 31 | -webkit-transform: rotate(359deg); 32 | transform: rotate(359deg); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/vendor/font-awesome/less/animated.less: -------------------------------------------------------------------------------- 1 | // Animated Icons 2 | // -------------------------- 3 | 4 | .@{fa-css-prefix}-spin { 5 | -webkit-animation: fa-spin 2s infinite linear; 6 | animation: fa-spin 2s infinite linear; 7 | } 8 | 9 | .@{fa-css-prefix}-pulse { 10 | -webkit-animation: fa-spin 1s infinite steps(8); 11 | animation: fa-spin 1s infinite steps(8); 12 | } 13 | 14 | @-webkit-keyframes fa-spin { 15 | 0% { 16 | -webkit-transform: rotate(0deg); 17 | transform: rotate(0deg); 18 | } 19 | 100% { 20 | -webkit-transform: rotate(359deg); 21 | transform: rotate(359deg); 22 | } 23 | } 24 | 25 | @keyframes fa-spin { 26 | 0% { 27 | -webkit-transform: rotate(0deg); 28 | transform: rotate(0deg); 29 | } 30 | 100% { 31 | -webkit-transform: rotate(359deg); 32 | transform: rotate(359deg); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /Sample_WebApp/webapp/vendor/font-awesome/scss/_animated.scss: -------------------------------------------------------------------------------- 1 | // Spinning Icons 2 | // -------------------------- 3 | 4 | .#{$fa-css-prefix}-spin { 5 | -webkit-animation: fa-spin 2s infinite linear; 6 | animation: fa-spin 2s infinite linear; 7 | } 8 | 9 | .#{$fa-css-prefix}-pulse { 10 | -webkit-animation: fa-spin 1s infinite steps(8); 11 | animation: fa-spin 1s infinite steps(8); 12 | } 13 | 14 | @-webkit-keyframes fa-spin { 15 | 0% { 16 | -webkit-transform: rotate(0deg); 17 | transform: rotate(0deg); 18 | } 19 | 100% { 20 | -webkit-transform: rotate(359deg); 21 | transform: rotate(359deg); 22 | } 23 | } 24 | 25 | @keyframes fa-spin { 26 | 0% { 27 | -webkit-transform: rotate(0deg); 28 | transform: rotate(0deg); 29 | } 30 | 100% { 31 | -webkit-transform: rotate(359deg); 32 | transform: rotate(359deg); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/vendor/font-awesome/scss/_animated.scss: -------------------------------------------------------------------------------- 1 | // Spinning Icons 2 | // -------------------------- 3 | 4 | .#{$fa-css-prefix}-spin { 5 | -webkit-animation: fa-spin 2s infinite linear; 6 | animation: fa-spin 2s infinite linear; 7 | } 8 | 9 | .#{$fa-css-prefix}-pulse { 10 | -webkit-animation: fa-spin 1s infinite steps(8); 11 | animation: fa-spin 1s infinite steps(8); 12 | } 13 | 14 | @-webkit-keyframes fa-spin { 15 | 0% { 16 | -webkit-transform: rotate(0deg); 17 | transform: rotate(0deg); 18 | } 19 | 100% { 20 | -webkit-transform: rotate(359deg); 21 | transform: rotate(359deg); 22 | } 23 | } 24 | 25 | @keyframes fa-spin { 26 | 0% { 27 | -webkit-transform: rotate(0deg); 28 | transform: rotate(0deg); 29 | } 30 | 100% { 31 | -webkit-transform: rotate(359deg); 32 | transform: rotate(359deg); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/vendor/font-awesome/scss/_animated.scss: -------------------------------------------------------------------------------- 1 | // Spinning Icons 2 | // -------------------------- 3 | 4 | .#{$fa-css-prefix}-spin { 5 | -webkit-animation: fa-spin 2s infinite linear; 6 | animation: fa-spin 2s infinite linear; 7 | } 8 | 9 | .#{$fa-css-prefix}-pulse { 10 | -webkit-animation: fa-spin 1s infinite steps(8); 11 | animation: fa-spin 1s infinite steps(8); 12 | } 13 | 14 | @-webkit-keyframes fa-spin { 15 | 0% { 16 | -webkit-transform: rotate(0deg); 17 | transform: rotate(0deg); 18 | } 19 | 100% { 20 | -webkit-transform: rotate(359deg); 21 | transform: rotate(359deg); 22 | } 23 | } 24 | 25 | @keyframes fa-spin { 26 | 0% { 27 | -webkit-transform: rotate(0deg); 28 | transform: rotate(0deg); 29 | } 30 | 100% { 31 | -webkit-transform: rotate(359deg); 32 | transform: rotate(359deg); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /SamlToolkit/src/main/java/com/omnissa/eucenablement/saml/api/IdpLogoutMetadata.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Omnissa Identity Manager SAML Toolkit 3 | * 4 | * Copyright (c) 2016 Omnissa, LLC. All Rights Reserved. 5 | * 6 | * This product is licensed to you under the BSD-2 license (the "License"). You may not use this product except in compliance with the BSD-2 License. 7 | * 8 | * This product may include a number of subcomponents with separate copyright notices and license terms. Your use of these subcomponents is subject to the terms and conditions of the subcomponent's license, as noted in the LICENSE file. 9 | * 10 | */ 11 | package com.omnissa.eucenablement.saml.api; 12 | 13 | /** 14 | * 15 | * IdpLogoutMetadata includes the information for single logout service from vIDM 16 | * 17 | */ 18 | public interface IdpLogoutMetadata { 19 | 20 | String getBinding(); 21 | 22 | String getLocation(); 23 | 24 | String getResponseLocation(); 25 | } -------------------------------------------------------------------------------- /SamlToolkit/src/main/java/com/omnissa/eucenablement/oauth/OAuth2Config.java: -------------------------------------------------------------------------------- 1 | package com.omnissa.eucenablement.oauth; 2 | 3 | import java.io.IOException; 4 | import java.net.URLEncoder; 5 | 6 | /** 7 | *

OAuth2 config. Including APP_KEY, APP_SECRET, and your REDIRECT_URI.

8 | *

Created by chenzhang on 2017-08-15.

9 | */ 10 | public class OAuth2Config { 11 | 12 | private String APP_ID; 13 | private String APP_SECRET; 14 | private String REDIRECT_URI; 15 | 16 | public OAuth2Config(String APP_ID, String APP_SECRET, String REDIRECT_URI) { 17 | this.APP_ID=APP_ID; 18 | this.APP_SECRET=APP_SECRET; 19 | this.REDIRECT_URI = REDIRECT_URI; 20 | } 21 | 22 | public String get_APP_ID() {return APP_ID;} 23 | public String get_APP_SECRET() {return APP_SECRET;} 24 | public String get_REDIRECT_URI() {return REDIRECT_URI;} 25 | public String get_REDIRECT_URI_ENCODED() throws IOException { 26 | return URLEncoder.encode(REDIRECT_URI, "utf-8"); 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/samlrequest.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | https://steng.omnissaidentity.asia/SAAS/API/1.0/GET/metadata/sp.xml 9 | 10 | 12 | 13 | urn:oasis:names:tc:SAML:2.0:ac:classes:Password 14 | 15 | 16 | -------------------------------------------------------------------------------- /SamlToolkit/src/main/java/com/omnissa/eucenablement/saml/api/IdpMainMetadata.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Omnissa Identity Manager SAML Toolkit 3 | * 4 | * Copyright (c) 2016 Omnissa, LLC. All Rights Reserved. 5 | * 6 | * This product is licensed to you under the BSD-2 license (the "License"). You may not use this product except in compliance with the BSD-2 License. 7 | * 8 | * This product may include a number of subcomponents with separate copyright notices and license terms. Your use of these subcomponents is subject to the terms and conditions of the subcomponent's license, as noted in the LICENSE file. 9 | * 10 | */ 11 | package com.omnissa.eucenablement.saml.api; 12 | 13 | import java.util.List; 14 | 15 | /** 16 | * 17 | * IdpMainMetadata includes major information for SSO & SLO from vIDM 18 | * 19 | */ 20 | public interface IdpMainMetadata { 21 | public String getSigningKey(); 22 | 23 | public String getEncrpytionKey(); 24 | 25 | public String getIdpUri(); 26 | 27 | List getSsoMetadata(); 28 | 29 | List getLogoutMetadata(); 30 | } 31 | -------------------------------------------------------------------------------- /SamlToolkit/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/ssoLogin.jsp: -------------------------------------------------------------------------------- 1 | 12 | <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> 13 | <%@ page import="com.omnissa.eucenablement.sample.MySSO" %> 14 | 15 | 16 | 17 | 18 | IDP Discovery 19 | 20 | 21 | <% 22 | String redirectURL = MySSO.getSSOService().getSSOURLRedirect(""); 23 | response.sendRedirect(redirectURL); 24 | %> 25 | 26 | -------------------------------------------------------------------------------- /Sample_WebApp/webapp/ssoLogin.jsp: -------------------------------------------------------------------------------- 1 | 12 | <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> 13 | <%@ page import="com.omnissa.eucenablement.sample.MySSO" %> 14 | 15 | 16 | 17 | 18 | IDP Discovery 19 | 20 | 21 | <% 22 | String redirectURL = MySSO.getSSOService().getSSOURLRedirect(""); 23 | response.sendRedirect(redirectURL); 24 | %> 25 | 26 | -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/ssoLogin.jsp: -------------------------------------------------------------------------------- 1 | 12 | <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> 13 | <%@ page import="com.omnissa.eucenablement.sample.MySSO" %> 14 | 15 | 16 | 17 | 18 | IDP Discovery 19 | 20 | 21 | <% 22 | String redirectURL = MySSO.getSSOService().getSSOURLRedirect(""); 23 | response.sendRedirect(redirectURL); 24 | %> 25 | 26 | -------------------------------------------------------------------------------- /Sample_AppOAuth/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Sample_WebApp/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Sample_AuthServer/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Sample_ServerOAuth/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Sample_WebApp/webapp/js/grayscale.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Start Bootstrap - Grayscale Bootstrap Theme (http://startbootstrap.com) 3 | * Code licensed under the Apache License v2.0. 4 | * For details, see http://www.apache.org/licenses/LICENSE-2.0. 5 | */ 6 | 7 | // jQuery to collapse the navbar on scroll 8 | function collapseNavbar() { 9 | if ($(".navbar").offset().top > 50) { 10 | $(".navbar-fixed-top").addClass("top-nav-collapse"); 11 | } else { 12 | $(".navbar-fixed-top").removeClass("top-nav-collapse"); 13 | } 14 | } 15 | 16 | $(window).scroll(collapseNavbar); 17 | $(document).ready(collapseNavbar); 18 | 19 | // jQuery for page scrolling feature - requires jQuery Easing plugin 20 | $(function() { 21 | $('a.page-scroll').bind('click', function(event) { 22 | var $anchor = $(this); 23 | $('html, body').stop().animate({ 24 | scrollTop: $($anchor.attr('href')).offset().top 25 | }, 1500, 'easeInOutExpo'); 26 | event.preventDefault(); 27 | }); 28 | }); 29 | 30 | // Closes the Responsive Menu on Menu Item Click 31 | $('.navbar-collapse ul li a').click(function() { 32 | $(this).closest('.collapse').collapse('toggle'); 33 | }); -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/js/grayscale.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Start Bootstrap - Grayscale Bootstrap Theme (http://startbootstrap.com) 3 | * Code licensed under the Apache License v2.0. 4 | * For details, see http://www.apache.org/licenses/LICENSE-2.0. 5 | */ 6 | 7 | // jQuery to collapse the navbar on scroll 8 | function collapseNavbar() { 9 | if ($(".navbar").offset().top > 50) { 10 | $(".navbar-fixed-top").addClass("top-nav-collapse"); 11 | } else { 12 | $(".navbar-fixed-top").removeClass("top-nav-collapse"); 13 | } 14 | } 15 | 16 | $(window).scroll(collapseNavbar); 17 | $(document).ready(collapseNavbar); 18 | 19 | // jQuery for page scrolling feature - requires jQuery Easing plugin 20 | $(function() { 21 | $('a.page-scroll').bind('click', function(event) { 22 | var $anchor = $(this); 23 | $('html, body').stop().animate({ 24 | scrollTop: $($anchor.attr('href')).offset().top 25 | }, 1500, 'easeInOutExpo'); 26 | event.preventDefault(); 27 | }); 28 | }); 29 | 30 | // Closes the Responsive Menu on Menu Item Click 31 | $('.navbar-collapse ul li a').click(function() { 32 | $(this).closest('.collapse').collapse('toggle'); 33 | }); -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/js/grayscale.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Start Bootstrap - Grayscale Bootstrap Theme (http://startbootstrap.com) 3 | * Code licensed under the Apache License v2.0. 4 | * For details, see http://www.apache.org/licenses/LICENSE-2.0. 5 | */ 6 | 7 | // jQuery to collapse the navbar on scroll 8 | function collapseNavbar() { 9 | if ($(".navbar").offset().top > 50) { 10 | $(".navbar-fixed-top").addClass("top-nav-collapse"); 11 | } else { 12 | $(".navbar-fixed-top").removeClass("top-nav-collapse"); 13 | } 14 | } 15 | 16 | $(window).scroll(collapseNavbar); 17 | $(document).ready(collapseNavbar); 18 | 19 | // jQuery for page scrolling feature - requires jQuery Easing plugin 20 | $(function() { 21 | $('a.page-scroll').bind('click', function(event) { 22 | var $anchor = $(this); 23 | $('html, body').stop().animate({ 24 | scrollTop: $($anchor.attr('href')).offset().top 25 | }, 1500, 'easeInOutExpo'); 26 | event.preventDefault(); 27 | }); 28 | }); 29 | 30 | // Closes the Responsive Menu on Menu Item Click 31 | $('.navbar-collapse ul li a').click(function() { 32 | $(this).closest('.collapse').collapse('toggle'); 33 | }); -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/js/grayscale.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Start Bootstrap - Grayscale Bootstrap Theme (http://startbootstrap.com) 3 | * Code licensed under the Apache License v2.0. 4 | * For details, see http://www.apache.org/licenses/LICENSE-2.0. 5 | */ 6 | 7 | // jQuery to collapse the navbar on scroll 8 | function collapseNavbar() { 9 | if ($(".navbar").offset().top > 50) { 10 | $(".navbar-fixed-top").addClass("top-nav-collapse"); 11 | } else { 12 | $(".navbar-fixed-top").removeClass("top-nav-collapse"); 13 | } 14 | } 15 | 16 | $(window).scroll(collapseNavbar); 17 | $(document).ready(collapseNavbar); 18 | 19 | // jQuery for page scrolling feature - requires jQuery Easing plugin 20 | $(function() { 21 | $('a.page-scroll').bind('click', function(event) { 22 | var $anchor = $(this); 23 | $('html, body').stop().animate({ 24 | scrollTop: $($anchor.attr('href')).offset().top 25 | }, 1500, 'easeInOutExpo'); 26 | event.preventDefault(); 27 | }); 28 | }); 29 | 30 | // Closes the Responsive Menu on Menu Item Click 31 | $('.navbar-collapse ul li a').click(function() { 32 | $(this).closest('.collapse').collapse('toggle'); 33 | }); -------------------------------------------------------------------------------- /Sample_AuthServer/src/main/java/com/omnissa/eucenablement/sample/idp/MyIDP.java: -------------------------------------------------------------------------------- 1 | package com.omnissa.eucenablement.sample.idp; 2 | 3 | import java.io.InputStream; 4 | 5 | import org.slf4j.Logger; 6 | import org.slf4j.LoggerFactory; 7 | 8 | import com.omnissa.samltoolkit.idp.IDPService; 9 | import com.omnissa.samltoolkit.idp.SAMLIDPConf; 10 | 11 | public class MyIDP { 12 | 13 | private static IDPService service; 14 | 15 | private static Logger log = LoggerFactory.getLogger(MyIDP.class); 16 | 17 | /** 18 | * 19 | * @param issuer like https://localhost:8443/SamlSample/idp.xml 20 | * @return 21 | */ 22 | public static IDPService initIDPService(String issuer, InputStream kestoreStream, String keystorepwd) { 23 | 24 | 25 | try { 26 | SAMLIDPConf conf = new SAMLIDPConf(issuer, kestoreStream, keystorepwd); 27 | service = new IDPService(conf); 28 | } catch (Exception e) { 29 | log.error("Error initializing service", e); 30 | service = null; 31 | } 32 | return service; 33 | } 34 | 35 | public static IDPService getIDPService() { 36 | if (service == null) 37 | log.error("IDPService is null!! Please init it again!"); 38 | 39 | return service; 40 | } 41 | 42 | 43 | } 44 | -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/ssoLoginByPostBinding.jsp: -------------------------------------------------------------------------------- 1 | 12 | <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> 13 | <%@ page import="java.io.*" %> 14 | 15 | 16 | 17 | 18 | IDP Discovery 19 | 20 | 21 | <% 22 | String postHtmlContent = MySSO.getSSOService().getSSOHtmlPost(null); 23 | if(postHtmlContent != null) { 24 | out.write(postHtmlContent); 25 | } else { 26 | out.write("Cannot generate valid authn request"); 27 | } 28 | %> 29 | 30 | -------------------------------------------------------------------------------- /SamlToolkit/src/main/java/com/omnissa/eucenablement/saml/impl/VidmSamlConstants.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Omnissa Identity Manager SAML Toolkit 3 | * 4 | * Copyright (c) 2016 Omnissa, LLC. All Rights Reserved. 5 | * 6 | * This product is licensed to you under the BSD-2 license (the "License"). You may not use this product except in compliance with the BSD-2 License. 7 | * 8 | * This product may include a number of subcomponents with separate copyright notices and license terms. Your use of these subcomponents is subject to the terms and conditions of the subcomponent's license, as noted in the LICENSE file. 9 | * 10 | */ 11 | package com.omnissa.eucenablement.saml.impl; 12 | 13 | public class VidmSamlConstants { 14 | 15 | // Strings for PEM formatting 16 | public static final CharSequence BEGIN_CERT = "BEGIN CERTIFICATE"; 17 | public static final CharSequence BEGIN_PRIVATE = "BEGIN RSA PRIVATE KEY"; 18 | public static final String BEGIN_PRIVATE_FULL = "-----BEGIN RSA PRIVATE KEY-----"; 19 | public static final String END_PRIVATE_FULL = "-----END RSA PRIVATE KEY-----"; 20 | public static final String BEGIN_CERT_FULL = "-----BEGIN CERTIFICATE-----"; 21 | public static final String END_CERT_FULL = "-----END CERTIFICATE-----"; 22 | } 23 | -------------------------------------------------------------------------------- /Sample_ServerOAuth/src/main/java/com/omnissa/eucenablement/sample/idp/MyIDP.java: -------------------------------------------------------------------------------- 1 | package com.omnissa.eucenablement.sample.idp; 2 | 3 | import java.io.InputStream; 4 | 5 | import org.slf4j.Logger; 6 | import org.slf4j.LoggerFactory; 7 | 8 | import com.omnissa.samltoolkit.idp.IDPService; 9 | import com.omnissa.samltoolkit.idp.SAMLIDPConf; 10 | 11 | public class MyIDP { 12 | 13 | private static IDPService service; 14 | 15 | private static Logger log = LoggerFactory.getLogger(MyIDP.class); 16 | 17 | /** 18 | * 19 | * @param issuer like https://localhost:8443/SamlSample/idp.xml 20 | * @return 21 | */ 22 | public static IDPService initIDPService(String issuer, InputStream kestoreStream, String keystorepwd) { 23 | 24 | 25 | try { 26 | SAMLIDPConf conf = new SAMLIDPConf(issuer, kestoreStream, keystorepwd); 27 | 28 | 29 | 30 | service = new IDPService(conf); 31 | } catch (Exception e) { 32 | log.error("Error initializing service", e); 33 | service = null; 34 | } 35 | return service; 36 | } 37 | 38 | 39 | 40 | public static IDPService getIDPService() { 41 | 42 | if (service == null) 43 | log.error("IDPService is null!! Please init it again!"); 44 | 45 | return service; 46 | } 47 | 48 | 49 | } 50 | -------------------------------------------------------------------------------- /Sample_WebApp/webapp/ssoLoginByPostBinding.jsp: -------------------------------------------------------------------------------- 1 | 12 | <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> 13 | <%@ page import="com.omnissa.eucenablement.sample.MySSO" %> 14 | <%@ page import="java.io.*" %> 15 | 16 | 17 | 18 | 19 | IDP Discovery 20 | 21 | 22 | <% 23 | String postHtmlContent = MySSO.getSSOService().getSSOHtmlPost(null); 24 | if(postHtmlContent != null) { 25 | out.write(postHtmlContent); 26 | } else { 27 | out.write("Cannot generate valid authn request"); 28 | } 29 | %> 30 | 31 | -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/ssoLoginByPostBinding.jsp: -------------------------------------------------------------------------------- 1 | 12 | <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> 13 | <%@ page import="com.omnissa.eucenablement.sample.MySSO" %> 14 | <%@ page import="java.io.*" %> 15 | 16 | 17 | 18 | 19 | IDP Discovery 20 | 21 | 22 | <% 23 | String postHtmlContent = MySSO.getSSOService().getSSOHtmlPost(null); 24 | if(postHtmlContent != null) { 25 | out.write(postHtmlContent); 26 | } else { 27 | out.write("Cannot generate valid authn request"); 28 | } 29 | %> 30 | 31 | -------------------------------------------------------------------------------- /SamlToolkit/src/main/java/com/omnissa/eucenablement/saml/impl/IdpSsoMetadataImpl.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Omnissa Identity Manager SAML Toolkit 3 | * 4 | * Copyright (c) 2016 Omnissa, LLC. All Rights Reserved. 5 | * 6 | * This product is licensed to you under the BSD-2 license (the "License"). You may not use this product except in compliance with the BSD-2 License. 7 | * 8 | * This product may include a number of subcomponents with separate copyright notices and license terms. Your use of these subcomponents is subject to the terms and conditions of the subcomponent's license, as noted in the LICENSE file. 9 | * 10 | */ 11 | package com.omnissa.eucenablement.saml.impl; 12 | 13 | import com.omnissa.eucenablement.saml.api.IdpSsoMetadata; 14 | 15 | public class IdpSsoMetadataImpl implements IdpSsoMetadata { 16 | 17 | /** Supported binding type of single sign on service */ 18 | private String binding; 19 | 20 | /** URI of single sign on service */ 21 | private String location; 22 | 23 | public IdpSsoMetadataImpl(String binding, String location) { 24 | this.binding = binding; 25 | this.location = location; 26 | } 27 | 28 | @Override 29 | public String getBinding() { 30 | return this.binding; 31 | } 32 | 33 | @Override 34 | public String getLocation() { 35 | return this.location; 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /Sample_AuthServer/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | SamlSample 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.wst.jsdt.core.javascriptValidator 10 | 11 | 12 | 13 | 14 | org.eclipse.jdt.core.javabuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.wst.common.project.facet.core.builder 20 | 21 | 22 | 23 | 24 | org.eclipse.wst.validation.validationbuilder 25 | 26 | 27 | 28 | 29 | org.eclipse.m2e.core.maven2Builder 30 | 31 | 32 | 33 | 34 | 35 | org.eclipse.jem.workbench.JavaEMFNature 36 | org.eclipse.wst.common.modulecore.ModuleCoreNature 37 | org.eclipse.jdt.core.javanature 38 | org.eclipse.m2e.core.maven2Nature 39 | org.eclipse.wst.common.project.facet.core.nature 40 | org.eclipse.wst.jsdt.core.jsNature 41 | 42 | 43 | -------------------------------------------------------------------------------- /SamlToolkit/src/test/java/com/vmware/eucenablement/AppTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Omnissa Identity Manager SAML Toolkit 3 | 4 | Copyright (c) 2016 Omnissa, LLC. All Rights Reserved. 5 | 6 | This product is licensed to you under the BSD-2 license (the "License"). You may not use this product except in compliance with the BSD-2 License. 7 | 8 | This product may include a number of subcomponents with separate copyright notices and license terms. Your use of these subcomponents is subject to the terms and conditions of the subcomponent's license, as noted in the LICENSE file. 9 | 10 | */ 11 | package com.omnissa.eucenablement; 12 | 13 | import junit.framework.Test; 14 | import junit.framework.TestCase; 15 | import junit.framework.TestSuite; 16 | 17 | /** 18 | * Unit test for simple App. 19 | */ 20 | public class AppTest 21 | extends TestCase 22 | { 23 | /** 24 | * Create the test case 25 | * 26 | * @param testName name of the test case 27 | */ 28 | public AppTest( String testName ) 29 | { 30 | super( testName ); 31 | } 32 | 33 | /** 34 | * @return the suite of tests being tested 35 | */ 36 | public static Test suite() 37 | { 38 | return new TestSuite( AppTest.class ); 39 | } 40 | 41 | /** 42 | * Rigourous Test :-) 43 | */ 44 | public void testApp() 45 | { 46 | assertTrue( true ); 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /SamlToolkit/src/main/java/com/omnissa/samltoolkit/SAMLSsoResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Omnissa Identity Manager SAML Toolkit 3 | * 4 | * Copyright (c) 2016 Omnissa, LLC. All Rights Reserved. 5 | * 6 | * This product is licensed to you under the BSD-2 license (the "License"). You may not use this product except in compliance with the BSD-2 License. 7 | * 8 | * This product may include a number of subcomponents with separate copyright notices and license terms. Your use of these subcomponents is subject to the terms and conditions of the subcomponent's license, as noted in the LICENSE file. 9 | * 10 | */ 11 | package com.omnissa.samltoolkit; 12 | 13 | import java.io.Serializable; 14 | 15 | public interface SAMLSsoResponse extends Serializable { 16 | 17 | /** 18 | * Whether this SSO response is valid 19 | * 20 | * @return true if this response is valid; Otherwise, return false. 21 | */ 22 | public boolean isValid(); 23 | 24 | /** 25 | * Get the name id of login user 26 | * 27 | * @return name id of login user. 28 | */ 29 | public String getNameId(); 30 | 31 | /** 32 | * whether single sign on operation is successful. 33 | * 34 | * @return true if sso successfully. 35 | */ 36 | public boolean ssoSucceed(); 37 | 38 | /** 39 | * get the session index of SSO assertion 40 | * 41 | * @return session index of SSO assertion 42 | */ 43 | public String getSessionIndex(); 44 | } 45 | -------------------------------------------------------------------------------- /Sample_AppOAuth/src/main/java/com/omnissa/eucenablement/sample/SslUtilities.java: -------------------------------------------------------------------------------- 1 | package com.omnissa.eucenablement.sample; 2 | 3 | import java.security.KeyManagementException; 4 | import java.security.NoSuchAlgorithmException; 5 | import java.security.SecureRandom; 6 | import java.security.cert.X509Certificate; 7 | 8 | import javax.net.ssl.HttpsURLConnection; 9 | import javax.net.ssl.SSLContext; 10 | import javax.net.ssl.TrustManager; 11 | import javax.net.ssl.X509TrustManager; 12 | 13 | public class SslUtilities { 14 | /* 15 | * This is only for usage of the sample to trust all certificates. This 16 | * should never be used on production environment 17 | */ 18 | public static TrustManager[] getTrustManager() { 19 | 20 | TrustManager[] certs = new TrustManager[] { new X509TrustManager() { 21 | public X509Certificate[] getAcceptedIssuers() { 22 | return null; 23 | } 24 | 25 | public void checkClientTrusted(X509Certificate[] certs, String t) { 26 | } 27 | 28 | public void checkServerTrusted(X509Certificate[] certs, String t) { 29 | } 30 | } }; 31 | return certs; 32 | } 33 | 34 | public static void trustAllCertificates() throws NoSuchAlgorithmException, KeyManagementException { 35 | 36 | SSLContext sslCtx = SSLContext.getInstance("TLS"); 37 | TrustManager[] trustMgr = getTrustManager(); 38 | sslCtx.init(null, trustMgr, new SecureRandom()); 39 | HttpsURLConnection.setDefaultSSLSocketFactory(sslCtx.getSocketFactory()); 40 | } 41 | 42 | } 43 | -------------------------------------------------------------------------------- /Sample_AuthServer/src/main/java/com/omnissa/eucenablement/sample/idp/SslUtilities.java: -------------------------------------------------------------------------------- 1 | package com.omnissa.eucenablement.sample.idp; 2 | 3 | import java.security.KeyManagementException; 4 | import java.security.NoSuchAlgorithmException; 5 | import java.security.SecureRandom; 6 | import java.security.cert.X509Certificate; 7 | 8 | import javax.net.ssl.HttpsURLConnection; 9 | import javax.net.ssl.SSLContext; 10 | import javax.net.ssl.TrustManager; 11 | import javax.net.ssl.X509TrustManager; 12 | 13 | public class SslUtilities { 14 | /* 15 | * This is only for usage of the sample to trust all certificates. This 16 | * should never be used on production environment 17 | */ 18 | public static TrustManager[] getTrustManager() { 19 | 20 | TrustManager[] certs = new TrustManager[] { new X509TrustManager() { 21 | public X509Certificate[] getAcceptedIssuers() { 22 | return null; 23 | } 24 | 25 | public void checkClientTrusted(X509Certificate[] certs, String t) { 26 | } 27 | 28 | public void checkServerTrusted(X509Certificate[] certs, String t) { 29 | } 30 | } }; 31 | return certs; 32 | } 33 | 34 | public static void trustAllCertificates() throws NoSuchAlgorithmException, KeyManagementException { 35 | 36 | SSLContext sslCtx = SSLContext.getInstance("TLS"); 37 | TrustManager[] trustMgr = getTrustManager(); 38 | sslCtx.init(null, trustMgr, new SecureRandom()); 39 | HttpsURLConnection.setDefaultSSLSocketFactory(sslCtx.getSocketFactory()); 40 | } 41 | 42 | } 43 | -------------------------------------------------------------------------------- /Sample_ServerOAuth/src/main/java/com/omnissa/eucenablement/sample/idp/SslUtilities.java: -------------------------------------------------------------------------------- 1 | package com.omnissa.eucenablement.sample.idp; 2 | 3 | import java.security.KeyManagementException; 4 | import java.security.NoSuchAlgorithmException; 5 | import java.security.SecureRandom; 6 | import java.security.cert.X509Certificate; 7 | 8 | import javax.net.ssl.HttpsURLConnection; 9 | import javax.net.ssl.SSLContext; 10 | import javax.net.ssl.TrustManager; 11 | import javax.net.ssl.X509TrustManager; 12 | 13 | public class SslUtilities { 14 | /* 15 | * This is only for usage of the sample to trust all certificates. This 16 | * should never be used on production environment 17 | */ 18 | public static TrustManager[] getTrustManager() { 19 | 20 | TrustManager[] certs = new TrustManager[] { new X509TrustManager() { 21 | public X509Certificate[] getAcceptedIssuers() { 22 | return null; 23 | } 24 | 25 | public void checkClientTrusted(X509Certificate[] certs, String t) { 26 | } 27 | 28 | public void checkServerTrusted(X509Certificate[] certs, String t) { 29 | } 30 | } }; 31 | return certs; 32 | } 33 | 34 | public static void trustAllCertificates() throws NoSuchAlgorithmException, KeyManagementException { 35 | 36 | SSLContext sslCtx = SSLContext.getInstance("TLS"); 37 | TrustManager[] trustMgr = getTrustManager(); 38 | sslCtx.init(null, trustMgr, new SecureRandom()); 39 | HttpsURLConnection.setDefaultSSLSocketFactory(sslCtx.getSocketFactory()); 40 | } 41 | 42 | } 43 | -------------------------------------------------------------------------------- /SamlToolkit/src/main/java/com/omnissa/eucenablement/saml/impl/IdpSingleLogoutMetadataImpl.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Omnissa Identity Manager SAML Toolkit 3 | * 4 | * Copyright (c) 2016 Omnissa, LLC. All Rights Reserved. 5 | * 6 | * This product is licensed to you under the BSD-2 license (the "License"). You may not use this product except in compliance with the BSD-2 License. 7 | * 8 | * This product may include a number of subcomponents with separate copyright notices and license terms. Your use of these subcomponents is subject to the terms and conditions of the subcomponent's license, as noted in the LICENSE file. 9 | * 10 | */ 11 | package com.omnissa.eucenablement.saml.impl; 12 | 13 | import com.omnissa.eucenablement.saml.api.IdpLogoutMetadata; 14 | 15 | public class IdpSingleLogoutMetadataImpl implements IdpLogoutMetadata { 16 | 17 | /** Supported binding type of single logout service */ 18 | private String binding; 19 | 20 | /** URI of single logout service */ 21 | private String location; 22 | private String responseLocation; 23 | 24 | public IdpSingleLogoutMetadataImpl(String binding, String location, String responseLocation) { 25 | this.binding = binding; 26 | this.location = location; 27 | this.responseLocation = responseLocation; 28 | } 29 | 30 | @Override 31 | public String getBinding() { 32 | return this.binding; 33 | } 34 | 35 | @Override 36 | public String getLocation() { 37 | return this.location; 38 | } 39 | 40 | @Override 41 | public String getResponseLocation() { 42 | return this.responseLocation; 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Omnissa Identity Manager SAML Toolkit 2 | 3 | Copyright 2016 Omnissa, LLC. All rights reserved 4 | 5 | The BSD-2 license (the "License") set forth below applies to all parts of the Omnissa Identity Manager SAML Toolkit 6 | project. You may not use this file except in compliance with the License.� 7 | 8 | BSD-2 License 9 | 10 | Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 11 | � Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 12 | � Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 13 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/logout.jsp: -------------------------------------------------------------------------------- 1 | 12 | <%@ page contentType="text/html;charset=UTF-8" %> 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | <% 23 | if(session.getAttribute("userName") != null) { 24 | //TODO: these should be moved to some jsp after receving logout response from vidm 25 | 26 | session.removeAttribute("userName"); 27 | session.invalidate(); 28 | 29 | } 30 | %> 31 | 32 |
33 |
34 |
35 |
36 |

You have logged out from vIDM!

37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 | 48 | -------------------------------------------------------------------------------- /Sample_WebApp/webapp/userpage.jsp: -------------------------------------------------------------------------------- 1 | 12 | <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> 13 | <%@ page import="java.util.List" %> 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 |
24 |
25 |
26 |
27 |

Welcome, <%=session.getAttribute("userName")%>!

28 | 29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 | 41 | -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/idpDiscovery.jsp: -------------------------------------------------------------------------------- 1 | 12 | <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 |
22 |
23 |
24 | 25 |

Configure VIDM as IDP

26 |
27 |
28 |
29 |

Your vIDM ROOT URL:

30 |
31 | 32 |
33 | 34 |
35 |
36 |
37 | 38 |
39 |
40 |
41 |
42 |
43 |
44 | 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/vendor/font-awesome/less/mixins.less: -------------------------------------------------------------------------------- 1 | // Mixins 2 | // -------------------------- 3 | 4 | .fa-icon() { 5 | display: inline-block; 6 | font: normal normal normal @fa-font-size-base/@fa-line-height-base FontAwesome; // shortening font declaration 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override 8 | text-rendering: auto; // optimizelegibility throws things off #1094 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | 12 | } 13 | 14 | .fa-icon-rotate(@degrees, @rotation) { 15 | -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=@{rotation})"; 16 | -webkit-transform: rotate(@degrees); 17 | -ms-transform: rotate(@degrees); 18 | transform: rotate(@degrees); 19 | } 20 | 21 | .fa-icon-flip(@horiz, @vert, @rotation) { 22 | -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=@{rotation}, mirror=1)"; 23 | -webkit-transform: scale(@horiz, @vert); 24 | -ms-transform: scale(@horiz, @vert); 25 | transform: scale(@horiz, @vert); 26 | } 27 | 28 | 29 | // Only display content to screen readers. A la Bootstrap 4. 30 | // 31 | // See: http://a11yproject.com/posts/how-to-hide-content/ 32 | 33 | .sr-only() { 34 | position: absolute; 35 | width: 1px; 36 | height: 1px; 37 | padding: 0; 38 | margin: -1px; 39 | overflow: hidden; 40 | clip: rect(0,0,0,0); 41 | border: 0; 42 | } 43 | 44 | // Use in conjunction with .sr-only to only display content when it's focused. 45 | // 46 | // Useful for "Skip to main content" links; see http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1 47 | // 48 | // Credit: HTML5 Boilerplate 49 | 50 | .sr-only-focusable() { 51 | &:active, 52 | &:focus { 53 | position: static; 54 | width: auto; 55 | height: auto; 56 | margin: 0; 57 | overflow: visible; 58 | clip: auto; 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /Sample_WebApp/webapp/vendor/font-awesome/less/mixins.less: -------------------------------------------------------------------------------- 1 | // Mixins 2 | // -------------------------- 3 | 4 | .fa-icon() { 5 | display: inline-block; 6 | font: normal normal normal @fa-font-size-base/@fa-line-height-base FontAwesome; // shortening font declaration 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override 8 | text-rendering: auto; // optimizelegibility throws things off #1094 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | 12 | } 13 | 14 | .fa-icon-rotate(@degrees, @rotation) { 15 | -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=@{rotation})"; 16 | -webkit-transform: rotate(@degrees); 17 | -ms-transform: rotate(@degrees); 18 | transform: rotate(@degrees); 19 | } 20 | 21 | .fa-icon-flip(@horiz, @vert, @rotation) { 22 | -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=@{rotation}, mirror=1)"; 23 | -webkit-transform: scale(@horiz, @vert); 24 | -ms-transform: scale(@horiz, @vert); 25 | transform: scale(@horiz, @vert); 26 | } 27 | 28 | 29 | // Only display content to screen readers. A la Bootstrap 4. 30 | // 31 | // See: http://a11yproject.com/posts/how-to-hide-content/ 32 | 33 | .sr-only() { 34 | position: absolute; 35 | width: 1px; 36 | height: 1px; 37 | padding: 0; 38 | margin: -1px; 39 | overflow: hidden; 40 | clip: rect(0,0,0,0); 41 | border: 0; 42 | } 43 | 44 | // Use in conjunction with .sr-only to only display content when it's focused. 45 | // 46 | // Useful for "Skip to main content" links; see http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1 47 | // 48 | // Credit: HTML5 Boilerplate 49 | 50 | .sr-only-focusable() { 51 | &:active, 52 | &:focus { 53 | position: static; 54 | width: auto; 55 | height: auto; 56 | margin: 0; 57 | overflow: visible; 58 | clip: auto; 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/vendor/font-awesome/less/mixins.less: -------------------------------------------------------------------------------- 1 | // Mixins 2 | // -------------------------- 3 | 4 | .fa-icon() { 5 | display: inline-block; 6 | font: normal normal normal @fa-font-size-base/@fa-line-height-base FontAwesome; // shortening font declaration 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override 8 | text-rendering: auto; // optimizelegibility throws things off #1094 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | 12 | } 13 | 14 | .fa-icon-rotate(@degrees, @rotation) { 15 | -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=@{rotation})"; 16 | -webkit-transform: rotate(@degrees); 17 | -ms-transform: rotate(@degrees); 18 | transform: rotate(@degrees); 19 | } 20 | 21 | .fa-icon-flip(@horiz, @vert, @rotation) { 22 | -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=@{rotation}, mirror=1)"; 23 | -webkit-transform: scale(@horiz, @vert); 24 | -ms-transform: scale(@horiz, @vert); 25 | transform: scale(@horiz, @vert); 26 | } 27 | 28 | 29 | // Only display content to screen readers. A la Bootstrap 4. 30 | // 31 | // See: http://a11yproject.com/posts/how-to-hide-content/ 32 | 33 | .sr-only() { 34 | position: absolute; 35 | width: 1px; 36 | height: 1px; 37 | padding: 0; 38 | margin: -1px; 39 | overflow: hidden; 40 | clip: rect(0,0,0,0); 41 | border: 0; 42 | } 43 | 44 | // Use in conjunction with .sr-only to only display content when it's focused. 45 | // 46 | // Useful for "Skip to main content" links; see http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1 47 | // 48 | // Credit: HTML5 Boilerplate 49 | 50 | .sr-only-focusable() { 51 | &:active, 52 | &:focus { 53 | position: static; 54 | width: auto; 55 | height: auto; 56 | margin: 0; 57 | overflow: visible; 58 | clip: auto; 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/vendor/font-awesome/less/mixins.less: -------------------------------------------------------------------------------- 1 | // Mixins 2 | // -------------------------- 3 | 4 | .fa-icon() { 5 | display: inline-block; 6 | font: normal normal normal @fa-font-size-base/@fa-line-height-base FontAwesome; // shortening font declaration 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override 8 | text-rendering: auto; // optimizelegibility throws things off #1094 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | 12 | } 13 | 14 | .fa-icon-rotate(@degrees, @rotation) { 15 | -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=@{rotation})"; 16 | -webkit-transform: rotate(@degrees); 17 | -ms-transform: rotate(@degrees); 18 | transform: rotate(@degrees); 19 | } 20 | 21 | .fa-icon-flip(@horiz, @vert, @rotation) { 22 | -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=@{rotation}, mirror=1)"; 23 | -webkit-transform: scale(@horiz, @vert); 24 | -ms-transform: scale(@horiz, @vert); 25 | transform: scale(@horiz, @vert); 26 | } 27 | 28 | 29 | // Only display content to screen readers. A la Bootstrap 4. 30 | // 31 | // See: http://a11yproject.com/posts/how-to-hide-content/ 32 | 33 | .sr-only() { 34 | position: absolute; 35 | width: 1px; 36 | height: 1px; 37 | padding: 0; 38 | margin: -1px; 39 | overflow: hidden; 40 | clip: rect(0,0,0,0); 41 | border: 0; 42 | } 43 | 44 | // Use in conjunction with .sr-only to only display content when it's focused. 45 | // 46 | // Useful for "Skip to main content" links; see http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1 47 | // 48 | // Credit: HTML5 Boilerplate 49 | 50 | .sr-only-focusable() { 51 | &:active, 52 | &:focus { 53 | position: static; 54 | width: auto; 55 | height: auto; 56 | margin: 0; 57 | overflow: visible; 58 | clip: auto; 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /Sample_WebApp/webapp/error.jsp: -------------------------------------------------------------------------------- 1 | 12 | <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> 13 | <%@ page import="java.util.List" %> 14 | 15 | 16 | 17 | 18 | Welcome to use SAML toolkit 19 | 20 | 21 |
22 |
23 |
24 |
25 |
26 |
vIDM Saml Toolkit Sample
27 |
28 |
29 |
Login failed
30 |
31 |
32 | 33 |
34 |
36 |
37 |
38 |
39 |
40 |
41 | 42 |
43 | 44 | 45 | -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/error.jsp: -------------------------------------------------------------------------------- 1 | 12 | <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> 13 | <%@ page import="java.util.List" %> 14 | 15 | 16 | 17 | 18 | Welcome to use SAML toolkit 19 | 20 | 21 |
22 |
23 |
24 |
25 |
26 |
vIDM Saml Toolkit Sample
27 |
28 |
29 |
Login failed
30 |
31 |
32 | 33 |
34 |
36 |
37 |
38 |
39 |
40 |
41 | 42 |
43 | 44 | 45 | -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/error.jsp: -------------------------------------------------------------------------------- 1 | 12 | <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> 13 | <%@ page import="java.util.List" %> 14 | 15 | 16 | 17 | 18 | Welcome to use SAML toolkit 19 | 20 | 21 |
22 |
23 |
24 |
25 |
26 |
vIDM Saml Toolkit Sample
27 |
28 |
29 |
Login failed
30 |
31 |
32 | 33 |
34 |
36 |
37 |
38 |
39 |
40 |
41 | 42 |
43 | 44 | 45 | -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/error.jsp: -------------------------------------------------------------------------------- 1 | 12 | <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> 13 | <%@ page import="java.util.List" %> 14 | 15 | 16 | 17 | 18 | Welcome to use SAML toolkit 19 | 20 | 21 |
22 |
23 |
24 |
25 |
26 |
vIDM Saml Toolkit Sample
27 |
28 |
29 |
Login failed
30 |
31 |
32 | 33 |
34 |
36 |
37 |
38 |
39 |
40 |
41 | 42 |
43 | 44 | 45 | -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/vendor/font-awesome/scss/_mixins.scss: -------------------------------------------------------------------------------- 1 | // Mixins 2 | // -------------------------- 3 | 4 | @mixin fa-icon() { 5 | display: inline-block; 6 | font: normal normal normal #{$fa-font-size-base}/#{$fa-line-height-base} FontAwesome; // shortening font declaration 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override 8 | text-rendering: auto; // optimizelegibility throws things off #1094 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | 12 | } 13 | 14 | @mixin fa-icon-rotate($degrees, $rotation) { 15 | -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation})"; 16 | -webkit-transform: rotate($degrees); 17 | -ms-transform: rotate($degrees); 18 | transform: rotate($degrees); 19 | } 20 | 21 | @mixin fa-icon-flip($horiz, $vert, $rotation) { 22 | -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation}, mirror=1)"; 23 | -webkit-transform: scale($horiz, $vert); 24 | -ms-transform: scale($horiz, $vert); 25 | transform: scale($horiz, $vert); 26 | } 27 | 28 | 29 | // Only display content to screen readers. A la Bootstrap 4. 30 | // 31 | // See: http://a11yproject.com/posts/how-to-hide-content/ 32 | 33 | @mixin sr-only { 34 | position: absolute; 35 | width: 1px; 36 | height: 1px; 37 | padding: 0; 38 | margin: -1px; 39 | overflow: hidden; 40 | clip: rect(0,0,0,0); 41 | border: 0; 42 | } 43 | 44 | // Use in conjunction with .sr-only to only display content when it's focused. 45 | // 46 | // Useful for "Skip to main content" links; see http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1 47 | // 48 | // Credit: HTML5 Boilerplate 49 | 50 | @mixin sr-only-focusable { 51 | &:active, 52 | &:focus { 53 | position: static; 54 | width: auto; 55 | height: auto; 56 | margin: 0; 57 | overflow: visible; 58 | clip: auto; 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /Sample_WebApp/webapp/vendor/font-awesome/scss/_mixins.scss: -------------------------------------------------------------------------------- 1 | // Mixins 2 | // -------------------------- 3 | 4 | @mixin fa-icon() { 5 | display: inline-block; 6 | font: normal normal normal #{$fa-font-size-base}/#{$fa-line-height-base} FontAwesome; // shortening font declaration 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override 8 | text-rendering: auto; // optimizelegibility throws things off #1094 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | 12 | } 13 | 14 | @mixin fa-icon-rotate($degrees, $rotation) { 15 | -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation})"; 16 | -webkit-transform: rotate($degrees); 17 | -ms-transform: rotate($degrees); 18 | transform: rotate($degrees); 19 | } 20 | 21 | @mixin fa-icon-flip($horiz, $vert, $rotation) { 22 | -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation}, mirror=1)"; 23 | -webkit-transform: scale($horiz, $vert); 24 | -ms-transform: scale($horiz, $vert); 25 | transform: scale($horiz, $vert); 26 | } 27 | 28 | 29 | // Only display content to screen readers. A la Bootstrap 4. 30 | // 31 | // See: http://a11yproject.com/posts/how-to-hide-content/ 32 | 33 | @mixin sr-only { 34 | position: absolute; 35 | width: 1px; 36 | height: 1px; 37 | padding: 0; 38 | margin: -1px; 39 | overflow: hidden; 40 | clip: rect(0,0,0,0); 41 | border: 0; 42 | } 43 | 44 | // Use in conjunction with .sr-only to only display content when it's focused. 45 | // 46 | // Useful for "Skip to main content" links; see http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1 47 | // 48 | // Credit: HTML5 Boilerplate 49 | 50 | @mixin sr-only-focusable { 51 | &:active, 52 | &:focus { 53 | position: static; 54 | width: auto; 55 | height: auto; 56 | margin: 0; 57 | overflow: visible; 58 | clip: auto; 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/vendor/font-awesome/scss/_mixins.scss: -------------------------------------------------------------------------------- 1 | // Mixins 2 | // -------------------------- 3 | 4 | @mixin fa-icon() { 5 | display: inline-block; 6 | font: normal normal normal #{$fa-font-size-base}/#{$fa-line-height-base} FontAwesome; // shortening font declaration 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override 8 | text-rendering: auto; // optimizelegibility throws things off #1094 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | 12 | } 13 | 14 | @mixin fa-icon-rotate($degrees, $rotation) { 15 | -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation})"; 16 | -webkit-transform: rotate($degrees); 17 | -ms-transform: rotate($degrees); 18 | transform: rotate($degrees); 19 | } 20 | 21 | @mixin fa-icon-flip($horiz, $vert, $rotation) { 22 | -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation}, mirror=1)"; 23 | -webkit-transform: scale($horiz, $vert); 24 | -ms-transform: scale($horiz, $vert); 25 | transform: scale($horiz, $vert); 26 | } 27 | 28 | 29 | // Only display content to screen readers. A la Bootstrap 4. 30 | // 31 | // See: http://a11yproject.com/posts/how-to-hide-content/ 32 | 33 | @mixin sr-only { 34 | position: absolute; 35 | width: 1px; 36 | height: 1px; 37 | padding: 0; 38 | margin: -1px; 39 | overflow: hidden; 40 | clip: rect(0,0,0,0); 41 | border: 0; 42 | } 43 | 44 | // Use in conjunction with .sr-only to only display content when it's focused. 45 | // 46 | // Useful for "Skip to main content" links; see http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1 47 | // 48 | // Credit: HTML5 Boilerplate 49 | 50 | @mixin sr-only-focusable { 51 | &:active, 52 | &:focus { 53 | position: static; 54 | width: auto; 55 | height: auto; 56 | margin: 0; 57 | overflow: visible; 58 | clip: auto; 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/vendor/font-awesome/scss/_mixins.scss: -------------------------------------------------------------------------------- 1 | // Mixins 2 | // -------------------------- 3 | 4 | @mixin fa-icon() { 5 | display: inline-block; 6 | font: normal normal normal #{$fa-font-size-base}/#{$fa-line-height-base} FontAwesome; // shortening font declaration 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override 8 | text-rendering: auto; // optimizelegibility throws things off #1094 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | 12 | } 13 | 14 | @mixin fa-icon-rotate($degrees, $rotation) { 15 | -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation})"; 16 | -webkit-transform: rotate($degrees); 17 | -ms-transform: rotate($degrees); 18 | transform: rotate($degrees); 19 | } 20 | 21 | @mixin fa-icon-flip($horiz, $vert, $rotation) { 22 | -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation}, mirror=1)"; 23 | -webkit-transform: scale($horiz, $vert); 24 | -ms-transform: scale($horiz, $vert); 25 | transform: scale($horiz, $vert); 26 | } 27 | 28 | 29 | // Only display content to screen readers. A la Bootstrap 4. 30 | // 31 | // See: http://a11yproject.com/posts/how-to-hide-content/ 32 | 33 | @mixin sr-only { 34 | position: absolute; 35 | width: 1px; 36 | height: 1px; 37 | padding: 0; 38 | margin: -1px; 39 | overflow: hidden; 40 | clip: rect(0,0,0,0); 41 | border: 0; 42 | } 43 | 44 | // Use in conjunction with .sr-only to only display content when it's focused. 45 | // 46 | // Useful for "Skip to main content" links; see http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1 47 | // 48 | // Credit: HTML5 Boilerplate 49 | 50 | @mixin sr-only-focusable { 51 | &:active, 52 | &:focus { 53 | position: static; 54 | width: auto; 55 | height: auto; 56 | margin: 0; 57 | overflow: visible; 58 | clip: auto; 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/index.jsp: -------------------------------------------------------------------------------- 1 | 12 | <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> 13 | <%@ page import="java.util.List" %> 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 |
26 |
27 |
28 |
29 |

SAML TOOLKIT

30 |

A toolkit to facilitate the vIDM users to have their business application SAML enabled to play with vIDM.

31 |
32 |
33 | 34 |
35 |
36 | 37 |
38 |
39 |
40 |
41 |
42 | 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /Sample_WebApp/src/main/java/com/omnissa/eucenablement/sample/MySSO.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Omnissa Identity Manager SAML Toolkit 3 | * 4 | * Copyright (c) 2016 Omnissa, LLC. All Rights Reserved. 5 | * 6 | * This product is licensed to you under the BSD-2 license (the "License"). You may not use this product except in compliance with the BSD-2 License. 7 | * 8 | * This product may include a number of subcomponents with separate copyright notices and license terms. Your use of these subcomponents is subject to the terms and conditions of the subcomponent's license, as noted in the LICENSE file. 9 | * 10 | */ 11 | package com.omnissa.eucenablement.sample; 12 | 13 | 14 | import org.slf4j.Logger; 15 | import org.slf4j.LoggerFactory; 16 | 17 | import com.omnissa.samltoolkit.SAMLToolkitConf; 18 | import com.omnissa.samltoolkit.SSOService; 19 | 20 | /** 21 | * A utility class for demo purpose. 22 | * 23 | */ 24 | public class MySSO { 25 | 26 | private static SSOService service; 27 | 28 | private static Logger log = LoggerFactory.getLogger(MySSO.class); 29 | 30 | public static SSOService initSsoService(String vidmURL, String consumerURL, boolean byPassCert) { 31 | 32 | log.info("Start to init SSO Service " + vidmURL + " consumer:" + consumerURL + " bypasscert:" + byPassCert); 33 | 34 | try { 35 | SAMLToolkitConf conf = new SAMLToolkitConf(); 36 | conf.setIdpURL(vidmURL); 37 | conf.setConsumerURL(consumerURL); 38 | conf.setByPassSSLCertValidation(byPassCert); 39 | log.info("Config initiated:" + conf.isReady()); 40 | 41 | service = new SSOService(conf); 42 | } catch (Exception e) { 43 | log.error("Error initializing service", e); 44 | service = null; 45 | } 46 | return service; 47 | } 48 | 49 | public static String getvIDMURL() { 50 | 51 | if (service == null) 52 | return null; 53 | 54 | return service.getVIDMURL(); 55 | } 56 | 57 | public static SSOService getSSOService() { 58 | 59 | if (service == null) 60 | log.error("SSOFacade is null!! Please init it again!"); 61 | 62 | return service; 63 | } 64 | } 65 | -------------------------------------------------------------------------------- /Sample_ServerOAuth/src/main/java/com/omnissa/eucenablement/sample/MySSO.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Omnissa Identity Manager SAML Toolkit 3 | * 4 | * Copyright (c) 2016 Omnissa, LLC. All Rights Reserved. 5 | * 6 | * This product is licensed to you under the BSD-2 license (the "License"). You may not use this product except in compliance with the BSD-2 License. 7 | * 8 | * This product may include a number of subcomponents with separate copyright notices and license terms. Your use of these subcomponents is subject to the terms and conditions of the subcomponent's license, as noted in the LICENSE file. 9 | * 10 | */ 11 | package com.omnissa.eucenablement.sample; 12 | 13 | 14 | import org.slf4j.Logger; 15 | import org.slf4j.LoggerFactory; 16 | 17 | import com.omnissa.samltoolkit.SAMLToolkitConf; 18 | import com.omnissa.samltoolkit.SSOService; 19 | 20 | /** 21 | * A utility class for demo purpose. 22 | * 23 | */ 24 | public class MySSO { 25 | 26 | private static SSOService service; 27 | 28 | private static Logger log = LoggerFactory.getLogger(MySSO.class); 29 | 30 | public static SSOService initSsoService(String vidmURL, String consumerURL, boolean byPassCert) { 31 | 32 | log.info("Start to init SSO Service " + vidmURL + " consumer:" + consumerURL + " bypasscert:" + byPassCert); 33 | 34 | try { 35 | SAMLToolkitConf conf = new SAMLToolkitConf(); 36 | conf.setIdpURL(vidmURL); 37 | conf.setConsumerURL(consumerURL); 38 | conf.setByPassSSLCertValidation(byPassCert); 39 | log.info("Config initiated:" + conf.isReady()); 40 | 41 | service = new SSOService(conf); 42 | } catch (Exception e) { 43 | log.error("Error initializing service", e); 44 | service = null; 45 | } 46 | return service; 47 | } 48 | 49 | public static String getvIDMURL() { 50 | 51 | if (service == null) 52 | return null; 53 | 54 | return service.getVIDMURL(); 55 | } 56 | 57 | public static SSOService getSSOService() { 58 | 59 | if (service == null) 60 | log.error("SSOFacade is null!! Please init it again!"); 61 | 62 | return service; 63 | } 64 | } 65 | -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/index.jsp: -------------------------------------------------------------------------------- 1 | 12 | <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> 13 | <%@ page import="java.util.List" %> 14 | <%@ page import="com.omnissa.eucenablement.sample.MySSO" %> 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 |
27 |
28 |
29 |
30 |

SAML TOOLKIT

31 |

A toolkit to facilitate the vIDM users to have their business application SAML enabled to play with vIDM.

32 |
33 |
34 | 35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 | 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/logout.jsp: -------------------------------------------------------------------------------- 1 | 12 | <%@ page contentType="text/html;charset=UTF-8" %> 13 | 14 | 15 | 16 | 17 | 18 | 23 | 24 | 25 | 26 | <% 27 | if(session.getAttribute("userName") != null) { 28 | //TODO: these should be moved to some jsp after receving logout response from vidm 29 | 30 | String logoutURL = MySSO.getSSOService().getLogoutURLRedirect(); 31 | session.removeAttribute("userName"); 32 | session.invalidate(); 33 | if(logoutURL != null) { 34 | String scriptCall = String.format("", logoutURL); 35 | out.println(scriptCall); 36 | } 37 | } 38 | %> 39 | 40 |
41 |
42 |
43 |
44 |

You have logged out from vIDM!

45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 | 56 | -------------------------------------------------------------------------------- /Sample_WebApp/webapp/index.jsp: -------------------------------------------------------------------------------- 1 | 12 | <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> 13 | <%@ page import="java.util.List" %> 14 | <%@ page import="com.omnissa.eucenablement.sample.MySSO" %> 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 |
27 |
28 |
29 |
30 |

SAML TOOLKIT

31 |

A toolkit to facilitate the vIDM users to have their business application SAML enabled to play with vIDM.

32 |
33 |
34 | 35 |
36 |
37 | 38 |
39 |
40 |
41 |
42 |
43 | 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/userpage.jsp: -------------------------------------------------------------------------------- 1 | 12 | <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> 13 | <%@ page import="java.util.List" %> 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 |
24 |
25 |
26 | 27 | <% 28 | String errmsg = request.getParameter("errmsg"); 29 | if (errmsg!=null) { 30 | %> 31 |

Oops...

32 |

<% out.print(errmsg); %>

33 |
34 | 36 |
37 | <% 38 | } 39 | else { 40 | %> 41 | 42 |
43 |

Welcome, <%=session.getAttribute("username")%>!

44 |

Your email: <%=session.getAttribute("email")%>

45 |
46 | <% 47 | } 48 | 49 | %> 50 |
51 |
52 |
53 |
54 | 55 | -------------------------------------------------------------------------------- /Sample_WebApp/webapp/logout.jsp: -------------------------------------------------------------------------------- 1 | 12 | <%@ page contentType="text/html;charset=UTF-8" %> 13 | <%@ page import="com.omnissa.eucenablement.sample.MySSO" %> 14 | 15 | 16 | 17 | 18 | 19 | 24 | 25 | 26 | 27 | <% 28 | if(session.getAttribute("userName") != null) { 29 | //TODO: these should be moved to some jsp after receving logout response from vidm 30 | 31 | String logoutURL = MySSO.getSSOService().getLogoutURLRedirect(); 32 | session.removeAttribute("userName"); 33 | session.invalidate(); 34 | if(logoutURL != null) { 35 | String scriptCall = String.format("", logoutURL); 36 | out.println(scriptCall); 37 | } 38 | } 39 | %> 40 | 41 |
42 |
43 |
44 |
45 |

You have logged out from vIDM!

46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 | 57 | -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/logout.jsp: -------------------------------------------------------------------------------- 1 | 12 | <%@ page contentType="text/html;charset=UTF-8" %> 13 | <%@ page import="com.omnissa.eucenablement.sample.MySSO" %> 14 | 15 | 16 | 17 | 18 | 19 | 24 | 25 | 26 | 27 | <% 28 | if(session.getAttribute("userName") != null) { 29 | //TODO: these should be moved to some jsp after receving logout response from vidm 30 | 31 | String logoutURL = MySSO.getSSOService().getLogoutURLRedirect(); 32 | session.removeAttribute("userName"); 33 | session.invalidate(); 34 | if(logoutURL != null) { 35 | String scriptCall = String.format("", logoutURL); 36 | out.println(scriptCall); 37 | } 38 | } 39 | %> 40 | 41 |
42 |
43 |
44 |
45 |

You have logged out from vIDM!

46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 | 57 | -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/idpLogin.jsp: -------------------------------------------------------------------------------- 1 | 12 | <%@ page language="java" contentType="text/html; charset=UTF-8" 13 | pageEncoding="UTF-8"%> 14 | 15 | 16 | 17 | 18 | 19 | Login 20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 |
28 |
29 |
30 | 31 |

Login page

32 |
33 |
34 | 51 |
52 |
53 |
54 |
55 | 56 | 57 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /Sample_WebApp/webapp/idpLogin.jsp: -------------------------------------------------------------------------------- 1 | 12 | <%@ page language="java" contentType="text/html; charset=UTF-8" 13 | pageEncoding="UTF-8"%> 14 | 15 | 16 | 17 | 18 | 19 | Login 20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 |
28 |
29 |
30 | 31 |

Login page

32 |
33 |
34 | 51 |
52 |
53 |
54 |
55 | 56 | 57 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/spDiscovery.jsp: -------------------------------------------------------------------------------- 1 | 12 | <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 |
22 |
23 |
24 | 25 |

Configure VIDM as SP

26 |
27 |
28 |
29 |

Your vIDM (act as SP1) ROOT URL:

30 |
31 | 32 |
33 | 34 |
35 |
36 |

Optional Config: content of sp.xml

37 |

If this web server can not connect to vIDM directly, please copy sp.xml here from https://[vidm url]/SAAS/API/1.0/GET/metadata/sp.xml

38 |
39 | 40 |
41 | 42 |
43 |
44 |
45 |
46 |
47 |
48 | 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /Sample_WebApp/webapp/idpDiscovery.jsp: -------------------------------------------------------------------------------- 1 | 12 | <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 |
22 |
23 |
24 |
25 |

Your vIDM ROOT URL:

26 |
27 |
28 |
29 |
30 |
31 |
32 | 33 |

This App's ROOT URL:

34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 | 44 | 45 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # Contributing to vidm-saml-toolkit 4 | 5 | The vidm-saml-toolkit project team welcomes contributions from the community. 6 | 7 | 8 | 9 | ## Contribution Flow 10 | 11 | This is a rough outline of what a contributor's workflow looks like: 12 | 13 | - Create a topic branch from where you want to base your work 14 | - Make commits of logical units 15 | - Make sure your commit messages are in the proper format (see below) 16 | - Push your changes to a topic branch in your fork of the repository 17 | - Submit a pull request 18 | 19 | Example: 20 | 21 | ``` shell 22 | git remote add upstream https://github.com/omnissa-archive/vidm-saml-toolkit.git 23 | git checkout -b my-new-feature master 24 | git commit -a 25 | git push origin my-new-feature 26 | ``` 27 | 28 | ### Staying In Sync With Upstream 29 | 30 | When your branch gets out of sync with the omnissa-archive/master branch, use the following to update: 31 | 32 | ``` shell 33 | git checkout my-new-feature 34 | git fetch -a 35 | git pull --rebase upstream master 36 | git push --force-with-lease origin my-new-feature 37 | ``` 38 | 39 | ### Updating pull requests 40 | 41 | If your PR fails to pass CI or needs changes based on code review, you'll most likely want to squash these changes into 42 | existing commits. 43 | 44 | If your pull request contains a single commit or your changes are related to the most recent commit, you can simply 45 | amend the commit. 46 | 47 | ``` shell 48 | git add . 49 | git commit --amend 50 | git push --force-with-lease origin my-new-feature 51 | ``` 52 | 53 | If you need to squash changes into an earlier commit, you can use: 54 | 55 | ``` shell 56 | git add . 57 | git commit --fixup 58 | git rebase -i --autosquash master 59 | git push --force-with-lease origin my-new-feature 60 | ``` 61 | 62 | Be sure to add a comment to the PR indicating your new changes are ready to review, as GitHub does not generate a 63 | notification when you git push. 64 | 65 | 66 | ### Formatting Commit Messages 67 | 68 | We follow the conventions on [How to Write a Git Commit Message](http://chris.beams.io/posts/git-commit/). 69 | 70 | Be sure to include any related GitHub issue references in the commit message. See 71 | [GFM syntax](https://guides.github.com/features/mastering-markdown/#GitHub-flavored-markdown) for referencing issues 72 | and commits. 73 | 74 | ## Reporting Bugs and Creating Issues 75 | 76 | When opening a new issue, try to roughly follow the commit message format conventions above. 77 | 78 | -------------------------------------------------------------------------------- /pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 4.0.0 5 | 6 | com.omnissa 7 | vidmsaml 8 | pom 9 | 1.0 10 | 11 | 12 | Sample_AuthServer 13 | Sample_ServerOAuth 14 | Sample_WebApp 15 | Sample_AppOAuth 16 | SamlToolkit 17 | 18 | 19 | 20 | 1.6 21 | 22 | 23 | 24 | 25 | 26 | 27 | junit 28 | junit 29 | 4.13.1 30 | test 31 | 32 | 33 | commons-codec 34 | commons-codec 35 | 1.7 36 | 37 | 38 | 39 | commons-logging 40 | commons-logging 41 | 1.2 42 | 43 | 44 | org.opensaml 45 | opensaml-saml-api 46 | 3.2.0 47 | 48 | 49 | org.opensaml 50 | opensaml-saml-impl 51 | 3.2.0 52 | 53 | 54 | org.opensaml 55 | openws 56 | 1.5.4 57 | 58 | 59 | org.apache.velocity 60 | velocity-engine-core 61 | 2.3 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | org.apache.maven.plugins 73 | maven-compiler-plugin 74 | 75 | 76 | 1.6 77 | 1.6 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | -------------------------------------------------------------------------------- /Sample_AppOAuth/webapp/headertpl.html: -------------------------------------------------------------------------------- 1 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | vIDM Saml Toolkit 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 47 | 48 | 49 | 52 | 53 | 54 | 55 | 56 | 57 | -------------------------------------------------------------------------------- /Sample_AuthServer/webapp/headertpl.html: -------------------------------------------------------------------------------- 1 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | vIDM Saml Toolkit 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 47 | 48 | 49 | 52 | 53 | 54 | 55 | 56 | 57 | -------------------------------------------------------------------------------- /Sample_WebApp/webapp/headertpl.html: -------------------------------------------------------------------------------- 1 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | vIDM Saml Toolkit 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 47 | 48 | 49 | 52 | 53 | 54 | 55 | 56 | 57 | -------------------------------------------------------------------------------- /Sample_ServerOAuth/webapp/headertpl.html: -------------------------------------------------------------------------------- 1 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | vIDM Saml Toolkit 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 47 | 48 | 49 | 52 | 53 | 54 | 55 | 56 | 57 | --------------------------------------------------------------------------------