You can see what URL you've configured your CAS client to tell CAS by
looking at the service parameter on the /login url.

-Scott

-Scott Battaglia
PGP Public Key Id: 0x383733AA
LinkedIn: http://www.linkedin.com/in/scottbattaglia


On Sun, Aug 17, 2008 at 5:08 PM, Sandor Nemeth <[EMAIL PROTECTED]
> wrote:

> Ok, thanks for the help you provided me.
>
> I'll keep trying, I have some ideas to try.
>
> If somehow I can make this configuration work, I'll write a case study
> about this and submit it to you.
>
> Thanks a lot again.
>
> Regards,
> Sandor Nemeth
>
>
> On Sun, Aug 17, 2008 at 10:55 PM, Scott Battaglia <
> [EMAIL PROTECTED]> wrote:
>
>> I can't go into any details because I'm not at your location.  However, if
>> you're being redirect by CAS back to an HTTP url, then that's what you're
>> providing to CAS.  CAS doesn't change any of the URLs.
>>
>> If you're not getting errors in the Services Management tool under HTTP
>> but you are with HTTPS services then you've probably configured the
>> application to only be authorized under HTTP.
>>
>> You need to look at the URLs you are configuring.
>>
>> -Scott
>>
>> -Scott Battaglia
>> PGP Public Key Id: 0x383733AA
>> LinkedIn: http://www.linkedin.com/in/scottbattaglia
>>
>>
>>
>> On Sun, Aug 17, 2008 at 10:46 AM, Sandor Nemeth <
>> [EMAIL PROTECTED]> wrote:
>>
>>> Can you go details in both answers?
>>>
>>> As for the loop: I use the Soulwing client configured exactly as
>>> described on http://soulwing.org/jira-cas.jsp. I figured out, that this
>>> loop error only exists when I use HTTPS on the CAS side. If I do not use
>>> HTTPS, the following happens:
>>>
>>> If I use HTTPS on JIRA's side, the CAS server redirects me after
>>> successful login to HTTP, not HTTPS.
>>> If I use HTTP on JIRA's side, everything goes as expected.
>>>
>>> As for the service management tool, if I do not use HTTPS, everything
>>> works correctly and as expected.
>>> If I use HTTPS, I'm still getting those not authorized errors.
>>>
>>> I'm getting a little confused about it for now.
>>>
>>> Any ideas about this? Thanks in advance.
>>>
>>> Regards,
>>> Sandor Nemeth
>>>
>>>
>>> On Sun, Aug 17, 2008 at 2:53 PM, Scott Battaglia <
>>> [EMAIL PROTECTED]> wrote:
>>>
>>>> If you clear out the services and you're getting into a loop with JIRA
>>>> that most likely means that the CAS client you're using with JIRA is
>>>> mis-configured.
>>>>
>>>> As for the Services Management tool, you need to put the URLs in
>>>> correctly.  It either matches exactly or it Ant pattern matches.
>>>>
>>>> -Scott
>>>>
>>>>
>>>>
>>>> On Sun, Aug 17, 2008 at 5:10 AM, Sandor Nemeth <
>>>> [EMAIL PROTECTED]> wrote:
>>>>
>>>>> Hi again,
>>>>>
>>>>> Ok, now I'm going well with SSL. But now I have 2 strange errors I
>>>>> can't deal with:
>>>>>
>>>>> - I picked up with the services management tool 3 services (CAS
>>>>> Management Service, JIRA, Confluence). As I try to authenticate to these
>>>>> applications (calling the proper URL , for example:
>>>>> https://login.mydomain.tld/login?service=https://jira.mydomain.tld) I
>>>>> get the following: "Application Not Authorized to Use CAS"
>>>>> I do not see any exceptions in the debug log, except that "Service [
>>>>> https://jira.mydomain.tld] not found in ServiceRegistry".
>>>>> Same is true with the CAS Management Service, so I'm not able to log in
>>>>> again to the Service Management utility.
>>>>>
>>>>> I'm using MySQL as the service backend, configured properly ( I think,
>>>>> because in the database the services are registered.. :S) This as done
>>>>> following the tutorial found in the CAS Wiki.
>>>>>
>>>>>  - If I clear out the registry, and I try to log in to JIRA for
>>>>> example, I run into a redirect loop. All communications are going by 
>>>>> HTTPS,
>>>>> a proxy server is delivering the requests.
>>>>>
>>>>> What can I do to solve these problems?
>>>>>
>>>>> Thanks in forward.
>>>>>
>>>>> Regards,
>>>>> Sandor Nemeth
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Yale CAS mailing list
>>>>> [email protected]
>>>>> http://tp.its.yale.edu/mailman/listinfo/cas
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> Yale CAS mailing list
>>>> [email protected]
>>>> http://tp.its.yale.edu/mailman/listinfo/cas
>>>>
>>>>
>>>
>>>
>>> --
>>> Sandor Nemeth
>>>
>>> PHP Developer
>>> mobile: +36 30 862 15 47
>>> google talk: sandor.nemeth.1986 [at] gmail [dot] com
>>> msn: praise [at] uw [dot] hu
>>> skype: prez.nemeth
>>> blog: http://phptools-alp.blogspot.com/
>>>
>>> _______________________________________________
>>> Yale CAS mailing list
>>> [email protected]
>>> http://tp.its.yale.edu/mailman/listinfo/cas
>>>
>>>
>>
>> _______________________________________________
>> Yale CAS mailing list
>> [email protected]
>> http://tp.its.yale.edu/mailman/listinfo/cas
>>
>>
>
>
> --
> Sandor Nemeth
>
> PHP Developer
> mobile: +36 30 862 15 47
> google talk: sandor.nemeth.1986 [at] gmail [dot] com
> msn: praise [at] uw [dot] hu
> skype: prez.nemeth
> blog: http://phptools-alp.blogspot.com/
>
> _______________________________________________
> Yale CAS mailing list
> [email protected]
> http://tp.its.yale.edu/mailman/listinfo/cas
>
>
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to