[midPoint] cas sso for 3.6
Petr Gašparík - AMI Praha a.s.
petr.gasparik at ami.cz
Mon Oct 2 18:29:38 CEST 2017
you're welcome o7
--
s pozdravem
Petr Gašparík
solution architect
gsm: [+420] 603 523 860
e-mail: petr.gasparik at ami.cz
AMI Praha a.s.
Pláničkova 11
162 00 Praha 6
tel.: [+420] 274 783 239
web: www.ami.cz
[image: AMI Praha a.s.]
Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá za
společnost AMI Praha a.s.
jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně
písemnou formu.
2017-10-02 18:23 GMT+02:00 Jason Everling <jeverling at bshp.edu>:
> Ok so here is what was wrong,
>
> Line: https://github.com/Evolveum/midpoint/blob/master/
> gui/admin-gui/src/main/webapp/WEB-INF/ctx-web-security-cas.xml#L28
>
> should read
>
> <property name="service" value="${auth.cas.midpoint.host}/login/cas"/>
>
> notice the change from /j_spring_cas_security_check
>
> to
>
> /login/cas
>
> Thanks for providing your files, I used did a compare and that was the
> only difference and after tomcat restart it works.
>
> JASON
>
> On Mon, Oct 2, 2017 at 10:19 AM, Petr Gašparík - AMI Praha a.s. <
> petr.gasparik at ami.cz> wrote:
>
>> Hi Jason,
>> we did it. I have pulled the changed files from the git and you can find
>> them in attachment.
>> Feel free to use them.
>>
>> Petr
>>
>> --
>>
>> s pozdravem
>>
>> Petr Gašparík
>> solution architect
>>
>> gsm: [+420] 603 523 860 <+420%20603%20523%20860>
>> e-mail: petr.gasparik at ami.cz
>>
>>
>> AMI Praha a.s.
>> Pláničkova 11
>> 162 00 Praha 6
>> tel.: [+420] 274 783 239 <+420%20274%20783%20239>
>> web: www.ami.cz
>>
>>
>> [image: AMI Praha a.s.]
>>
>> Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá za
>> společnost AMI Praha a.s.
>> jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně
>> písemnou formu.
>>
>>
>> 2017-10-02 16:27 GMT+02:00 Jason Everling <jeverling at bshp.edu>:
>>
>>> I am not able to get this working and it seems I might be missing a
>>> step? I even checked our current environment and it looks to be the same
>>> except for the split of cas config and auth startup declaration.
>>>
>>> Steps I took:
>>>
>>> Added cas and spring cas libs, restarted tomcat
>>>
>>> Edited auth.cas. settings in /WEB-INF/classes/midpoint-config.properties
>>>
>>> Added -Dauth.method.type=cas to tomcat startup options after
>>> midpoint.home
>>>
>>> restarted tomcat
>>>
>>> When trying to login I am not redirected to cas, I still land on
>>> midpoint/login?0 and if I try to login using user/pass I also get
>>>
>>> Property for 'No AuthenticationProvider found for
>>> org.springframework.security.authentication.UsernamePasswordAuthenticationToken'
>>> not found'
>>>
>>> Anyone have 3.6 with cas going? I can get it working using apache
>>> mod-auth-cas but not through java which I would prefer as it supports SLO
>>>
>>> JASON
>>>
>>> _______________________________________________
>>> midPoint mailing list
>>> midPoint at lists.evolveum.com
>>> http://lists.evolveum.com/mailman/listinfo/midpoint
>>>
>>>
>>
>> _______________________________________________
>> midPoint mailing list
>> midPoint at lists.evolveum.com
>> http://lists.evolveum.com/mailman/listinfo/midpoint
>>
>>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20171002/dd2da9ab/attachment.htm>
More information about the midPoint
mailing list