[midPoint] CAS 5 & Midpoint

Arda Nural arda.nural at biznet.com.tr
Tue Apr 24 16:58:42 CEST 2018


Hello, I encountered some issues integrating CAS 5 and Midpoint 3.6



my midpoint properties file for CAS configuration is below:



#SETTING FOR CAS

auth.cas.midpoint.host=http://x.x.x.x:8080/midpoint

auth.cas.send.renew=false

auth.cas.server.host=https://x.x.x.x:8443







With this  setting call to http://x.x.x.x:8080/midpoint redirects to CAS
server. I authenticate the user from LDAP on CAS page. A ticket generating
ticket is validated at server and service ticket is sent back to Midpoint
as follows:

http://x.x.x.x:8080/midpoint/login/cas?ticket=ST-1-ErcyEOJnMK6DpT-W4kKwVOcijkg-BZN-AS-020

I get 404 on this page.





I tried to follow the wiki and uncommented the CAS parts:



In ctx-web-security-cas.xml file

<bean id="serviceProperties"

        class="org.springframework.security.cas.ServiceProperties">

    <property name="service" value="${auth.cas.midpoint.host}/login/cas"/>

    <property name="sendRenew" value="${auth.cas.send.renew}"/>

</bean>



<bean id="casEntryPoint"


class="org.springframework.security.cas.web.CasAuthenticationEntryPoint">

    <property name="loginUrl" value="${auth.cas.server.host}/cas/login"/>

   <property name="serviceProperties" ref="serviceProperties"/>

</bean>



I appreciate any help.



Kind regards,



Arda

-- 
 <http://www.biznet.com.tr/biznet-bilisim-hague-security-delta-uyesi/>
Bu 
mesaj ve
 ekleri, mesajda gönderildiği belirtilen kişi/kişilere özeldir ve 

gizlidir. Bu mesaj herhangi bir amaç için çoğaltılamaz, dağıtılamaz ve 

yayınlanamaz. Mesajın gönderildiği kişi değilseniz, mesaj içeriğini ya 
da 
eklerini kopyalamayınız, yayınlamayınız ya da başka kişilere 

yönlendirmeyiniz ve mesajı gönderen kişiyi derhal uyararak bu mesajı 

siliniz. Şirketimiz, mesajın içeriğinin ve eklerinin size değişikliğe 

uğrayarak veya geç ulaşmasından; gizliliğinin korunmamasından; virüs 

içermesinden ve bilgisayar sisteminize verebileceği herhangi bir 
zarardan 
sorumlu değildir.
 This message and its attachments are 
confidential and 
intended solely for the recipient(s) stated therein. 
This message cannot 
be copied, distributed or published for any purpose.
 If you are not the 
intended recipient, please do not copy, publish or 
forward the information 
existing in the content and attachments of this 
message. In such case 
please notify the sender immediately and delete 
all the copies of the 
message. Our company shall have no liability for 
any changes in or late 
receiving of the message, loss of integrity and 
confidentiality, viruses 
and any damages caused in anyway to your 
computer system based on this 
message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20180424/83cfed96/attachment.htm>


More information about the midPoint mailing list