I have 3 doubts . Could you please clarify these doubts ? tutorial talks about config with localhost which I dont feel comfortable. In my situation I will have a CAS client box and a CAS server box. ...they have different IP .
I'm not comfortable whether localhost in this tutorial refers to CAS client box or CAS server box.
From tutorial link I find these config settings :
Doubt1
19.3. Configuration of CAS Client
<bean id="casProcessingFilterEntryPoint"
class="org.springframework.security.ui.cas.CasProc essingFilterEntryPoint">
<property name="loginUrl" value="https://localhost:9443/cas/login"/> //localhost is CAS server box or Client box ?
<property name="serviceProperties" ref="serviceProperties"/>
</bean>
Doubt 2:
<property name="ticketValidator">
<bean class="org.jasig.cas.client.validation.Cas20Servic eTicketValidator">
<constructor-arg index="0" value="https://localhost:9443/cas" /> //localhost is CAS server box or Client box ?
</bean>
</property>
<property name="key" value="an_id_for_this_auth_provider_only"/>
Doubt 3
<bean id="casAuthenticationProvider"
class="org.springframework.security.cas.authentica tion.CasAuthenticationProvider">
...
<property name="ticketValidator">
<bean class="org.jasig.cas.client.validation.Cas20ProxyT icketValidator">
<constructor-arg value="https://localhost:9443/cas"/> //localhost is CAS server box or Client box ?
<property name="proxyCallbackUrl"
value="https://localhost:8443/cas-sample/j_spring_cas_security_proxyreceptor"/> //localhost is CAS server box or Client box ?
<property name="proxyGrantingTicketStorage" ref="pgtStorage"/>
</bean>
</property>
</bean>


Reply With Quote
