1. 程式人生 > >CAS5配置連ldap和資料庫

CAS5配置連ldap和資料庫

複製程式碼
<dependencies>
        <dependency>
            <groupId>mysql</groupId>
            <artifactId>mysql-connector-java</artifactId>
            <version>${mysql.driver.version}</version>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.apereo.cas</groupId>
            <artifactId>cas-server-webapp</artifactId>
            <version>${cas.version}</version>
            <type>war</type>
            <scope>runtime</scope>
        </dependency>
        <dependency>
            <groupId>org.apereo.cas</groupId>
            <artifactId>cas-server-support-jdbc</artifactId>
            <version>${cas.version}</version>
        </dependency>

        <!-- cas rest ticket start-->
        <dependency>
            <groupId>org.apereo.cas</groupId>
            <artifactId>cas-server-support-rest</artifactId>
            <version>${cas.version}</version>
            <scope>runtime</scope>
        </dependency>
        <dependency>
            <groupId>org.apereo.cas</groupId>
            <artifactId>cas-server-support-rest-services</artifactId>
            <version>${cas.version}</version>
            <scope>runtime</scope>
        </dependency>
        <!-- cas rest ticket end-->
        <!--
        <dependency>
            <groupId>org.apereo.cas</groupId>
            <artifactId>cas-server-support-json-service-registry</artifactId>
            <version>${cas.version}</version>
        </dependency>
        -->
        
        <dependency>
             <groupId>org.apereo.cas</groupId>
             <artifactId>cas-server-support-ldap</artifactId>
             <version>${cas.version}</version>
        </dependency>
        
        <dependency>
            <groupId>org.apereo.cas</groupId>
            <artifactId>cas-server-support-oauth-webflow</artifactId>
            <version>${cas.version}</version>
        </dependency>
        
        <dependency>
            <groupId>org.apereo.cas</groupId>
            <artifactId>cas-server-support-jpa-ticket-registry</artifactId>
            <version>${cas.version}</version>
        </dependency>
        
        <dependency>
            <groupId>org.apereo.cas</groupId>
            <artifactId>cas-server-support-jpa-service-registry</artifactId>
            <version>${cas.version}</version>
        </dependency>

    </dependencies>

    <properties>
        <cas.version>5.2.1</cas.version>
        <springboot.version>1.4.2.RELEASE</springboot.version>
        <maven.compiler.source>1.8</maven.compiler.source>
        <maven.compiler.target>1.8</maven.compiler.target>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <mysql.driver.version>6.0.6</mysql.driver.version>
    </properties>
複製程式碼

相關推薦

CAS5配置ldap資料庫

<dependencies> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</art

初次使用git就遭遇不測,提示沒有這個服務需要配置git的一個http參數 NO network connection,SSl host could not be verified ...

連接 ... 客戶 用戶 eclispe img net ren src 第一次使用git 拉取服務上的項目到本地,結果,在拿到訪問的url地址後,輸入用戶名密碼,失敗了。 --eclispe 4.5.3 繼承了git客戶端插件的版本 -----

Spring Boot入門第三天:配置日誌系統Druid數據庫接池。

禁用 css ret 輸入 ogg servlet log http gif 一、日誌管理 1.在application.properties文件中加入如下內容: logging.level.root=WARN logging.level.org.springfram

*機房重構--介面資料庫配置的那些事兒

前言:在做機房重構的時候遇到了一些小問題。和大家分享一下,希望對大家有幫助。 (一)無法將型別為“DAL.UserInfoDAL”的物件強制轉換為型別IDAL.IUserInfo" 1.問題: 2.錯誤原因:沒有引用介面 3.解決方案:如下圖,在D層引用介面即可 (二

配置計算機名工作組,TCP/IP地址配置,網路通性測

1.配置計算機名及工作組 本例要求為修改計算機名並加入工作組: 1)設定計算機名:姓名拼音 2)設定工作組名:TARENA-NETWORK 1.2 方案 修改Windows 2008伺服器的計算機名(可設為自己的姓名拼音),將所屬工作組名設為:Tarena-Ne

linux上zabbix-server優化(配置檔案資料庫

linux上zabbix-server優化(配置檔案和資料庫) 一、:修改配置檔案       vim /usr/local/zabbix/etc/zabbix_server.conf        Timeout=20 &

Spring Cloud系列教程 | 第十篇:Spring Cloud Config ServerSpring Cloud Bus以及Kafka資料庫動態重新整理配置

推薦 Spring Cloud 視訊: Spring Cloud Config Server和Spring Cloud Bus以及Kafka和資料庫動態重新整理配置     Spring cloud config server如果不結合Spring cloud

Linux配置ssh服務XShell接Linux

tro cnblogs details targe detail xshell 打開 jin 大小 SSH服務查看和安裝,配置: https://www.cnblogs.com/qiuqiuqiu/p/6445426.html https://www.cnblogs.com

線上醫療平臺開發實戰05-StackService.Ormlite基本配置資料庫建模

StackService.Ormlite 安裝 在專案中DAL層和DTO層與資料訪問相關,這兩層需要新增對StackService.Ormlite的引用。 使用Nuget安裝,DAL層直接安裝Ormlite的SQL Server驅動: Install-Package ServiceStack.OrmLit

Spring+MyBatis多資料來源配置實現(mysqlsqlserver資料庫)

最近用到了MyBatis配置多資料來源,原以為簡單配置下就行了,實際操作後發現還是要費些事的,這裡記錄下,以作備忘 不多廢話,直接上程式碼,後面會有簡單的實現介紹 jdbc和log4j的配置 #定義輸出格式 ConversionPattern=%d %-5p [%t] %c - %m%n log4j.

使用quartz+spring實現簡單的可配置化的定時任務(可資料庫配套使用)

需要的jar包: spring-context-support-4.0.1.RELEASE.jar quartz-2.2.1.jar 首先定義一個job要實現Job介面,以後各種各樣的任務都放在這個job中執行: import org.quartz.Job; import

Spring Boot通過Mybatis,使用mapper介面xml配置sql,連線資料庫

由於最早使用的是註解的方式來連線資料庫,所以比較簡單,後來發行做後臺的同事用的一般都是xml的形式,所以也跟著學習了下。發行mapper介面和xml配置sql,比較複雜,尤其是對我這種新手,研究了好久才配置成功。為了防止忘記,故寫下來,也給準備學習的人當參考

solr配置增量更新定時更新資料庫索引

################################################# #                                               # #       dataimport scheduler properties         # #  

centos7環境配置haproxy實現mysql資料庫redis代理伺服器

centos7環境配置haproxy實現mysql資料庫代理 我們通常會碰到這樣的業務場景: b主機和c資料庫在同一個內網,a主機不能直接訪問c資料庫,我們可以通過在b主機上搭建代理讓a訪問c資料庫,我們使用haproxy來幹這個事情 安裝haproxy yum insta

配置SqlPlus輸出格式及提示符顯示登陸使用者資料庫

  cat $ORACLE_HOME/sqlplus/admin/login.sql  set serveroutput on size 1000000set trimspool onset long 5000set linesize 100set pagesize 999

spring配置接池dao使用jdbcTemplate

png 圖片 代碼 mage pan 文件 com img 配置 1 spring配置c3p0連接池 第一步 導入jar包 第二步 創建spring配置文件,配置連接池 (1)把代碼中的實現在配置文件中實現 2 dao使用jdbcTemplate (1) 創建serv

實體類資料庫對映--配置檔案

<?xml version="1.0"?><!DOCTYPE hibernate-mapping PUBLIC     "-//Hibernate/Hibernate Mapping DTD 3.0//EN"    "http://hibernate.sou

【Gin-API系列】配置檔案資料庫操作(三)

我們前面已經實現了API的基礎版本,能對引數校驗和返回指定資料,這一章,我們將對主機和交換機進行建模,存入資料庫。 考慮到資料庫安裝和使用的簡便性,我們採用文件儲存結構的MongoDB資料庫。 > Mongo資料庫下載安裝,安裝後不用設定密碼,直接使用即可 下載連結 [https://www.file

如何用delphi中Data Module 管理數據庫Adoquery 及 datasourse 等

href src 數據庫連接 為什麽 com 根據 table log other 首先關於使用data module 的理論可以參看,裏面講的很詳細:https://wenku.baidu.com/view/073aa98aa0116c175f0e48e2.html 其次

Git使用:Linux(Ubuntu 14.04 x64)下安裝GIt並配置接GitHub

成功 ger 版本 style sts via xxxxxxxx apt 安裝 github是一個非常好的網絡代碼托管倉庫,知曉許久,但是一直沒有用起來,最近才開始使用git管理自己的文檔和代碼。 Git是非常強大的版本管理工具,今天就告訴大家,如何在Linux下安裝GIt