├── .idea ├── .name ├── compiler.xml ├── copyright │ └── profiles_settings.xml ├── encodings.xml ├── libraries │ ├── Maven__antlr_antlr_2_7_7.xml │ ├── Maven__aopalliance_aopalliance_1_0.xml │ ├── Maven__ch_qos_logback_logback_classic_1_1_3.xml │ ├── Maven__ch_qos_logback_logback_core_1_1_3.xml │ ├── Maven__com_fasterxml_classmate_1_1_0.xml │ ├── Maven__com_fasterxml_jackson_core_jackson_annotations_2_6_5.xml │ ├── Maven__com_fasterxml_jackson_core_jackson_core_2_6_5.xml │ ├── Maven__com_fasterxml_jackson_core_jackson_databind_2_6_5.xml │ ├── Maven__com_google_code_findbugs_jsr305_3_0_1.xml │ ├── Maven__com_google_guava_guava_18_0.xml │ ├── Maven__com_netflix_archaius_archaius_core_0_7_3.xml │ ├── Maven__com_netflix_hystrix_hystrix_core_1_4_23.xml │ ├── Maven__com_netflix_hystrix_hystrix_javanica_1_4_23.xml │ ├── Maven__com_netflix_hystrix_hystrix_metrics_event_stream_1_4_23.xml │ ├── Maven__com_netflix_netflix_commons_netflix_commons_util_0_1_1.xml │ ├── Maven__com_netflix_netflix_commons_netflix_statistics_0_1_1.xml │ ├── Maven__com_netflix_ribbon_ribbon_2_1_0.xml │ ├── Maven__com_netflix_ribbon_ribbon_core_2_1_0.xml │ ├── Maven__com_netflix_ribbon_ribbon_httpclient_2_1_0.xml │ ├── Maven__com_netflix_ribbon_ribbon_loadbalancer_2_1_0.xml │ ├── Maven__com_netflix_ribbon_ribbon_transport_2_1_0.xml │ ├── Maven__com_netflix_servo_servo_core_0_10_1.xml │ ├── Maven__com_netflix_servo_servo_internal_0_10_1.xml │ ├── Maven__com_netflix_zuul_zuul_core_1_1_0.xml │ ├── Maven__com_sun_jersey_contribs_jersey_apache_client4_1_19.xml │ ├── Maven__com_sun_jersey_jersey_client_1_19.xml │ ├── Maven__com_sun_jersey_jersey_core_1_19.xml │ ├── Maven__commons_codec_commons_codec_1_6.xml │ ├── Maven__commons_collections_commons_collections_3_2_2.xml │ ├── Maven__commons_configuration_commons_configuration_1_8.xml │ ├── Maven__commons_io_commons_io_2_4.xml │ ├── Maven__commons_lang_commons_lang_2_6.xml │ ├── Maven__commons_logging_commons_logging_1_1_1.xml │ ├── Maven__dom4j_dom4j_1_6_1.xml │ ├── Maven__io_netty_netty_buffer_4_0_27_Final.xml │ ├── Maven__io_netty_netty_codec_4_0_27_Final.xml │ ├── Maven__io_netty_netty_codec_http_4_0_27_Final.xml │ ├── Maven__io_netty_netty_common_4_0_27_Final.xml │ ├── Maven__io_netty_netty_handler_4_0_27_Final.xml │ ├── Maven__io_netty_netty_transport_4_0_27_Final.xml │ ├── Maven__io_netty_netty_transport_native_epoll_4_0_27_Final.xml │ ├── Maven__io_reactivex_rxjava_1_0_14.xml │ ├── Maven__io_reactivex_rxnetty_0_4_9.xml │ ├── Maven__io_reactivex_rxnetty_contexts_0_4_9.xml │ ├── Maven__io_reactivex_rxnetty_servo_0_4_9.xml │ ├── Maven__javax_inject_javax_inject_1.xml │ ├── Maven__javax_transaction_javax_transaction_api_1_2.xml │ ├── Maven__javax_validation_validation_api_1_1_0_Final.xml │ ├── Maven__javax_ws_rs_jsr311_api_1_1_1.xml │ ├── Maven__junit_junit_4_12.xml │ ├── Maven__mysql_mysql_connector_java_5_1_38.xml │ ├── Maven__nz_net_ultraq_thymeleaf_thymeleaf_layout_dialect_1_3_1.xml │ ├── Maven__ognl_ognl_3_0_8.xml │ ├── Maven__org_apache_commons_commons_lang3_3_1.xml │ ├── Maven__org_apache_httpcomponents_httpclient_4_5_1.xml │ ├── Maven__org_apache_httpcomponents_httpcore_4_4_4.xml │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_core_8_0_30.xml │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_el_8_0_30.xml │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_logging_juli_8_0_30.xml │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_websocket_8_0_30.xml │ ├── Maven__org_apache_tomcat_tomcat_jdbc_8_0_30.xml │ ├── Maven__org_apache_tomcat_tomcat_juli_8_0_30.xml │ ├── Maven__org_aspectj_aspectjweaver_1_8_8.xml │ ├── Maven__org_bouncycastle_bcpkix_jdk15on_1_47.xml │ ├── Maven__org_bouncycastle_bcprov_jdk15on_1_47.xml │ ├── Maven__org_codehaus_groovy_groovy_2_4_4.xml │ ├── Maven__org_codehaus_jackson_jackson_core_asl_1_9_13.xml │ ├── Maven__org_codehaus_jackson_jackson_mapper_asl_1_9_13.xml │ ├── Maven__org_hamcrest_hamcrest_core_1_3.xml │ ├── Maven__org_hamcrest_hamcrest_library_1_3.xml │ ├── Maven__org_hibernate_common_hibernate_commons_annotations_4_0_5_Final.xml │ ├── Maven__org_hibernate_hibernate_core_4_3_11_Final.xml │ ├── Maven__org_hibernate_hibernate_entitymanager_4_3_11_Final.xml │ ├── Maven__org_hibernate_hibernate_validator_5_2_2_Final.xml │ ├── Maven__org_hibernate_javax_persistence_hibernate_jpa_2_1_api_1_0_0_Final.xml │ ├── Maven__org_javassist_javassist_3_18_1_GA.xml │ ├── Maven__org_jboss_jandex_1_1_0_Final.xml │ ├── Maven__org_jboss_logging_jboss_logging_3_3_0_Final.xml │ ├── Maven__org_jboss_logging_jboss_logging_annotations_1_2_0_Beta1.xml │ ├── Maven__org_json_json_20140107.xml │ ├── Maven__org_mockito_mockito_core_1_10_19.xml │ ├── Maven__org_objenesis_objenesis_2_1.xml │ ├── Maven__org_ow2_asm_asm_5_0_4.xml │ ├── Maven__org_slf4j_jcl_over_slf4j_1_7_13.xml │ ├── Maven__org_slf4j_jul_to_slf4j_1_7_13.xml │ ├── Maven__org_slf4j_log4j_over_slf4j_1_7_13.xml │ ├── Maven__org_slf4j_slf4j_api_1_7_13.xml │ ├── Maven__org_springframework_boot_spring_boot_1_3_2_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_actuator_1_3_2_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_autoconfigure_1_3_2_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_configuration_processor_1_3_2_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_1_3_2_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_actuator_1_3_2_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_aop_1_3_2_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_data_jpa_1_3_2_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_jdbc_1_3_2_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_logging_1_3_2_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_security_1_3_2_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_test_1_3_2_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_thymeleaf_1_3_2_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_tomcat_1_3_2_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_validation_1_3_2_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_web_1_3_2_RELEASE.xml │ ├── Maven__org_springframework_cloud_spring_cloud_commons_1_1_0_M5.xml │ ├── Maven__org_springframework_cloud_spring_cloud_context_1_1_0_M5.xml │ ├── Maven__org_springframework_cloud_spring_cloud_netflix_core_1_1_0_M5.xml │ ├── Maven__org_springframework_cloud_spring_cloud_security_1_1_0_M4.xml │ ├── Maven__org_springframework_cloud_spring_cloud_starter_1_1_0_M5.xml │ ├── Maven__org_springframework_cloud_spring_cloud_starter_archaius_1_1_0_M5.xml │ ├── Maven__org_springframework_cloud_spring_cloud_starter_hystrix_1_1_0_M5.xml │ ├── Maven__org_springframework_cloud_spring_cloud_starter_oauth2_1_1_0_M4.xml │ ├── Maven__org_springframework_cloud_spring_cloud_starter_ribbon_1_1_0_M5.xml │ ├── Maven__org_springframework_cloud_spring_cloud_starter_security_1_1_0_M4.xml │ ├── Maven__org_springframework_cloud_spring_cloud_starter_zuul_1_1_0_M5.xml │ ├── Maven__org_springframework_data_spring_data_commons_1_11_2_RELEASE.xml │ ├── Maven__org_springframework_data_spring_data_jpa_1_9_2_RELEASE.xml │ ├── Maven__org_springframework_hateoas_spring_hateoas_0_16_0_RELEASE.xml │ ├── Maven__org_springframework_security_oauth_spring_security_oauth2_2_0_8_RELEASE.xml │ ├── Maven__org_springframework_security_spring_security_config_4_0_3_RELEASE.xml │ ├── Maven__org_springframework_security_spring_security_core_4_0_3_RELEASE.xml │ ├── Maven__org_springframework_security_spring_security_crypto_4_0_3_RELEASE.xml │ ├── Maven__org_springframework_security_spring_security_jwt_1_0_3_RELEASE.xml │ ├── Maven__org_springframework_security_spring_security_web_4_0_3_RELEASE.xml │ ├── Maven__org_springframework_spring_aop_4_2_4_RELEASE.xml │ ├── Maven__org_springframework_spring_aspects_4_2_4_RELEASE.xml │ ├── Maven__org_springframework_spring_beans_4_2_4_RELEASE.xml │ ├── Maven__org_springframework_spring_context_4_2_4_RELEASE.xml │ ├── Maven__org_springframework_spring_core_4_2_4_RELEASE.xml │ ├── Maven__org_springframework_spring_expression_4_2_4_RELEASE.xml │ ├── Maven__org_springframework_spring_jdbc_4_2_4_RELEASE.xml │ ├── Maven__org_springframework_spring_orm_4_2_4_RELEASE.xml │ ├── Maven__org_springframework_spring_test_4_2_4_RELEASE.xml │ ├── Maven__org_springframework_spring_tx_4_2_4_RELEASE.xml │ ├── Maven__org_springframework_spring_web_4_2_4_RELEASE.xml │ ├── Maven__org_springframework_spring_webmvc_4_2_4_RELEASE.xml │ ├── Maven__org_thymeleaf_thymeleaf_2_1_4_RELEASE.xml │ ├── Maven__org_thymeleaf_thymeleaf_spring4_2_1_4_RELEASE.xml │ ├── Maven__org_unbescape_unbescape_1_1_0_RELEASE.xml │ ├── Maven__org_yaml_snakeyaml_1_16.xml │ └── Maven__xml_apis_xml_apis_1_0_b2.xml ├── misc.xml ├── modules.xml └── vcs.xml ├── login ├── login.iml ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── test │ │ └── login │ │ ├── LoginApplication.java │ │ ├── config │ │ ├── OAuthConfigurer.java │ │ └── SecurityConfiguration.java │ │ ├── controller │ │ ├── LoginController.java │ │ └── MainsiteErrorController.java │ │ └── service │ │ ├── CustomUserDetailsService.java │ │ ├── ImageCode.java │ │ ├── LoginSuccessHandler.java │ │ └── SecurityUser.java │ └── resources │ ├── application.yml │ ├── keystore.jks │ ├── static │ ├── images │ │ ├── login │ │ │ ├── bg.jpg │ │ │ ├── checkCode.jpg │ │ │ ├── close.png │ │ │ ├── login-bk-bot.png │ │ │ ├── login-bk-cen.png │ │ │ ├── login-bk-top.png │ │ │ ├── loginBtn.png │ │ │ ├── pwd-icon-8.png │ │ │ ├── pwd-icon.png │ │ │ ├── right-icon.png │ │ │ ├── title.png │ │ │ ├── transformBk.png │ │ │ ├── txt-line.png │ │ │ ├── useName-icon-8.png │ │ │ ├── useName-icon.png │ │ │ └── yesNoIcon.png │ │ └── logo.png │ ├── scripts │ │ ├── jquery.min.js │ │ └── login.js │ └── styles │ │ └── login.css │ └── templates │ ├── 403.html │ ├── deny.html │ ├── index.html │ ├── login.html │ └── tologin.html ├── mysql ├── mysql.iml ├── pom.xml └── src │ ├── main │ └── java │ │ └── com │ │ └── test │ │ └── mysql │ │ ├── config │ │ └── JpaConfiguration.java │ │ ├── entity │ │ ├── Department.java │ │ ├── PersistentLogins.java │ │ ├── Role.java │ │ └── User.java │ │ ├── model │ │ ├── DepartmentQo.java │ │ ├── PageQo.java │ │ ├── RoleQo.java │ │ └── UserQo.java │ │ └── repository │ │ ├── DepartmentRepository.java │ │ ├── RoleRepository.java │ │ └── UserRepository.java │ └── test │ └── java │ └── com │ └── test │ └── mysql │ └── test │ ├── JpaConfiguration.java │ └── MysqlTest.java ├── pom.xml ├── readme.md ├── resource ├── pom.xml ├── resource.iml └── src │ └── main │ ├── java │ └── com │ │ └── test │ │ └── resource │ │ ├── ResourceApplication.java │ │ └── controller │ │ └── UserController.java │ └── resources │ ├── application.yml │ └── static │ └── index.html ├── security ├── pom.xml ├── security.iml └── src │ └── main │ └── java │ └── com │ └── test │ └── security │ ├── CsrfSecurityRequestMatcher.java │ ├── CustomAccessDecisionManager.java │ ├── CustomFilterSecurityInterceptor.java │ ├── CustomSecurityMetadataSource.java │ ├── SecurityConfiguration.java │ └── SecuritySettings.java ├── spring-boot-sso.iml ├── web1 ├── pom.xml ├── src │ └── main │ │ ├── java │ │ └── com │ │ │ └── test │ │ │ └── web1 │ │ │ ├── Web1Application.java │ │ │ └── controller │ │ │ ├── DepartmentController.java │ │ │ ├── MainsiteErrorController.java │ │ │ ├── RoleController.java │ │ │ └── UserController.java │ │ └── resources │ │ ├── application.yml │ │ ├── static │ │ ├── images │ │ │ ├── arrow.png │ │ │ ├── global │ │ │ │ ├── selectDown.png │ │ │ │ ├── subMenuBk.png │ │ │ │ ├── togUpDownCircle.png │ │ │ │ ├── topLineBk.png │ │ │ │ └── wen.png │ │ │ ├── home │ │ │ │ ├── Basisdt.jpg │ │ │ │ ├── Basistopbg.jpg │ │ │ │ ├── BigIconFirm.png │ │ │ │ ├── BigIconMobile.png │ │ │ │ ├── BigIconWebo.png │ │ │ │ ├── Bigbg.png │ │ │ │ ├── FourStar.jpg │ │ │ │ ├── cur.png │ │ │ │ ├── footbg.jpg │ │ │ │ ├── microBoxLi.png │ │ │ │ ├── microBoxbg.jpg │ │ │ │ ├── nav-a-hover.jpg │ │ │ │ ├── qutama.png │ │ │ │ └── top-bg.jpg │ │ │ ├── index │ │ │ │ ├── addIcon.png │ │ │ │ ├── arr1.png │ │ │ │ ├── arr2.png │ │ │ │ ├── arr3.png │ │ │ │ ├── arr4.png │ │ │ │ ├── bg.png │ │ │ │ ├── blueBtn-62X30.png │ │ │ │ ├── bryBk-256X118.png │ │ │ │ ├── btn-56X29.png │ │ │ │ ├── btn-93X38.png │ │ │ │ ├── btnBk.png │ │ │ │ ├── closeIcon-14X14.png │ │ │ │ ├── del.png │ │ │ │ ├── deleteIcon.png │ │ │ │ ├── line.png │ │ │ │ ├── list-bk.png │ │ │ │ ├── radiusBlueBot-782.png │ │ │ │ ├── radiusBlueMid-782.png │ │ │ │ ├── radiusBlueTop-782.png │ │ │ │ ├── radiusGrayBot-782.png │ │ │ │ ├── radiusGrayTop-782.png │ │ │ │ ├── selectDown.png │ │ │ │ ├── selectIcon-15X14.png │ │ │ │ ├── togMoveIcon.png │ │ │ │ └── verticalLine.png │ │ │ └── logo.png │ │ ├── scripts │ │ │ ├── My97DatePicker │ │ │ │ ├── WdatePicker.js │ │ │ │ ├── calendar.js │ │ │ │ ├── lang │ │ │ │ │ ├── en.js │ │ │ │ │ ├── zh-cn.js │ │ │ │ │ └── zh-tw.js │ │ │ │ └── skin │ │ │ │ │ ├── WdatePicker.css │ │ │ │ │ ├── datePicker.gif │ │ │ │ │ ├── default │ │ │ │ │ ├── datepicker.css │ │ │ │ │ └── img.gif │ │ │ │ │ └── whyGreen │ │ │ │ │ ├── bg.jpg │ │ │ │ │ ├── datepicker.css │ │ │ │ │ └── img.gif │ │ │ ├── artDialog │ │ │ │ ├── artDialog.js │ │ │ │ ├── default.css │ │ │ │ ├── icons │ │ │ │ │ └── loading.gif │ │ │ │ └── jquery.artDialog.source.js │ │ │ ├── common.js │ │ │ ├── department │ │ │ │ ├── edit.js │ │ │ │ ├── list.js │ │ │ │ └── new.js │ │ │ ├── imageselect.js │ │ │ ├── jquery.min.js │ │ │ ├── jquery.smartselect-1.1.min.js │ │ │ ├── pagination │ │ │ │ ├── jquery.pagination.js │ │ │ │ ├── pagination.css │ │ │ │ └── wait.gif │ │ │ ├── public │ │ │ │ ├── json2.js │ │ │ │ └── public.js │ │ │ ├── role │ │ │ │ ├── edit.js │ │ │ │ ├── list.js │ │ │ │ └── new.js │ │ │ ├── user │ │ │ │ ├── edit.js │ │ │ │ ├── list.js │ │ │ │ └── new.js │ │ │ └── validate │ │ │ │ ├── additional-methods.js │ │ │ │ ├── chinese.js │ │ │ │ ├── css │ │ │ │ ├── chili.css │ │ │ │ ├── cmxform.css │ │ │ │ ├── cmxformTemplate.css │ │ │ │ ├── core.css │ │ │ │ ├── reset.css │ │ │ │ └── screen.css │ │ │ │ ├── jquery.metadata.js │ │ │ │ ├── jquery.validate.min.js │ │ │ │ ├── tooltip.js │ │ │ │ ├── tooltip.slide.js │ │ │ │ └── validate.js │ │ └── styles │ │ │ ├── global.css │ │ │ ├── home.css │ │ │ ├── imageselect.css │ │ │ └── index.css │ │ └── templates │ │ ├── 403.html │ │ ├── deny.html │ │ ├── department │ │ ├── edit.html │ │ ├── index.html │ │ ├── new.html │ │ └── show.html │ │ ├── fragments │ │ ├── footer.html │ │ ├── layout.html │ │ └── nav.html │ │ ├── home.html │ │ ├── role │ │ ├── edit.html │ │ ├── index.html │ │ ├── new.html │ │ └── show.html │ │ ├── tosignout.html │ │ └── user │ │ ├── edit.html │ │ ├── index.html │ │ ├── new.html │ │ └── show.html └── web1.iml └── web2 ├── pom.xml ├── src └── main │ ├── java │ └── com │ │ └── test │ │ └── web2 │ │ ├── Web2Application.java │ │ ├── controller │ │ ├── MainsiteErrorController.java │ │ └── TestController.java │ │ └── model │ │ └── User.java │ └── resources │ ├── application.yml │ ├── static │ ├── images │ │ ├── arrow.png │ │ ├── global │ │ │ ├── selectDown.png │ │ │ ├── subMenuBk.png │ │ │ ├── togUpDownCircle.png │ │ │ ├── topLineBk.png │ │ │ └── wen.png │ │ ├── index │ │ │ ├── addIcon.png │ │ │ ├── arr1.png │ │ │ ├── arr2.png │ │ │ ├── arr3.png │ │ │ ├── arr4.png │ │ │ ├── bg.png │ │ │ ├── blueBtn-62X30.png │ │ │ ├── bryBk-256X118.png │ │ │ ├── btn-56X29.png │ │ │ ├── btn-93X38.png │ │ │ ├── btnBk.png │ │ │ ├── closeIcon-14X14.png │ │ │ ├── del.png │ │ │ ├── deleteIcon.png │ │ │ ├── line.png │ │ │ ├── list-bk.png │ │ │ ├── radiusBlueBot-782.png │ │ │ ├── radiusBlueMid-782.png │ │ │ ├── radiusBlueTop-782.png │ │ │ ├── radiusGrayBot-782.png │ │ │ ├── radiusGrayTop-782.png │ │ │ ├── selectDown.png │ │ │ ├── selectIcon-15X14.png │ │ │ ├── togMoveIcon.png │ │ │ └── verticalLine.png │ │ └── logo.png │ ├── index.html │ ├── scripts │ │ ├── My97DatePicker │ │ │ ├── WdatePicker.js │ │ │ ├── calendar.js │ │ │ ├── lang │ │ │ │ ├── en.js │ │ │ │ ├── zh-cn.js │ │ │ │ └── zh-tw.js │ │ │ └── skin │ │ │ │ ├── WdatePicker.css │ │ │ │ ├── datePicker.gif │ │ │ │ ├── default │ │ │ │ ├── datepicker.css │ │ │ │ └── img.gif │ │ │ │ └── whyGreen │ │ │ │ ├── bg.jpg │ │ │ │ ├── datepicker.css │ │ │ │ └── img.gif │ │ ├── artDialog │ │ │ ├── artDialog.js │ │ │ ├── default.css │ │ │ ├── icons │ │ │ │ └── loading.gif │ │ │ └── jquery.artDialog.source.js │ │ ├── common.js │ │ ├── imageselect.js │ │ ├── jquery.min.js │ │ ├── jquery.smartselect-1.1.min.js │ │ ├── pagination │ │ │ ├── jquery.pagination.js │ │ │ ├── pagination.css │ │ │ └── wait.gif │ │ ├── public │ │ │ ├── json2.js │ │ │ └── public.js │ │ ├── user │ │ │ └── index.js │ │ └── validate │ │ │ ├── additional-methods.js │ │ │ ├── chinese.js │ │ │ ├── css │ │ │ ├── chili.css │ │ │ ├── cmxform.css │ │ │ ├── cmxformTemplate.css │ │ │ ├── core.css │ │ │ ├── reset.css │ │ │ └── screen.css │ │ │ ├── jquery.metadata.js │ │ │ ├── jquery.validate.min.js │ │ │ ├── tooltip.js │ │ │ ├── tooltip.slide.js │ │ │ └── validate.js │ └── styles │ │ ├── global.css │ │ ├── imageselect.css │ │ └── index.css │ └── templates │ ├── 403.html │ ├── deny.html │ ├── tosignout.html │ └── user │ ├── index.html │ └── show.html └── web2.iml /.idea/.name: -------------------------------------------------------------------------------- 1 | spring-boot-sso -------------------------------------------------------------------------------- /.idea/copyright/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__antlr_antlr_2_7_7.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__aopalliance_aopalliance_1_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__ch_qos_logback_logback_classic_1_1_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__ch_qos_logback_logback_core_1_1_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_fasterxml_classmate_1_1_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_6_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_core_2_6_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_databind_2_6_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_google_code_findbugs_jsr305_3_0_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_google_guava_guava_18_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_netflix_archaius_archaius_core_0_7_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_netflix_hystrix_hystrix_core_1_4_23.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_netflix_hystrix_hystrix_javanica_1_4_23.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_netflix_hystrix_hystrix_metrics_event_stream_1_4_23.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_netflix_netflix_commons_netflix_commons_util_0_1_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_netflix_netflix_commons_netflix_statistics_0_1_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_netflix_ribbon_ribbon_2_1_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_netflix_ribbon_ribbon_core_2_1_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_netflix_ribbon_ribbon_httpclient_2_1_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_netflix_ribbon_ribbon_loadbalancer_2_1_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_netflix_ribbon_ribbon_transport_2_1_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_netflix_servo_servo_core_0_10_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_netflix_servo_servo_internal_0_10_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_netflix_zuul_zuul_core_1_1_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_sun_jersey_contribs_jersey_apache_client4_1_19.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_sun_jersey_jersey_client_1_19.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_sun_jersey_jersey_core_1_19.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__commons_codec_commons_codec_1_6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__commons_collections_commons_collections_3_2_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__commons_configuration_commons_configuration_1_8.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__commons_io_commons_io_2_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__commons_lang_commons_lang_2_6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__commons_logging_commons_logging_1_1_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__dom4j_dom4j_1_6_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_netty_netty_buffer_4_0_27_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_netty_netty_codec_4_0_27_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_netty_netty_codec_http_4_0_27_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_netty_netty_common_4_0_27_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_netty_netty_handler_4_0_27_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_netty_netty_transport_4_0_27_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_netty_netty_transport_native_epoll_4_0_27_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_reactivex_rxjava_1_0_14.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_reactivex_rxnetty_0_4_9.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_reactivex_rxnetty_contexts_0_4_9.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_reactivex_rxnetty_servo_0_4_9.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__javax_inject_javax_inject_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__javax_transaction_javax_transaction_api_1_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__javax_validation_validation_api_1_1_0_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__javax_ws_rs_jsr311_api_1_1_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__junit_junit_4_12.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__mysql_mysql_connector_java_5_1_38.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__nz_net_ultraq_thymeleaf_thymeleaf_layout_dialect_1_3_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__ognl_ognl_3_0_8.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_commons_commons_lang3_3_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_httpcomponents_httpclient_4_5_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_httpcomponents_httpcore_4_4_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_core_8_0_30.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_el_8_0_30.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_logging_juli_8_0_30.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_websocket_8_0_30.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_tomcat_tomcat_jdbc_8_0_30.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_tomcat_tomcat_juli_8_0_30.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_aspectj_aspectjweaver_1_8_8.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_bouncycastle_bcpkix_jdk15on_1_47.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_bouncycastle_bcprov_jdk15on_1_47.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_codehaus_groovy_groovy_2_4_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_codehaus_jackson_jackson_core_asl_1_9_13.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_codehaus_jackson_jackson_mapper_asl_1_9_13.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_hamcrest_hamcrest_library_1_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_hibernate_common_hibernate_commons_annotations_4_0_5_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_hibernate_hibernate_core_4_3_11_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_hibernate_hibernate_entitymanager_4_3_11_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_hibernate_hibernate_validator_5_2_2_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_hibernate_javax_persistence_hibernate_jpa_2_1_api_1_0_0_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_javassist_javassist_3_18_1_GA.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_jboss_jandex_1_1_0_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_jboss_logging_jboss_logging_3_3_0_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_jboss_logging_jboss_logging_annotations_1_2_0_Beta1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_json_json_20140107.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_mockito_mockito_core_1_10_19.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_objenesis_objenesis_2_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_ow2_asm_asm_5_0_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_slf4j_jcl_over_slf4j_1_7_13.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_slf4j_jul_to_slf4j_1_7_13.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_slf4j_log4j_over_slf4j_1_7_13.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_13.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_1_3_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_actuator_1_3_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_autoconfigure_1_3_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_configuration_processor_1_3_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_1_3_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_actuator_1_3_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_aop_1_3_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_data_jpa_1_3_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_jdbc_1_3_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_logging_1_3_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_security_1_3_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_test_1_3_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_thymeleaf_1_3_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_tomcat_1_3_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_validation_1_3_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_web_1_3_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_cloud_spring_cloud_commons_1_1_0_M5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_cloud_spring_cloud_context_1_1_0_M5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_cloud_spring_cloud_netflix_core_1_1_0_M5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_cloud_spring_cloud_security_1_1_0_M4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_cloud_spring_cloud_starter_1_1_0_M5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_cloud_spring_cloud_starter_archaius_1_1_0_M5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_cloud_spring_cloud_starter_hystrix_1_1_0_M5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_cloud_spring_cloud_starter_oauth2_1_1_0_M4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_cloud_spring_cloud_starter_ribbon_1_1_0_M5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_cloud_spring_cloud_starter_security_1_1_0_M4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_cloud_spring_cloud_starter_zuul_1_1_0_M5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_data_spring_data_commons_1_11_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_data_spring_data_jpa_1_9_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_hateoas_spring_hateoas_0_16_0_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_security_oauth_spring_security_oauth2_2_0_8_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_security_spring_security_config_4_0_3_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_security_spring_security_core_4_0_3_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_security_spring_security_crypto_4_0_3_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_security_spring_security_jwt_1_0_3_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_security_spring_security_web_4_0_3_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_aop_4_2_4_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_aspects_4_2_4_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_beans_4_2_4_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_context_4_2_4_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_core_4_2_4_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_expression_4_2_4_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_jdbc_4_2_4_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_orm_4_2_4_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_test_4_2_4_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_tx_4_2_4_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_web_4_2_4_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_webmvc_4_2_4_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_thymeleaf_thymeleaf_2_1_4_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_thymeleaf_thymeleaf_spring4_2_1_4_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_unbescape_unbescape_1_1_0_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_yaml_snakeyaml_1_16.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__xml_apis_xml_apis_1_0_b2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /login/src/main/java/com/test/login/LoginApplication.java: -------------------------------------------------------------------------------- 1 | package com.test.login; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | import org.springframework.boot.context.embedded.ServletContextInitializer; 6 | import org.springframework.context.annotation.ComponentScan; 7 | 8 | import javax.servlet.ServletContext; 9 | import javax.servlet.ServletException; 10 | 11 | @SpringBootApplication 12 | @ComponentScan(basePackages = "com.test") 13 | public class LoginApplication implements ServletContextInitializer { 14 | public static void main(String[] args) { 15 | SpringApplication.run(LoginApplication.class, args); 16 | } 17 | 18 | @Override 19 | public void onStartup(ServletContext servletContext) 20 | throws ServletException { 21 | servletContext.getSessionCookieConfig().setName("SESSIONID"); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /login/src/main/java/com/test/login/controller/MainsiteErrorController.java: -------------------------------------------------------------------------------- 1 | package com.test.login.controller; 2 | 3 | import org.springframework.boot.autoconfigure.web.ErrorController; 4 | import org.springframework.stereotype.Controller; 5 | import org.springframework.web.bind.annotation.RequestMapping; 6 | 7 | @Controller 8 | public class MainsiteErrorController implements ErrorController { 9 | 10 | private static final String ERROR_PATH = "/error"; 11 | 12 | @RequestMapping(value=ERROR_PATH) 13 | public String handleError(){ 14 | return "403"; 15 | } 16 | 17 | @Override 18 | public String getErrorPath() { 19 | return "403"; 20 | } 21 | 22 | @RequestMapping(value="/deny") 23 | public String deny(){ 24 | return "deny"; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /login/src/main/java/com/test/login/service/CustomUserDetailsService.java: -------------------------------------------------------------------------------- 1 | package com.test.login.service; 2 | 3 | import com.test.mysql.entity.User; 4 | import com.test.mysql.repository.UserRepository; 5 | import org.springframework.beans.factory.annotation.Autowired; 6 | import org.springframework.security.core.userdetails.UserDetails; 7 | import org.springframework.security.core.userdetails.UserDetailsService; 8 | import org.springframework.security.core.userdetails.UsernameNotFoundException; 9 | import org.springframework.stereotype.Component; 10 | 11 | @Component 12 | public class CustomUserDetailsService implements UserDetailsService { 13 | @Autowired 14 | private UserRepository userRepository; 15 | 16 | @Override 17 | public UserDetails loadUserByUsername(String userName) throws UsernameNotFoundException { 18 | User user = userRepository.findByName(userName); 19 | if (user == null) { 20 | throw new UsernameNotFoundException("UserName " + userName + " not found"); 21 | } 22 | return new SecurityUser(user); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /login/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | server: 2 | port: 80 3 | tomcat: 4 | uri-encoding: UTF-8 5 | spring: 6 | datasource: 7 | url: jdbc:mysql://localhost:3306/test?characterEncoding=utf8 8 | username: root 9 | password: 12345678 10 | jpa: 11 | database: MYSQL 12 | show-sql: true 13 | ## Hibernate ddl auto (validate|create|create-drop|update) 14 | hibernate: 15 | ddl-auto: update 16 | naming-strategy: org.hibernate.cfg.ImprovedNamingStrategy 17 | properties: 18 | hibernate: 19 | dialect: org.hibernate.dialect.MySQL5Dialect 20 | -------------------------------------------------------------------------------- /login/src/main/resources/keystore.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/login/src/main/resources/keystore.jks -------------------------------------------------------------------------------- /login/src/main/resources/static/images/login/bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/login/src/main/resources/static/images/login/bg.jpg -------------------------------------------------------------------------------- /login/src/main/resources/static/images/login/checkCode.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/login/src/main/resources/static/images/login/checkCode.jpg -------------------------------------------------------------------------------- /login/src/main/resources/static/images/login/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/login/src/main/resources/static/images/login/close.png -------------------------------------------------------------------------------- /login/src/main/resources/static/images/login/login-bk-bot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/login/src/main/resources/static/images/login/login-bk-bot.png -------------------------------------------------------------------------------- /login/src/main/resources/static/images/login/login-bk-cen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/login/src/main/resources/static/images/login/login-bk-cen.png -------------------------------------------------------------------------------- /login/src/main/resources/static/images/login/login-bk-top.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/login/src/main/resources/static/images/login/login-bk-top.png -------------------------------------------------------------------------------- /login/src/main/resources/static/images/login/loginBtn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/login/src/main/resources/static/images/login/loginBtn.png -------------------------------------------------------------------------------- /login/src/main/resources/static/images/login/pwd-icon-8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/login/src/main/resources/static/images/login/pwd-icon-8.png -------------------------------------------------------------------------------- /login/src/main/resources/static/images/login/pwd-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/login/src/main/resources/static/images/login/pwd-icon.png -------------------------------------------------------------------------------- /login/src/main/resources/static/images/login/right-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/login/src/main/resources/static/images/login/right-icon.png -------------------------------------------------------------------------------- /login/src/main/resources/static/images/login/title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/login/src/main/resources/static/images/login/title.png -------------------------------------------------------------------------------- /login/src/main/resources/static/images/login/transformBk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/login/src/main/resources/static/images/login/transformBk.png -------------------------------------------------------------------------------- /login/src/main/resources/static/images/login/txt-line.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/login/src/main/resources/static/images/login/txt-line.png -------------------------------------------------------------------------------- /login/src/main/resources/static/images/login/useName-icon-8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/login/src/main/resources/static/images/login/useName-icon-8.png -------------------------------------------------------------------------------- /login/src/main/resources/static/images/login/useName-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/login/src/main/resources/static/images/login/useName-icon.png -------------------------------------------------------------------------------- /login/src/main/resources/static/images/login/yesNoIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/login/src/main/resources/static/images/login/yesNoIcon.png -------------------------------------------------------------------------------- /login/src/main/resources/static/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/login/src/main/resources/static/images/logo.png -------------------------------------------------------------------------------- /login/src/main/resources/templates/403.html: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | error 6 | 7 | 8 |

找不到页面!

9 |
10 |

11 | message 12 |

13 |
14 |

点击 这里 到首页

15 | 16 | -------------------------------------------------------------------------------- /login/src/main/resources/templates/deny.html: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | deny 6 | 7 | 8 |

没有权限访问

9 | 10 |
11 |

12 | message 13 |

14 |
15 |

点击 这里 到首页

16 | 17 | -------------------------------------------------------------------------------- /login/src/main/resources/templates/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 14 | 15 | 16 | 17 | ......请稍候 18 | 19 | 20 | -------------------------------------------------------------------------------- /login/src/main/resources/templates/tologin.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /mysql/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | spring-boot-sso 7 | springboot.demo 8 | 1.0-SNAPSHOT 9 | 10 | 4.0.0 11 | 12 | mysql 13 | jar 14 | 15 | 16 | 17 | org.springframework.boot 18 | spring-boot-starter-data-jpa 19 | 20 | 21 | mysql 22 | mysql-connector-java 23 | runtime 24 | 25 | 26 | 27 | org.springframework.cloud 28 | spring-cloud-starter-security 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /mysql/src/main/java/com/test/mysql/config/JpaConfiguration.java: -------------------------------------------------------------------------------- 1 | package com.test.mysql.config; 2 | 3 | import org.springframework.boot.orm.jpa.EntityScan; 4 | import org.springframework.context.annotation.Bean; 5 | import org.springframework.context.annotation.Configuration; 6 | import org.springframework.core.Ordered; 7 | import org.springframework.core.annotation.Order; 8 | import org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor; 9 | import org.springframework.data.jpa.repository.config.EnableJpaRepositories; 10 | import org.springframework.transaction.annotation.EnableTransactionManagement; 11 | 12 | 13 | @Order(Ordered.HIGHEST_PRECEDENCE) 14 | @Configuration 15 | @EnableTransactionManagement(proxyTargetClass = true) 16 | @EnableJpaRepositories(basePackages = "com.**.repository") 17 | @EntityScan(basePackages = "com.**.entity") 18 | public class JpaConfiguration { 19 | 20 | @Bean 21 | PersistenceExceptionTranslationPostProcessor persistenceExceptionTranslationPostProcessor(){ 22 | return new PersistenceExceptionTranslationPostProcessor(); 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /mysql/src/main/java/com/test/mysql/entity/Department.java: -------------------------------------------------------------------------------- 1 | package com.test.mysql.entity; 2 | 3 | import org.springframework.format.annotation.DateTimeFormat; 4 | 5 | import javax.persistence.*; 6 | import java.util.Date; 7 | 8 | @Entity 9 | @Table(name = "department") 10 | public class Department implements java.io.Serializable{ 11 | @Id 12 | @GeneratedValue(strategy = GenerationType.IDENTITY) 13 | private Long id; 14 | private String name; 15 | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") 16 | private Date createdate; 17 | 18 | public Department() { 19 | } 20 | 21 | public Long getId() { 22 | return id; 23 | } 24 | 25 | public void setId(Long id) { 26 | this.id = id; 27 | } 28 | 29 | public String getName() { 30 | return name; 31 | } 32 | 33 | public void setName(String name) { 34 | this.name = name; 35 | } 36 | 37 | public Date getCreatedate() { 38 | return createdate; 39 | } 40 | 41 | public void setCreatedate(Date createdate) { 42 | this.createdate = createdate; 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /mysql/src/main/java/com/test/mysql/entity/Role.java: -------------------------------------------------------------------------------- 1 | package com.test.mysql.entity; 2 | 3 | import org.springframework.format.annotation.DateTimeFormat; 4 | 5 | import javax.persistence.*; 6 | import java.util.Date; 7 | 8 | @Entity 9 | @Table(name = "role") 10 | public class Role implements java.io.Serializable{ 11 | @Id 12 | @GeneratedValue(strategy = GenerationType.IDENTITY) 13 | private Long id; 14 | private String name; 15 | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") 16 | private Date createdate; 17 | 18 | public Role() { 19 | } 20 | 21 | public Long getId() { 22 | return id; 23 | } 24 | 25 | public void setId(Long id) { 26 | this.id = id; 27 | } 28 | 29 | public String getName() { 30 | return name; 31 | } 32 | 33 | public void setName(String name) { 34 | this.name = name; 35 | } 36 | 37 | public Date getCreatedate() { 38 | return createdate; 39 | } 40 | 41 | public void setCreatedate(Date createdate) { 42 | this.createdate = createdate; 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /mysql/src/main/java/com/test/mysql/model/DepartmentQo.java: -------------------------------------------------------------------------------- 1 | package com.test.mysql.model; 2 | 3 | public class DepartmentQo extends PageQo{ 4 | private Long id; 5 | private String name; 6 | 7 | public DepartmentQo() { 8 | } 9 | 10 | public Long getId() { 11 | return id; 12 | } 13 | 14 | public void setId(Long id) { 15 | this.id = id; 16 | } 17 | 18 | public String getName() { 19 | return name; 20 | } 21 | 22 | public void setName(String name) { 23 | this.name = name; 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /mysql/src/main/java/com/test/mysql/model/PageQo.java: -------------------------------------------------------------------------------- 1 | package com.test.mysql.model; 2 | 3 | public class PageQo { 4 | private Integer page = 0; 5 | private Integer size = 10; 6 | 7 | public Integer getPage() { 8 | return page; 9 | } 10 | 11 | public void setPage(Integer page) { 12 | this.page = page; 13 | } 14 | 15 | public Integer getSize() { 16 | return size; 17 | } 18 | 19 | public void setSize(Integer size) { 20 | this.size = size; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /mysql/src/main/java/com/test/mysql/model/RoleQo.java: -------------------------------------------------------------------------------- 1 | package com.test.mysql.model; 2 | 3 | public class RoleQo extends PageQo{ 4 | private Long id; 5 | private String name; 6 | 7 | public RoleQo() { 8 | } 9 | 10 | public Long getId() { 11 | return id; 12 | } 13 | 14 | public void setId(Long id) { 15 | this.id = id; 16 | } 17 | 18 | public String getName() { 19 | return name; 20 | } 21 | 22 | public void setName(String name) { 23 | this.name = name; 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /mysql/src/main/java/com/test/mysql/repository/DepartmentRepository.java: -------------------------------------------------------------------------------- 1 | package com.test.mysql.repository; 2 | 3 | import com.test.mysql.entity.Department; 4 | import org.springframework.data.domain.Page; 5 | import org.springframework.data.domain.Pageable; 6 | import org.springframework.data.jpa.repository.JpaRepository; 7 | import org.springframework.data.jpa.repository.Query; 8 | import org.springframework.data.repository.query.Param; 9 | import org.springframework.stereotype.Repository; 10 | 11 | @Repository 12 | public interface DepartmentRepository extends JpaRepository { 13 | @Query("select t from Department t where t.name like :name") 14 | Page findByName(@Param("name") String name, Pageable pageRequest); 15 | } 16 | -------------------------------------------------------------------------------- /mysql/src/main/java/com/test/mysql/repository/RoleRepository.java: -------------------------------------------------------------------------------- 1 | package com.test.mysql.repository; 2 | 3 | import com.test.mysql.entity.Role; 4 | import org.springframework.data.domain.Page; 5 | import org.springframework.data.domain.Pageable; 6 | import org.springframework.data.jpa.repository.JpaRepository; 7 | import org.springframework.data.jpa.repository.Query; 8 | import org.springframework.data.repository.query.Param; 9 | import org.springframework.stereotype.Repository; 10 | 11 | @Repository 12 | public interface RoleRepository extends JpaRepository { 13 | @Query("select t from Role t where t.name like :name") 14 | Page findByName(@Param("name") String name, Pageable pageRequest); 15 | } 16 | -------------------------------------------------------------------------------- /mysql/src/main/java/com/test/mysql/repository/UserRepository.java: -------------------------------------------------------------------------------- 1 | package com.test.mysql.repository; 2 | 3 | import com.test.mysql.entity.User; 4 | import org.springframework.data.domain.Page; 5 | import org.springframework.data.domain.Pageable; 6 | import org.springframework.data.jpa.repository.JpaRepository; 7 | import org.springframework.data.jpa.repository.Query; 8 | import org.springframework.data.repository.query.Param; 9 | import org.springframework.stereotype.Repository; 10 | 11 | @Repository 12 | public interface UserRepository extends JpaRepository { 13 | @Query("select t from User t where t.name =?1 and t.email =?2") 14 | User findByNameAndEmail(String name, String email); 15 | 16 | @Query("select t from User t where t.name like :name") 17 | Page findByName(@Param("name") String name, Pageable pageRequest); 18 | 19 | User findByName(String name); 20 | } 21 | -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- 1 | 1. create Mysql DB: test 2 | 2. run query: grant all privileges on test.* to 'root'@'localhost' identified by '12345678'; 3 | 3. mvn clean package 4 | 4. run com.test.login.LoginApplication 5 | 5. run com.test.resource.ResourceApplication 6 | 6. run com.test.web1.Web1Application 7 | 7. run com.test.web2.Web2Application 8 | 8. http://localhost 9 | 9. login username and passwork: user -------------------------------------------------------------------------------- /resource/src/main/java/com/test/resource/ResourceApplication.java: -------------------------------------------------------------------------------- 1 | package com.test.resource; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | import org.springframework.context.annotation.ComponentScan; 6 | import org.springframework.security.oauth2.config.annotation.web.configuration.EnableResourceServer; 7 | 8 | @SpringBootApplication 9 | @EnableResourceServer 10 | @ComponentScan(basePackages = "com.test") 11 | public class ResourceApplication { 12 | public static void main(String[] args) { 13 | SpringApplication.run(ResourceApplication.class, args); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /resource/src/main/java/com/test/resource/controller/UserController.java: -------------------------------------------------------------------------------- 1 | package com.test.resource.controller; 2 | 3 | import com.test.mysql.entity.User; 4 | import com.test.mysql.repository.UserRepository; 5 | import org.springframework.beans.factory.annotation.Autowired; 6 | import org.springframework.web.bind.annotation.RequestMapping; 7 | import org.springframework.web.bind.annotation.RestController; 8 | 9 | import java.security.Principal; 10 | import java.util.HashMap; 11 | import java.util.Map; 12 | 13 | @RestController 14 | public class UserController { 15 | @Autowired 16 | private UserRepository userRepository; 17 | 18 | @RequestMapping("/user") 19 | public Map user(Principal puser) { 20 | User user = userRepository.findByName(puser.getName()); 21 | Map userinfo = new HashMap<>(); 22 | userinfo.put("id", user.getId()); 23 | userinfo.put("name",user.getName()); 24 | userinfo.put("email", user.getEmail()); 25 | userinfo.put("department",user.getDepartment().getName()); 26 | userinfo.put("createdate", user.getCreatedate()); 27 | return userinfo; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /resource/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | server: 2 | port: 8083 3 | tomcat: 4 | uri-encoding: UTF-8 5 | # datasource 6 | spring: 7 | datasource: 8 | url: jdbc:mysql://localhost:3306/test?characterEncoding=utf8 9 | username: root 10 | password: 12345678 11 | jpa: 12 | database: MYSQL 13 | show-sql: true 14 | ## Hibernate ddl auto (validate|create|create-drop|update) 15 | hibernate: 16 | ddl-auto: update 17 | naming-strategy: org.hibernate.cfg.ImprovedNamingStrategy 18 | properties: 19 | hibernate: 20 | dialect: org.hibernate.dialect.MySQL5Dialect 21 | 22 | security: 23 | oauth2: 24 | resource: 25 | jwt: 26 | keyUri: http://localhost/oauth/token_key 27 | 28 | 29 | -------------------------------------------------------------------------------- /resource/src/main/resources/static/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | hi 9 | 10 | -------------------------------------------------------------------------------- /security/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | spring-boot-sso 7 | springboot.demo 8 | 1.0-SNAPSHOT 9 | 10 | 4.0.0 11 | 12 | security 13 | jar 14 | 15 | 16 | 17 | org.springframework.cloud 18 | spring-cloud-starter-security 19 | 20 | 21 | org.springframework.cloud 22 | spring-cloud-starter-oauth2 23 | 24 | 25 | org.springframework.boot 26 | spring-boot-configuration-processor 27 | true 28 | 29 | 30 | org.springframework.cloud 31 | spring-cloud-starter-zuul 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /security/src/main/java/com/test/security/SecuritySettings.java: -------------------------------------------------------------------------------- 1 | package com.test.security; 2 | 3 | import org.springframework.boot.context.properties.ConfigurationProperties; 4 | 5 | @ConfigurationProperties(prefix="securityconfig") 6 | public class SecuritySettings { 7 | private String logoutsuccssurl = "/logout"; 8 | private String permitall = "/api"; 9 | private String deniedpage = "/deny"; 10 | private String urlroles; 11 | 12 | public String getLogoutsuccssurl() { 13 | return logoutsuccssurl; 14 | } 15 | 16 | public void setLogoutsuccssurl(String logoutsuccssurl) { 17 | this.logoutsuccssurl = logoutsuccssurl; 18 | } 19 | 20 | public String getPermitall() { 21 | return permitall; 22 | } 23 | 24 | public void setPermitall(String permitall) { 25 | this.permitall = permitall; 26 | } 27 | 28 | public String getDeniedpage() { 29 | return deniedpage; 30 | } 31 | 32 | public void setDeniedpage(String deniedpage) { 33 | this.deniedpage = deniedpage; 34 | } 35 | 36 | public String getUrlroles() { 37 | return urlroles; 38 | } 39 | 40 | public void setUrlroles(String urlroles) { 41 | this.urlroles = urlroles; 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /web1/src/main/java/com/test/web1/Web1Application.java: -------------------------------------------------------------------------------- 1 | package com.test.web1; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | import org.springframework.context.annotation.ComponentScan; 6 | 7 | @SpringBootApplication 8 | @ComponentScan(basePackages = "com.test") 9 | public class Web1Application { 10 | public static void main(String[] args) { 11 | SpringApplication.run(Web1Application.class, args); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /web1/src/main/java/com/test/web1/controller/MainsiteErrorController.java: -------------------------------------------------------------------------------- 1 | package com.test.web1.controller; 2 | 3 | import org.springframework.boot.autoconfigure.web.ErrorController; 4 | import org.springframework.stereotype.Controller; 5 | import org.springframework.ui.ModelMap; 6 | import org.springframework.web.bind.annotation.RequestMapping; 7 | 8 | import java.security.Principal; 9 | 10 | @Controller 11 | public class MainsiteErrorController implements ErrorController { 12 | 13 | private static final String ERROR_PATH = "/error"; 14 | 15 | @RequestMapping(value=ERROR_PATH) 16 | public String handleError(){ 17 | return "403"; 18 | } 19 | 20 | @Override 21 | public String getErrorPath() { 22 | // TODO Auto-generated method stub 23 | return ERROR_PATH; 24 | } 25 | 26 | @RequestMapping(value="/deny") 27 | public String handleDeny(){ 28 | return "deny"; 29 | } 30 | 31 | @RequestMapping("/tosignout") 32 | public String tosso() { 33 | return "tosignout"; 34 | } 35 | 36 | @RequestMapping("/login") 37 | public String login() { 38 | return "redirect:/#/"; 39 | } 40 | 41 | @RequestMapping("/") 42 | public String index(ModelMap model, Principal user) throws Exception{ 43 | model.addAttribute("user", user); 44 | return "home"; 45 | } 46 | 47 | } 48 | -------------------------------------------------------------------------------- /web1/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | server: 2 | port: 8081 3 | tomcat: 4 | uri-encoding: UTF-8 5 | 6 | # datasource 7 | spring: 8 | datasource: 9 | url: jdbc:mysql://localhost:3306/test?characterEncoding=utf8 10 | username: root 11 | password: 12345678 12 | jpa: 13 | database: MYSQL 14 | show-sql: true 15 | ## Hibernate ddl auto (validate|create|create-drop|update) 16 | hibernate: 17 | ddl-auto: update 18 | naming-strategy: org.hibernate.cfg.ImprovedNamingStrategy 19 | properties: 20 | hibernate: 21 | dialect: org.hibernate.dialect.MySQL5Dialect 22 | 23 | security: 24 | ignored: /favicon.ico,/scripts/**,/styles/**,/images/** 25 | sessions: ALWAYS 26 | oauth2: 27 | sso: 28 | loginPath: /login 29 | client: 30 | clientId: ssoclient 31 | clientSecret: ssosecret 32 | accessTokenUri: http://localhost/oauth/token 33 | userAuthorizationUri: http://localhost/oauth/authorize 34 | clientAuthenticationScheme: form 35 | resource: 36 | jwt: 37 | keyUri: http://localhost/oauth/token_key 38 | 39 | securityconfig: 40 | logoutsuccssurl: /tosignout 41 | permitall: /rest/**,/bb** 42 | deniedpage: /deny 43 | urlroles: /**/new/** = admin; 44 | /**/edit/** = admin,editor; 45 | /**/delete/** = admin -------------------------------------------------------------------------------- /web1/src/main/resources/static/images/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/images/arrow.png -------------------------------------------------------------------------------- /web1/src/main/resources/static/images/global/selectDown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/images/global/selectDown.png -------------------------------------------------------------------------------- /web1/src/main/resources/static/images/global/subMenuBk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/images/global/subMenuBk.png -------------------------------------------------------------------------------- /web1/src/main/resources/static/images/global/togUpDownCircle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/images/global/togUpDownCircle.png -------------------------------------------------------------------------------- /web1/src/main/resources/static/images/global/topLineBk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/images/global/topLineBk.png -------------------------------------------------------------------------------- /web1/src/main/resources/static/images/global/wen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/images/global/wen.png -------------------------------------------------------------------------------- /web1/src/main/resources/static/images/home/Basisdt.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/images/home/Basisdt.jpg -------------------------------------------------------------------------------- /web1/src/main/resources/static/images/home/Basistopbg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/images/home/Basistopbg.jpg -------------------------------------------------------------------------------- /web1/src/main/resources/static/images/home/BigIconFirm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/images/home/BigIconFirm.png -------------------------------------------------------------------------------- /web1/src/main/resources/static/images/home/BigIconMobile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/images/home/BigIconMobile.png -------------------------------------------------------------------------------- /web1/src/main/resources/static/images/home/BigIconWebo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/images/home/BigIconWebo.png -------------------------------------------------------------------------------- /web1/src/main/resources/static/images/home/Bigbg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/images/home/Bigbg.png -------------------------------------------------------------------------------- /web1/src/main/resources/static/images/home/FourStar.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/images/home/FourStar.jpg -------------------------------------------------------------------------------- /web1/src/main/resources/static/images/home/cur.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/images/home/cur.png -------------------------------------------------------------------------------- /web1/src/main/resources/static/images/home/footbg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/images/home/footbg.jpg -------------------------------------------------------------------------------- /web1/src/main/resources/static/images/home/microBoxLi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/images/home/microBoxLi.png -------------------------------------------------------------------------------- /web1/src/main/resources/static/images/home/microBoxbg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/images/home/microBoxbg.jpg -------------------------------------------------------------------------------- /web1/src/main/resources/static/images/home/nav-a-hover.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/images/home/nav-a-hover.jpg -------------------------------------------------------------------------------- /web1/src/main/resources/static/images/home/qutama.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/images/home/qutama.png -------------------------------------------------------------------------------- /web1/src/main/resources/static/images/home/top-bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/images/home/top-bg.jpg -------------------------------------------------------------------------------- /web1/src/main/resources/static/images/index/addIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/images/index/addIcon.png -------------------------------------------------------------------------------- /web1/src/main/resources/static/images/index/arr1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/images/index/arr1.png -------------------------------------------------------------------------------- /web1/src/main/resources/static/images/index/arr2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/images/index/arr2.png -------------------------------------------------------------------------------- /web1/src/main/resources/static/images/index/arr3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/images/index/arr3.png -------------------------------------------------------------------------------- /web1/src/main/resources/static/images/index/arr4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/images/index/arr4.png -------------------------------------------------------------------------------- /web1/src/main/resources/static/images/index/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/images/index/bg.png -------------------------------------------------------------------------------- /web1/src/main/resources/static/images/index/blueBtn-62X30.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/images/index/blueBtn-62X30.png -------------------------------------------------------------------------------- /web1/src/main/resources/static/images/index/bryBk-256X118.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/images/index/bryBk-256X118.png -------------------------------------------------------------------------------- /web1/src/main/resources/static/images/index/btn-56X29.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/images/index/btn-56X29.png -------------------------------------------------------------------------------- /web1/src/main/resources/static/images/index/btn-93X38.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/images/index/btn-93X38.png -------------------------------------------------------------------------------- /web1/src/main/resources/static/images/index/btnBk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/images/index/btnBk.png -------------------------------------------------------------------------------- /web1/src/main/resources/static/images/index/closeIcon-14X14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/images/index/closeIcon-14X14.png -------------------------------------------------------------------------------- /web1/src/main/resources/static/images/index/del.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/images/index/del.png -------------------------------------------------------------------------------- /web1/src/main/resources/static/images/index/deleteIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/images/index/deleteIcon.png -------------------------------------------------------------------------------- /web1/src/main/resources/static/images/index/line.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/images/index/line.png -------------------------------------------------------------------------------- /web1/src/main/resources/static/images/index/list-bk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/images/index/list-bk.png -------------------------------------------------------------------------------- /web1/src/main/resources/static/images/index/radiusBlueBot-782.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/images/index/radiusBlueBot-782.png -------------------------------------------------------------------------------- /web1/src/main/resources/static/images/index/radiusBlueMid-782.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/images/index/radiusBlueMid-782.png -------------------------------------------------------------------------------- /web1/src/main/resources/static/images/index/radiusBlueTop-782.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/images/index/radiusBlueTop-782.png -------------------------------------------------------------------------------- /web1/src/main/resources/static/images/index/radiusGrayBot-782.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/images/index/radiusGrayBot-782.png -------------------------------------------------------------------------------- /web1/src/main/resources/static/images/index/radiusGrayTop-782.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/images/index/radiusGrayTop-782.png -------------------------------------------------------------------------------- /web1/src/main/resources/static/images/index/selectDown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/images/index/selectDown.png -------------------------------------------------------------------------------- /web1/src/main/resources/static/images/index/selectIcon-15X14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/images/index/selectIcon-15X14.png -------------------------------------------------------------------------------- /web1/src/main/resources/static/images/index/togMoveIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/images/index/togMoveIcon.png -------------------------------------------------------------------------------- /web1/src/main/resources/static/images/index/verticalLine.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/images/index/verticalLine.png -------------------------------------------------------------------------------- /web1/src/main/resources/static/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/images/logo.png -------------------------------------------------------------------------------- /web1/src/main/resources/static/scripts/My97DatePicker/lang/en.js: -------------------------------------------------------------------------------- 1 | var $lang={ 2 | errAlertMsg: "Invalid date or the date out of range,redo or not?", 3 | aWeekStr: ["wk", "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], 4 | aLongWeekStr:["wk","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"], 5 | aMonStr: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], 6 | aLongMonStr: ["January","February","March","April","May","June","July","August","September","October","November","December"], 7 | clearStr: "Clear", 8 | todayStr: "Today", 9 | okStr: "OK", 10 | updateStr: "OK", 11 | timeStr: "Time", 12 | quickStr: "Quick Selection", 13 | err_1: 'MinDate Cannot be bigger than MaxDate!' 14 | } -------------------------------------------------------------------------------- /web1/src/main/resources/static/scripts/My97DatePicker/lang/zh-cn.js: -------------------------------------------------------------------------------- 1 | var $lang={ 2 | errAlertMsg: "\u4E0D\u5408\u6CD5\u7684\u65E5\u671F\u683C\u5F0F\u6216\u8005\u65E5\u671F\u8D85\u51FA\u9650\u5B9A\u8303\u56F4,\u9700\u8981\u64A4\u9500\u5417?", 3 | aWeekStr: ["\u5468","\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"], 4 | aLongWeekStr:["\u5468","\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"], 5 | aMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00","\u5341\u4E8C"], 6 | aLongMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"], 7 | clearStr: "\u6E05\u7A7A", 8 | todayStr: "\u4ECA\u5929", 9 | okStr: "\u786E\u5B9A", 10 | updateStr: "\u786E\u5B9A", 11 | timeStr: "\u65F6\u95F4", 12 | quickStr: "\u5FEB\u901F\u9009\u62E9", 13 | err_1: '\u6700\u5C0F\u65E5\u671F\u4E0D\u80FD\u5927\u4E8E\u6700\u5927\u65E5\u671F!' 14 | } -------------------------------------------------------------------------------- /web1/src/main/resources/static/scripts/My97DatePicker/lang/zh-tw.js: -------------------------------------------------------------------------------- 1 | var $lang={ 2 | errAlertMsg: "\u4E0D\u5408\u6CD5\u7684\u65E5\u671F\u683C\u5F0F\u6216\u8005\u65E5\u671F\u8D85\u51FA\u9650\u5B9A\u7BC4\u570D,\u9700\u8981\u64A4\u92B7\u55CE?", 3 | aWeekStr: ["\u5468","\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"], 4 | aLongWeekStr:["\u5468","\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"], 5 | aMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00","\u5341\u4E8C"], 6 | aLongMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"], 7 | clearStr: "\u6E05\u7A7A", 8 | todayStr: "\u4ECA\u5929", 9 | okStr: "\u78BA\u5B9A", 10 | updateStr: "\u78BA\u5B9A", 11 | timeStr: "\u6642\u9593", 12 | quickStr: "\u5FEB\u901F\u9078\u64C7", 13 | err_1: '\u6700\u5C0F\u65E5\u671F\u4E0D\u80FD\u5927\u65BC\u6700\u5927\u65E5\u671F!' 14 | } -------------------------------------------------------------------------------- /web1/src/main/resources/static/scripts/My97DatePicker/skin/WdatePicker.css: -------------------------------------------------------------------------------- 1 | .Wdate{ 2 | /*border:#999 1px solid;*/ 3 | /*height:20px;*/ 4 | background:#fff url(datePicker.gif) no-repeat right; 5 | } 6 | .Wdate::-ms-clear{display:none;} 7 | 8 | .WdateFmtErr{ 9 | font-weight:bold; 10 | color:red; 11 | } -------------------------------------------------------------------------------- /web1/src/main/resources/static/scripts/My97DatePicker/skin/datePicker.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/scripts/My97DatePicker/skin/datePicker.gif -------------------------------------------------------------------------------- /web1/src/main/resources/static/scripts/My97DatePicker/skin/default/img.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/scripts/My97DatePicker/skin/default/img.gif -------------------------------------------------------------------------------- /web1/src/main/resources/static/scripts/My97DatePicker/skin/whyGreen/bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/scripts/My97DatePicker/skin/whyGreen/bg.jpg -------------------------------------------------------------------------------- /web1/src/main/resources/static/scripts/My97DatePicker/skin/whyGreen/img.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/scripts/My97DatePicker/skin/whyGreen/img.gif -------------------------------------------------------------------------------- /web1/src/main/resources/static/scripts/artDialog/icons/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/scripts/artDialog/icons/loading.gif -------------------------------------------------------------------------------- /web1/src/main/resources/static/scripts/department/edit.js: -------------------------------------------------------------------------------- 1 | $(function(){ 2 | $('#saveForm').validate({ 3 | rules: { 4 | name :{required:true} 5 | },messages:{ 6 | name :{required:"必填"} 7 | } 8 | }); 9 | $('.saveBtn').click(function(){ 10 | if($('#saveForm').valid()){ 11 | $.ajax({ 12 | type: "POST", 13 | url: "./update", 14 | data: $("#saveForm").serialize(), 15 | headers: {"Content-type": "application/x-www-form-urlencoded;charset=UTF-8"}, 16 | success: function (data) { 17 | if (data == 1) { 18 | alert("编辑成功"); 19 | pageaction(); 20 | closeDialog(); 21 | } else { 22 | alert(data); 23 | } 24 | } 25 | }); 26 | }else{ 27 | alert('数据验证失败,请检查!'); 28 | } 29 | }); 30 | 31 | }); 32 | -------------------------------------------------------------------------------- /web1/src/main/resources/static/scripts/department/new.js: -------------------------------------------------------------------------------- 1 | $(function(){ 2 | $('#saveForm').validate({ 3 | rules: { 4 | name :{required:true} 5 | },messages:{ 6 | name :{required:"必填"} 7 | } 8 | }); 9 | $('.saveBtn').click(function(){ 10 | if($('#saveForm').valid()){ 11 | $.ajax({ 12 | type: "POST", 13 | url: "./save", 14 | data: $("#saveForm").serialize(), 15 | headers: {"Content-type": "application/x-www-form-urlencoded;charset=UTF-8"}, 16 | success: function (data) { 17 | if (data == 1) { 18 | alert("保存成功"); 19 | pageaction(); 20 | closeDialog(); 21 | } else { 22 | alert(data); 23 | } 24 | } 25 | }); 26 | }else{ 27 | alert('数据验证失败,请检查!'); 28 | } 29 | }); 30 | }); 31 | 32 | -------------------------------------------------------------------------------- /web1/src/main/resources/static/scripts/pagination/pagination.css: -------------------------------------------------------------------------------- 1 | .pagination a,.pagination span{margin:0px 2px;padding:2px 6px;line-height:24px;font-size:15px;display:inline-block;background:#FFF;border:1px solid #ccc;} 2 | .pagination a{border:1px solid #ccc;text-decoration:none;border-radius:2px;} 3 | .pagination .current,.pagination a:hover{background:#FFF;color:#50a73f;border:1px solid #50a73f;} 4 | #pageSelect {height: 30px} -------------------------------------------------------------------------------- /web1/src/main/resources/static/scripts/pagination/wait.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web1/src/main/resources/static/scripts/pagination/wait.gif -------------------------------------------------------------------------------- /web1/src/main/resources/static/scripts/role/edit.js: -------------------------------------------------------------------------------- 1 | $(function(){ 2 | $('#saveForm').validate({ 3 | rules: { 4 | name :{required:true} 5 | },messages:{ 6 | name :{required:"必填"} 7 | } 8 | }); 9 | $('.saveBtn').click(function(){ 10 | if($('#saveForm').valid()){ 11 | $.ajax({ 12 | type: "POST", 13 | url: "./update", 14 | data: $("#saveForm").serialize(), 15 | headers: {"Content-type": "application/x-www-form-urlencoded;charset=UTF-8"}, 16 | success: function (data) { 17 | if (data == 1) { 18 | alert("编辑成功"); 19 | pageaction(); 20 | closeDialog(); 21 | } else { 22 | alert(data); 23 | } 24 | } 25 | }); 26 | }else{ 27 | alert('数据验证失败,请检查!'); 28 | } 29 | }); 30 | 31 | }); 32 | -------------------------------------------------------------------------------- /web1/src/main/resources/static/scripts/role/new.js: -------------------------------------------------------------------------------- 1 | $(function(){ 2 | $('#saveForm').validate({ 3 | rules: { 4 | name :{required:true} 5 | },messages:{ 6 | name :{required:"必填"} 7 | } 8 | }); 9 | $('.saveBtn').click(function(){ 10 | if($('#saveForm').valid()){ 11 | $.ajax({ 12 | type: "POST", 13 | url: "./save", 14 | data: $("#saveForm").serialize(), 15 | headers: {"Content-type": "application/x-www-form-urlencoded;charset=UTF-8"}, 16 | success: function (data) { 17 | if (data == 1) { 18 | alert("保存成功"); 19 | pageaction(); 20 | closeDialog(); 21 | } else { 22 | alert(data); 23 | } 24 | } 25 | }); 26 | }else{ 27 | alert('数据验证失败,请检查!'); 28 | } 29 | }); 30 | }); 31 | 32 | -------------------------------------------------------------------------------- /web1/src/main/resources/static/scripts/user/edit.js: -------------------------------------------------------------------------------- 1 | $(function(){ 2 | $('#saveForm').validate({ 3 | rules: { 4 | name :{required:true}, 5 | email :{required:true} 6 | },messages:{ 7 | name :{required:"必填"}, 8 | email :{required:"必填"} 9 | } 10 | }); 11 | $('.saveBtn').click(function(){ 12 | if($('#saveForm').valid()){ 13 | $.ajax({ 14 | type: "POST", 15 | url: "./update", 16 | data: $("#saveForm").serialize(), 17 | headers: {"Content-type": "application/x-www-form-urlencoded;charset=UTF-8"}, 18 | success: function (data) { 19 | if (data == 1) { 20 | alert("编辑成功"); 21 | pageaction(); 22 | closeDialog(); 23 | } else { 24 | alert(data); 25 | } 26 | } 27 | }); 28 | }else{ 29 | alert('数据验证失败,请检查!'); 30 | } 31 | }); 32 | 33 | }); 34 | -------------------------------------------------------------------------------- /web1/src/main/resources/static/scripts/user/new.js: -------------------------------------------------------------------------------- 1 | $(function(){ 2 | $('#saveForm').validate({ 3 | rules: { 4 | name :{required:true}, 5 | email :{required:true} 6 | },messages:{ 7 | name :{required:"必填"}, 8 | email :{required:"必填"} 9 | } 10 | }); 11 | $('.saveBtn').click(function(){ 12 | if($('#saveForm').valid()){ 13 | $.ajax({ 14 | type: "POST", 15 | url: "./save", 16 | data: $("#saveForm").serialize(), 17 | headers: {"Content-type": "application/x-www-form-urlencoded;charset=UTF-8"}, 18 | success: function (data) { 19 | if (data == 1) { 20 | alert("保存成功"); 21 | pageaction(); 22 | closeDialog(); 23 | } else { 24 | alert(data); 25 | } 26 | } 27 | }); 28 | }else{ 29 | alert('数据验证失败,请检查!'); 30 | } 31 | }); 32 | }); 33 | 34 | -------------------------------------------------------------------------------- /web1/src/main/resources/static/scripts/validate/additional-methods.js: -------------------------------------------------------------------------------- 1 | jQuery.validator 2 | .addMethod( 3 | "byPhone", 4 | function(value, element) { 5 | var phone = /^(1[3,5,8,7]{1}[\d]{9})|(((400)-(\d{3})-(\d{4}))|^((\d{7,8})|(\d{4}|\d{3})-(\d{7,8})|(\d{4}|\d{3})-(\d{3,7,8})-(\d{4}|\d{3}|\d{2}|\d{1})|(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1}))$)$/; 6 | return this.optional(element) || (phone.test(value)); 7 | }, "例如:xxxx-6666666或13866668888"); 8 | 9 | jQuery.validator 10 | .addMethod( 11 | "byFacsimile", 12 | function(value, element) { 13 | var facsimile =/^(\d{3}-)(\d{8})$|^(\d{4}-)(\d{7})$|^(\d{4}-)(\d{8})$/; 14 | return this.optional(element) || (facsimile.test(value)); 15 | }, "例如:xxxx-6666666"); 16 | 17 | jQuery.validator.addMethod("byZipCode", function(value, element) { 18 | var zipCode = /^[1-9][0-9]{5}$/; 19 | return this.optional(element) || (zipCode.test(value)); 20 | }, "邮编例如:518000"); 21 | -------------------------------------------------------------------------------- /web1/src/main/resources/static/scripts/validate/css/chili.css: -------------------------------------------------------------------------------- 1 | .jscom, .mix htcom { color: #4040c2; } 2 | .com { color: green; } 3 | .regexp { color: maroon; } 4 | .string { color: teal; } 5 | .keywords { color: blue; } 6 | .global { color: #008; } 7 | .numbers { color: #880; } 8 | .comm { color: green; } 9 | .tag { color: blue; } 10 | .entity { color: blue; } 11 | .string { color: teal; } 12 | .aname { color: maroon; } 13 | .avalue { color: maroon; } 14 | .jquery { color: #00a; } 15 | .plugin { color: red; } -------------------------------------------------------------------------------- /web1/src/main/resources/static/scripts/validate/css/cmxformTemplate.css: -------------------------------------------------------------------------------- 1 | /********************************** 2 | 3 | Use: cmxform template 4 | 5 | ***********************************/ 6 | form.cmxform fieldset { 7 | margin-bottom: 10px; 8 | } 9 | 10 | form.cmxform legend { 11 | padding: 0 2px; 12 | font-weight: bold; 13 | _margin: 0 -7px; /* IE Win */ 14 | } 15 | 16 | form.cmxform label { 17 | display: inline-block; 18 | line-height: 1.8; 19 | vertical-align: top; 20 | cursor: hand; 21 | } 22 | 23 | form.cmxform fieldset p { 24 | list-style: none; 25 | padding: 5px; 26 | margin: 0; 27 | } 28 | 29 | form.cmxform fieldset fieldset { 30 | border: none; 31 | margin: 3px 0 0; 32 | } 33 | 34 | form.cmxform fieldset fieldset legend { 35 | padding: 0 0 5px; 36 | font-weight: normal; 37 | } 38 | 39 | form.cmxform fieldset fieldset label { 40 | display: block; 41 | width: auto; 42 | } 43 | 44 | form.cmxform label { width: 100px; } /* Width of labels */ 45 | form.cmxform fieldset fieldset label { margin-left: 103px; } /* Width plus 3 (html space) */ 46 | form.cmxform label.error { 47 | margin-left: 103px; 48 | width: 220px; 49 | } 50 | 51 | form.cmxform input.submit { 52 | margin-left: 103px; 53 | } 54 | 55 | /*\*//*/ form.cmxform legend { display: inline-block; } /* IE Mac legend fix */ -------------------------------------------------------------------------------- /web1/src/main/resources/static/scripts/validate/css/core.css: -------------------------------------------------------------------------------- 1 | #main { padding: 1em; } 2 | #banner { padding: 15px; background-color: #06b; color: white; font-size: large; border-bottom: 1px solid #ccc; 3 | background: url(/images/bg.gif) repeat-x; text-align: center } 4 | #banner a { color: white; } 5 | .hi-tooltip { 6 | position: absolute!important; 7 | overflow:hidden; 8 | font-size: 12px; 9 | z-index: 10000!important; 10 | width:206px; 11 | } 12 | .hi-tooltip .xtop, .hi-tooltip .xbottom { display: block; background: transparent; font-size: 1px; } 13 | .hi-tooltip .xb1, .hi-tooltip .xb2, .hi-tooltip .xb3, .tooltip .xb4 { display: block; overflow: hidden; } 14 | .hi-tooltip .xb1, .hi-tooltip .xb2, .hi-tooltip .xb3 { height: 1px; } 15 | .hi-tooltip .xb2, .hi-tooltip .xb3, .hi-tooltip .xb4 { background: #666; border-left: 1px solid #333; border-right: 1px solid #333; } 16 | .hi-tooltip .xbottom .xb2, .hi-tooltip .xbottom .xb3, .hi-tooltip .xbottom .xb4 { background: #666; } 17 | .hi-tooltip .xb1 { margin: 0 5px; background: #333; } 18 | .hi-tooltip .xb2 { margin: 0 3px; border-width: 0 2px; } 19 | .hi-tooltip .xb3 { margin: 0 2px; } 20 | .hi-tooltip .xb4 { height: 2px; margin: 0 1px; } 21 | 22 | .hi-tooltip .xboxcontent { 23 | padding: 0 .5em; 24 | margin: 0; 25 | color: #000; 26 | text-shadow: 2px 2px 0px #CCC; 27 | word-wrap:break-word; 28 | border: 1px solid #333; 29 | border-width: 0px 1px 0 1px; 30 | background-color: #666; 31 | 32 | } 33 | -------------------------------------------------------------------------------- /web1/src/main/resources/static/scripts/validate/css/reset.css: -------------------------------------------------------------------------------- 1 | /********************************** 2 | 3 | Use: Reset Styles for all browsers 4 | 5 | ***********************************/ 6 | 7 | body, p, blockquote { 8 | margin: 0; 9 | padding: 0; 10 | } 11 | 12 | a img, iframe { border: none; } 13 | 14 | /* Headers 15 | ------------------------------*/ 16 | 17 | h1, h2, h3, h4, h5, h6 { 18 | margin: 0; 19 | padding: 0; 20 | font-size: 100%; 21 | } 22 | 23 | /* Lists 24 | ------------------------------*/ 25 | 26 | ul, ol, dl, li, dt, dd { 27 | margin: 0; 28 | padding: 0; 29 | } 30 | 31 | /* Links 32 | ------------------------------*/ 33 | 34 | a, a:link {} 35 | a:visited {} 36 | a:hover {} 37 | a:active {} 38 | 39 | /* Forms 40 | ------------------------------*/ 41 | 42 | form, fieldset { 43 | margin: 0; 44 | padding: 0; 45 | } 46 | 47 | fieldset { border: 1px solid #000; } 48 | 49 | legend { 50 | padding: 0; 51 | color: #000; 52 | } 53 | 54 | input, textarea, select { 55 | margin: 0; 56 | padding: 1px; 57 | font-size: 100%; 58 | font-family: inherit; 59 | } 60 | 61 | select { padding: 0; } -------------------------------------------------------------------------------- /web1/src/main/resources/static/scripts/validate/css/screen.css: -------------------------------------------------------------------------------- 1 | /********************************** 2 | 3 | Use: Main Screen Import 4 | 5 | ***********************************/ 6 | 7 | @import "reset.css"; 8 | @import "core.css"; 9 | @import "cmxformTemplate.css"; 10 | @import "cmxform.css"; -------------------------------------------------------------------------------- /web1/src/main/resources/static/styles/imageselect.css: -------------------------------------------------------------------------------- 1 | .jqis{position: relative;} 2 | .jqis_header{background-image: url('/images/arrow.png');background-position: right center;background-repeat: no-repeat;cursor: pointer;} 3 | .jqis_header img{cursor: pointer;} 4 | .jqis_dropdown{padding: 5px;position: absolute;overflow-x: hidden;overflow-y: scroll;} 5 | .jqis_dropdown img{margin-right: 3px;cursor: pointer;float: left;} -------------------------------------------------------------------------------- /web1/src/main/resources/templates/403.html: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | error 6 | 7 | 8 |

找不到页面!

9 |
10 |

11 | message 12 |

13 |
14 |

点击 这里 到首页

15 | 16 | -------------------------------------------------------------------------------- /web1/src/main/resources/templates/deny.html: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | deny 6 | 7 | 8 |

没有权限访问

9 | 10 |
11 |

12 | message 13 |

14 |
15 |

点击 这里 到首页

16 | 17 | -------------------------------------------------------------------------------- /web1/src/main/resources/templates/department/edit.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 |
5 |

部门信息

6 | 7 | 8 | 9 | 13 | 14 | 17 | 18 |
名称 10 | 11 | * 12 | 日期 15 | 16 |
19 |
20 | 确定 21 | 返回 22 |
23 |
24 | 25 |
-------------------------------------------------------------------------------- /web1/src/main/resources/templates/department/new.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 | 5 | 6 | 10 | 11 | 14 | 15 |
名称 7 | 8 | * 9 | 日期 12 | 13 |
16 |
17 | 确定 18 | 返回 19 |
20 |
21 | -------------------------------------------------------------------------------- /web1/src/main/resources/templates/department/show.html: -------------------------------------------------------------------------------- 1 |
2 |

部门信息

3 | 4 | 5 | 6 | 7 | 8 | 11 | 12 |
名称日期 9 | 10 |
13 |
14 | 返回 15 |
16 |
-------------------------------------------------------------------------------- /web1/src/main/resources/templates/fragments/footer.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 | 10 |
11 | 12 | -------------------------------------------------------------------------------- /web1/src/main/resources/templates/fragments/nav.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 | 6 |
7 | 8 |
系统管理
9 | 14 | 15 |
16 |
17 | 18 | -------------------------------------------------------------------------------- /web1/src/main/resources/templates/role/edit.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 |
5 |

角色信息

6 | 7 | 8 | 9 | 13 | 14 | 17 | 18 |
名称 10 | 11 | * 12 | 日期 15 | 16 |
19 |
20 | 确定 21 | 返回 22 |
23 |
24 | 25 |
-------------------------------------------------------------------------------- /web1/src/main/resources/templates/role/new.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 | 5 | 6 | 10 | 11 | 14 | 15 |
名称 7 | 8 | * 9 | 日期 12 | 13 |
16 |
17 | 确定 18 | 返回 19 |
20 |
21 | -------------------------------------------------------------------------------- /web1/src/main/resources/templates/role/show.html: -------------------------------------------------------------------------------- 1 |
2 |

角色信息

3 | 4 | 5 | 6 | 7 | 8 | 11 | 12 |
名称日期 9 | 10 |
13 |
14 | 返回 15 |
16 |
-------------------------------------------------------------------------------- /web1/src/main/resources/templates/tosignout.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /web2/src/main/java/com/test/web2/Web2Application.java: -------------------------------------------------------------------------------- 1 | package com.test.web2; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | import org.springframework.cloud.netflix.zuul.EnableZuulProxy; 6 | import org.springframework.context.annotation.ComponentScan; 7 | 8 | @SpringBootApplication 9 | @EnableZuulProxy 10 | @ComponentScan(basePackages = "com.test") 11 | public class Web2Application { 12 | public static void main(String[] args) { 13 | SpringApplication.run(Web2Application.class, args); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /web2/src/main/java/com/test/web2/controller/MainsiteErrorController.java: -------------------------------------------------------------------------------- 1 | package com.test.web2.controller; 2 | 3 | import org.springframework.boot.autoconfigure.web.ErrorController; 4 | import org.springframework.stereotype.Controller; 5 | import org.springframework.web.bind.annotation.RequestMapping; 6 | 7 | @Controller 8 | public class MainsiteErrorController implements ErrorController { 9 | 10 | private static final String ERROR_PATH = "/error"; 11 | 12 | @RequestMapping(value=ERROR_PATH) 13 | public String handleError(){ 14 | return "403"; 15 | } 16 | 17 | @Override 18 | public String getErrorPath() { 19 | // TODO Auto-generated method stub 20 | return ERROR_PATH; 21 | } 22 | 23 | @RequestMapping(value="/deny") 24 | public String handleDeny(){ 25 | return "deny"; 26 | } 27 | 28 | @RequestMapping("/tosignout") 29 | public String tosso() { 30 | return "tosignout"; 31 | } 32 | 33 | @RequestMapping("/login") 34 | public String dashboard() { 35 | return "redirect:/#/"; 36 | } 37 | 38 | } 39 | -------------------------------------------------------------------------------- /web2/src/main/java/com/test/web2/controller/TestController.java: -------------------------------------------------------------------------------- 1 | package com.test.web2.controller; 2 | 3 | import com.test.web2.model.User; 4 | import org.springframework.stereotype.Controller; 5 | import org.springframework.ui.ModelMap; 6 | import org.springframework.web.bind.annotation.RequestMapping; 7 | 8 | import java.security.Principal; 9 | 10 | @Controller 11 | public class TestController { 12 | 13 | @RequestMapping("/") 14 | public String getUser(ModelMap model, Principal user){ 15 | model.addAttribute("user",user); 16 | return "user/index"; 17 | } 18 | 19 | @RequestMapping("/show") 20 | public String show(ModelMap model,User user) throws Exception{ 21 | model.addAttribute("user",user); 22 | return "user/show"; 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /web2/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | server: 2 | port: 8082 3 | tomcat: 4 | uri-encoding: UTF-8 5 | 6 | security: 7 | ignored: /favicon.ico,/scripts/**,/styles/**,/images/** 8 | sessions: ALWAYS 9 | oauth2: 10 | sso: 11 | loginPath: /login 12 | client: 13 | clientId: ssoclient 14 | clientSecret: ssosecret 15 | accessTokenUri: http://localhost/oauth/token 16 | userAuthorizationUri: http://localhost/oauth/authorize 17 | clientAuthenticationScheme: form 18 | resource: 19 | jwt: 20 | keyUri: http://localhost/oauth/token_key 21 | 22 | securityconfig: 23 | logoutsuccssurl: /tosignout 24 | permitall: /rest/**,/re** 25 | deniedpage: /deny 26 | urlroles: /**/new/** = admin; 27 | /**/edit/** = admin,editor; 28 | /**/delete/** = admin 29 | 30 | zuul: 31 | routes: 32 | resource: 33 | path: /resource/** 34 | url: http://localhost:8083 35 | stripPrefix: true 36 | retryable: 37 | -------------------------------------------------------------------------------- /web2/src/main/resources/static/images/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web2/src/main/resources/static/images/arrow.png -------------------------------------------------------------------------------- /web2/src/main/resources/static/images/global/selectDown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web2/src/main/resources/static/images/global/selectDown.png -------------------------------------------------------------------------------- /web2/src/main/resources/static/images/global/subMenuBk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web2/src/main/resources/static/images/global/subMenuBk.png -------------------------------------------------------------------------------- /web2/src/main/resources/static/images/global/togUpDownCircle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web2/src/main/resources/static/images/global/togUpDownCircle.png -------------------------------------------------------------------------------- /web2/src/main/resources/static/images/global/topLineBk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web2/src/main/resources/static/images/global/topLineBk.png -------------------------------------------------------------------------------- /web2/src/main/resources/static/images/global/wen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web2/src/main/resources/static/images/global/wen.png -------------------------------------------------------------------------------- /web2/src/main/resources/static/images/index/addIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web2/src/main/resources/static/images/index/addIcon.png -------------------------------------------------------------------------------- /web2/src/main/resources/static/images/index/arr1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web2/src/main/resources/static/images/index/arr1.png -------------------------------------------------------------------------------- /web2/src/main/resources/static/images/index/arr2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web2/src/main/resources/static/images/index/arr2.png -------------------------------------------------------------------------------- /web2/src/main/resources/static/images/index/arr3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web2/src/main/resources/static/images/index/arr3.png -------------------------------------------------------------------------------- /web2/src/main/resources/static/images/index/arr4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web2/src/main/resources/static/images/index/arr4.png -------------------------------------------------------------------------------- /web2/src/main/resources/static/images/index/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web2/src/main/resources/static/images/index/bg.png -------------------------------------------------------------------------------- /web2/src/main/resources/static/images/index/blueBtn-62X30.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web2/src/main/resources/static/images/index/blueBtn-62X30.png -------------------------------------------------------------------------------- /web2/src/main/resources/static/images/index/bryBk-256X118.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web2/src/main/resources/static/images/index/bryBk-256X118.png -------------------------------------------------------------------------------- /web2/src/main/resources/static/images/index/btn-56X29.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web2/src/main/resources/static/images/index/btn-56X29.png -------------------------------------------------------------------------------- /web2/src/main/resources/static/images/index/btn-93X38.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web2/src/main/resources/static/images/index/btn-93X38.png -------------------------------------------------------------------------------- /web2/src/main/resources/static/images/index/btnBk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web2/src/main/resources/static/images/index/btnBk.png -------------------------------------------------------------------------------- /web2/src/main/resources/static/images/index/closeIcon-14X14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web2/src/main/resources/static/images/index/closeIcon-14X14.png -------------------------------------------------------------------------------- /web2/src/main/resources/static/images/index/del.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web2/src/main/resources/static/images/index/del.png -------------------------------------------------------------------------------- /web2/src/main/resources/static/images/index/deleteIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web2/src/main/resources/static/images/index/deleteIcon.png -------------------------------------------------------------------------------- /web2/src/main/resources/static/images/index/line.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web2/src/main/resources/static/images/index/line.png -------------------------------------------------------------------------------- /web2/src/main/resources/static/images/index/list-bk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web2/src/main/resources/static/images/index/list-bk.png -------------------------------------------------------------------------------- /web2/src/main/resources/static/images/index/radiusBlueBot-782.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web2/src/main/resources/static/images/index/radiusBlueBot-782.png -------------------------------------------------------------------------------- /web2/src/main/resources/static/images/index/radiusBlueMid-782.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web2/src/main/resources/static/images/index/radiusBlueMid-782.png -------------------------------------------------------------------------------- /web2/src/main/resources/static/images/index/radiusBlueTop-782.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web2/src/main/resources/static/images/index/radiusBlueTop-782.png -------------------------------------------------------------------------------- /web2/src/main/resources/static/images/index/radiusGrayBot-782.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web2/src/main/resources/static/images/index/radiusGrayBot-782.png -------------------------------------------------------------------------------- /web2/src/main/resources/static/images/index/radiusGrayTop-782.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web2/src/main/resources/static/images/index/radiusGrayTop-782.png -------------------------------------------------------------------------------- /web2/src/main/resources/static/images/index/selectDown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web2/src/main/resources/static/images/index/selectDown.png -------------------------------------------------------------------------------- /web2/src/main/resources/static/images/index/selectIcon-15X14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web2/src/main/resources/static/images/index/selectIcon-15X14.png -------------------------------------------------------------------------------- /web2/src/main/resources/static/images/index/togMoveIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web2/src/main/resources/static/images/index/togMoveIcon.png -------------------------------------------------------------------------------- /web2/src/main/resources/static/images/index/verticalLine.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web2/src/main/resources/static/images/index/verticalLine.png -------------------------------------------------------------------------------- /web2/src/main/resources/static/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web2/src/main/resources/static/images/logo.png -------------------------------------------------------------------------------- /web2/src/main/resources/static/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 欢迎 9 | 10 | -------------------------------------------------------------------------------- /web2/src/main/resources/static/scripts/My97DatePicker/lang/en.js: -------------------------------------------------------------------------------- 1 | var $lang={ 2 | errAlertMsg: "Invalid date or the date out of range,redo or not?", 3 | aWeekStr: ["wk", "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], 4 | aLongWeekStr:["wk","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"], 5 | aMonStr: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], 6 | aLongMonStr: ["January","February","March","April","May","June","July","August","September","October","November","December"], 7 | clearStr: "Clear", 8 | todayStr: "Today", 9 | okStr: "OK", 10 | updateStr: "OK", 11 | timeStr: "Time", 12 | quickStr: "Quick Selection", 13 | err_1: 'MinDate Cannot be bigger than MaxDate!' 14 | } -------------------------------------------------------------------------------- /web2/src/main/resources/static/scripts/My97DatePicker/lang/zh-cn.js: -------------------------------------------------------------------------------- 1 | var $lang={ 2 | errAlertMsg: "\u4E0D\u5408\u6CD5\u7684\u65E5\u671F\u683C\u5F0F\u6216\u8005\u65E5\u671F\u8D85\u51FA\u9650\u5B9A\u8303\u56F4,\u9700\u8981\u64A4\u9500\u5417?", 3 | aWeekStr: ["\u5468","\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"], 4 | aLongWeekStr:["\u5468","\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"], 5 | aMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00","\u5341\u4E8C"], 6 | aLongMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"], 7 | clearStr: "\u6E05\u7A7A", 8 | todayStr: "\u4ECA\u5929", 9 | okStr: "\u786E\u5B9A", 10 | updateStr: "\u786E\u5B9A", 11 | timeStr: "\u65F6\u95F4", 12 | quickStr: "\u5FEB\u901F\u9009\u62E9", 13 | err_1: '\u6700\u5C0F\u65E5\u671F\u4E0D\u80FD\u5927\u4E8E\u6700\u5927\u65E5\u671F!' 14 | } -------------------------------------------------------------------------------- /web2/src/main/resources/static/scripts/My97DatePicker/lang/zh-tw.js: -------------------------------------------------------------------------------- 1 | var $lang={ 2 | errAlertMsg: "\u4E0D\u5408\u6CD5\u7684\u65E5\u671F\u683C\u5F0F\u6216\u8005\u65E5\u671F\u8D85\u51FA\u9650\u5B9A\u7BC4\u570D,\u9700\u8981\u64A4\u92B7\u55CE?", 3 | aWeekStr: ["\u5468","\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"], 4 | aLongWeekStr:["\u5468","\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"], 5 | aMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00","\u5341\u4E8C"], 6 | aLongMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"], 7 | clearStr: "\u6E05\u7A7A", 8 | todayStr: "\u4ECA\u5929", 9 | okStr: "\u78BA\u5B9A", 10 | updateStr: "\u78BA\u5B9A", 11 | timeStr: "\u6642\u9593", 12 | quickStr: "\u5FEB\u901F\u9078\u64C7", 13 | err_1: '\u6700\u5C0F\u65E5\u671F\u4E0D\u80FD\u5927\u65BC\u6700\u5927\u65E5\u671F!' 14 | } -------------------------------------------------------------------------------- /web2/src/main/resources/static/scripts/My97DatePicker/skin/WdatePicker.css: -------------------------------------------------------------------------------- 1 | .Wdate{ 2 | /*border:#999 1px solid;*/ 3 | /*height:20px;*/ 4 | background:#fff url(datePicker.gif) no-repeat right; 5 | } 6 | .Wdate::-ms-clear{display:none;} 7 | 8 | .WdateFmtErr{ 9 | font-weight:bold; 10 | color:red; 11 | } -------------------------------------------------------------------------------- /web2/src/main/resources/static/scripts/My97DatePicker/skin/datePicker.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web2/src/main/resources/static/scripts/My97DatePicker/skin/datePicker.gif -------------------------------------------------------------------------------- /web2/src/main/resources/static/scripts/My97DatePicker/skin/default/img.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web2/src/main/resources/static/scripts/My97DatePicker/skin/default/img.gif -------------------------------------------------------------------------------- /web2/src/main/resources/static/scripts/My97DatePicker/skin/whyGreen/bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web2/src/main/resources/static/scripts/My97DatePicker/skin/whyGreen/bg.jpg -------------------------------------------------------------------------------- /web2/src/main/resources/static/scripts/My97DatePicker/skin/whyGreen/img.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web2/src/main/resources/static/scripts/My97DatePicker/skin/whyGreen/img.gif -------------------------------------------------------------------------------- /web2/src/main/resources/static/scripts/artDialog/icons/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web2/src/main/resources/static/scripts/artDialog/icons/loading.gif -------------------------------------------------------------------------------- /web2/src/main/resources/static/scripts/pagination/pagination.css: -------------------------------------------------------------------------------- 1 | .pagination a,.pagination span{margin:0px 2px;padding:2px 6px;line-height:24px;font-size:15px;display:inline-block;background:#FFF;border:1px solid #ccc;} 2 | .pagination a{border:1px solid #ccc;text-decoration:none;border-radius:2px;} 3 | .pagination .current,.pagination a:hover{background:#FFF;color:#50a73f;border:1px solid #50a73f;} 4 | #pageSelect {height: 30px} -------------------------------------------------------------------------------- /web2/src/main/resources/static/scripts/pagination/wait.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfromsz/spring-boot-sso/cff1c6dae70d5fba4fa289d4cc654844180e195d/web2/src/main/resources/static/scripts/pagination/wait.gif -------------------------------------------------------------------------------- /web2/src/main/resources/static/scripts/validate/additional-methods.js: -------------------------------------------------------------------------------- 1 | jQuery.validator 2 | .addMethod( 3 | "byPhone", 4 | function(value, element) { 5 | var phone = /^(1[3,5,8,7]{1}[\d]{9})|(((400)-(\d{3})-(\d{4}))|^((\d{7,8})|(\d{4}|\d{3})-(\d{7,8})|(\d{4}|\d{3})-(\d{3,7,8})-(\d{4}|\d{3}|\d{2}|\d{1})|(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1}))$)$/; 6 | return this.optional(element) || (phone.test(value)); 7 | }, "例如:xxxx-6666666或13866668888"); 8 | 9 | jQuery.validator 10 | .addMethod( 11 | "byFacsimile", 12 | function(value, element) { 13 | var facsimile =/^(\d{3}-)(\d{8})$|^(\d{4}-)(\d{7})$|^(\d{4}-)(\d{8})$/; 14 | return this.optional(element) || (facsimile.test(value)); 15 | }, "例如:xxxx-6666666"); 16 | 17 | jQuery.validator.addMethod("byZipCode", function(value, element) { 18 | var zipCode = /^[1-9][0-9]{5}$/; 19 | return this.optional(element) || (zipCode.test(value)); 20 | }, "邮编例如:518000"); 21 | -------------------------------------------------------------------------------- /web2/src/main/resources/static/scripts/validate/css/chili.css: -------------------------------------------------------------------------------- 1 | .jscom, .mix htcom { color: #4040c2; } 2 | .com { color: green; } 3 | .regexp { color: maroon; } 4 | .string { color: teal; } 5 | .keywords { color: blue; } 6 | .global { color: #008; } 7 | .numbers { color: #880; } 8 | .comm { color: green; } 9 | .tag { color: blue; } 10 | .entity { color: blue; } 11 | .string { color: teal; } 12 | .aname { color: maroon; } 13 | .avalue { color: maroon; } 14 | .jquery { color: #00a; } 15 | .plugin { color: red; } -------------------------------------------------------------------------------- /web2/src/main/resources/static/scripts/validate/css/cmxformTemplate.css: -------------------------------------------------------------------------------- 1 | /********************************** 2 | 3 | Use: cmxform template 4 | 5 | ***********************************/ 6 | form.cmxform fieldset { 7 | margin-bottom: 10px; 8 | } 9 | 10 | form.cmxform legend { 11 | padding: 0 2px; 12 | font-weight: bold; 13 | _margin: 0 -7px; /* IE Win */ 14 | } 15 | 16 | form.cmxform label { 17 | display: inline-block; 18 | line-height: 1.8; 19 | vertical-align: top; 20 | cursor: hand; 21 | } 22 | 23 | form.cmxform fieldset p { 24 | list-style: none; 25 | padding: 5px; 26 | margin: 0; 27 | } 28 | 29 | form.cmxform fieldset fieldset { 30 | border: none; 31 | margin: 3px 0 0; 32 | } 33 | 34 | form.cmxform fieldset fieldset legend { 35 | padding: 0 0 5px; 36 | font-weight: normal; 37 | } 38 | 39 | form.cmxform fieldset fieldset label { 40 | display: block; 41 | width: auto; 42 | } 43 | 44 | form.cmxform label { width: 100px; } /* Width of labels */ 45 | form.cmxform fieldset fieldset label { margin-left: 103px; } /* Width plus 3 (html space) */ 46 | form.cmxform label.error { 47 | margin-left: 103px; 48 | width: 220px; 49 | } 50 | 51 | form.cmxform input.submit { 52 | margin-left: 103px; 53 | } 54 | 55 | /*\*//*/ form.cmxform legend { display: inline-block; } /* IE Mac legend fix */ -------------------------------------------------------------------------------- /web2/src/main/resources/static/scripts/validate/css/core.css: -------------------------------------------------------------------------------- 1 | #main { padding: 1em; } 2 | #banner { padding: 15px; background-color: #06b; color: white; font-size: large; border-bottom: 1px solid #ccc; 3 | background: url(/images/bg.gif) repeat-x; text-align: center } 4 | #banner a { color: white; } 5 | .hi-tooltip { 6 | position: absolute!important; 7 | overflow:hidden; 8 | font-size: 12px; 9 | z-index: 10000!important; 10 | width:206px; 11 | } 12 | .hi-tooltip .xtop, .hi-tooltip .xbottom { display: block; background: transparent; font-size: 1px; } 13 | .hi-tooltip .xb1, .hi-tooltip .xb2, .hi-tooltip .xb3, .tooltip .xb4 { display: block; overflow: hidden; } 14 | .hi-tooltip .xb1, .hi-tooltip .xb2, .hi-tooltip .xb3 { height: 1px; } 15 | .hi-tooltip .xb2, .hi-tooltip .xb3, .hi-tooltip .xb4 { background: #666; border-left: 1px solid #333; border-right: 1px solid #333; } 16 | .hi-tooltip .xbottom .xb2, .hi-tooltip .xbottom .xb3, .hi-tooltip .xbottom .xb4 { background: #666; } 17 | .hi-tooltip .xb1 { margin: 0 5px; background: #333; } 18 | .hi-tooltip .xb2 { margin: 0 3px; border-width: 0 2px; } 19 | .hi-tooltip .xb3 { margin: 0 2px; } 20 | .hi-tooltip .xb4 { height: 2px; margin: 0 1px; } 21 | 22 | .hi-tooltip .xboxcontent { 23 | padding: 0 .5em; 24 | margin: 0; 25 | color: #000; 26 | text-shadow: 2px 2px 0px #CCC; 27 | word-wrap:break-word; 28 | border: 1px solid #333; 29 | border-width: 0px 1px 0 1px; 30 | background-color: #666; 31 | 32 | } 33 | -------------------------------------------------------------------------------- /web2/src/main/resources/static/scripts/validate/css/reset.css: -------------------------------------------------------------------------------- 1 | /********************************** 2 | 3 | Use: Reset Styles for all browsers 4 | 5 | ***********************************/ 6 | 7 | body, p, blockquote { 8 | margin: 0; 9 | padding: 0; 10 | } 11 | 12 | a img, iframe { border: none; } 13 | 14 | /* Headers 15 | ------------------------------*/ 16 | 17 | h1, h2, h3, h4, h5, h6 { 18 | margin: 0; 19 | padding: 0; 20 | font-size: 100%; 21 | } 22 | 23 | /* Lists 24 | ------------------------------*/ 25 | 26 | ul, ol, dl, li, dt, dd { 27 | margin: 0; 28 | padding: 0; 29 | } 30 | 31 | /* Links 32 | ------------------------------*/ 33 | 34 | a, a:link {} 35 | a:visited {} 36 | a:hover {} 37 | a:active {} 38 | 39 | /* Forms 40 | ------------------------------*/ 41 | 42 | form, fieldset { 43 | margin: 0; 44 | padding: 0; 45 | } 46 | 47 | fieldset { border: 1px solid #000; } 48 | 49 | legend { 50 | padding: 0; 51 | color: #000; 52 | } 53 | 54 | input, textarea, select { 55 | margin: 0; 56 | padding: 1px; 57 | font-size: 100%; 58 | font-family: inherit; 59 | } 60 | 61 | select { padding: 0; } -------------------------------------------------------------------------------- /web2/src/main/resources/static/scripts/validate/css/screen.css: -------------------------------------------------------------------------------- 1 | /********************************** 2 | 3 | Use: Main Screen Import 4 | 5 | ***********************************/ 6 | 7 | @import "reset.css"; 8 | @import "core.css"; 9 | @import "cmxformTemplate.css"; 10 | @import "cmxform.css"; -------------------------------------------------------------------------------- /web2/src/main/resources/static/styles/imageselect.css: -------------------------------------------------------------------------------- 1 | .jqis{position: relative;} 2 | .jqis_header{background-image: url('/images/arrow.png');background-position: right center;background-repeat: no-repeat;cursor: pointer;} 3 | .jqis_header img{cursor: pointer;} 4 | .jqis_dropdown{padding: 5px;position: absolute;overflow-x: hidden;overflow-y: scroll;} 5 | .jqis_dropdown img{margin-right: 3px;cursor: pointer;float: left;} -------------------------------------------------------------------------------- /web2/src/main/resources/templates/403.html: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | error 6 | 7 | 8 |

找不到页面!

9 |
10 |

11 | message 12 |

13 |
14 |

点击 这里 到首页

15 | 16 | -------------------------------------------------------------------------------- /web2/src/main/resources/templates/deny.html: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | deny 6 | 7 | 8 |

没有权限访问

9 | 10 |
11 |

12 | message 13 |

14 |
15 |

点击 这里 到首页

16 | 17 | -------------------------------------------------------------------------------- /web2/src/main/resources/templates/tosignout.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /web2/src/main/resources/templates/user/show.html: -------------------------------------------------------------------------------- 1 |
2 |

用户信息

3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 15 | 16 | 19 | 20 | 21 |
名称邮箱
部门 13 | 14 | 日期 17 | 18 |
22 |
23 | 返回 24 |
25 |
--------------------------------------------------------------------------------