[英]How to correctly set the service URL in Spring's CAS service properties
[英]service properties in CAS client
我想將我的一個網絡應用程序與CAS服務器連接起來。 我也使用SSL設置成功創建了我的CAS服務器。 但是當我想設置我的CAS客戶端時,存在歧義。
在Spring網站上有一個這樣的bean,他們說我們應該初始化並創建它。
<bean id="serviceProperties" class="org.springframework.security.cas.ServiceProperties">
<property name="service" value="https://localhost:8443/cas-sample/j_spring_cas_security_check" />
<property name="sendRenew" value="false" />
</bean>
這里的問題我無法理解什么是“服務”以及它所引用的URL? 我的意思是在我的網絡應用程序中,“服務”的價值應該是多少?
來自Spring Security 3的書:
service屬性向CAS指示將對用戶進行身份驗證的服務。
例如: https://localhost:8443/your-web-application/j_spring_cas_security_check
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.