Hi thilini/manorama,

please find the inline comments.

On Thu, Mar 19, 2015 at 4:02 PM, Manorama Perera <[email protected]> wrote:

> Hi Thilini,
>
> Try configuring the following in
> <product-home>/repository/conf/identity.xml
>
> <IdentityProviderURL>*https://localhost:9443/samlsso
> <https://localhost:9443/samlsso>*</IdentityProviderURL>
>

If you need to run the product in port 9444, you should not configure the
<IdentityProviderURL>,instead set the port offset to "1" in carbon.xml
($product_home/repository/conf/carbon.xml)

In your case, change the  SAML.IdPUrl in $CATALINA_HOME//webapps/
travelocity.com/WEB-INF/classes/travelocity.properties to
https://localhost:9444/samlsso as well, if u need to get the saml sso
sample working.


>
> Thanks.
>
> On Thu, Mar 19, 2015 at 3:55 PM, Chamin Nalinda <[email protected]> wrote:
>
>> Hi,
>>
>> I reckon the pash is "<tomcat_home>/webapps/travelocity.com/WEB-INF.
>>
>> On Thu, Mar 19, 2015 at 3:43 PM, Thilini Cooray <[email protected]>
>> wrote:
>>
>>> Hi Chamin,
>>>
>>> Can you please tell me where exactly I can find that configuration?
>>> The web.xml file of Travelocity app does not consist of IdpUrl
>>> parameter.
>>>
>>> Thanks.
>>>
>>> On Thu, Mar 19, 2015 at 3:30 PM, Chamin Nalinda <[email protected]>
>>> wrote:
>>>
>>>> Hi Thilini,
>>>>
>>>> Try changing the following in WEB-INF file in the Travelocity app
>>>> inside Tomcat.
>>>>
>>>> <init-param>
>>>>                         <param-name>IdpUrl</param-name>
>>>>                         <param-value>https://localhost:*9444*
>>>> /samlsso</param-value>
>>>>  </init-param>
>>>>
>>>> On Thu, Mar 19, 2015 at 3:16 PM, Thilini Cooray <[email protected]>
>>>> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I am following the Identity Server 5.0.0 Documentation sample [1].
>>>>> I have changed the default port for IS and now my Identity Server runs
>>>>> on port 9444.
>>>>>
>>>>> When I enter credentials to "login with SAML from Identity Server"
>>>>> for travelocity.com app, I get following warning on the IS console
>>>>>
>>>>> *WARN
>>>>> {org.wso2.carbon.identity.sso.saml.processors.SPInitSSOAuthnRequestProcessor}
>>>>> -  Destination validation for Authentication Request failed. Received:
>>>>> [https://localhost:9444/samlsso <https://localhost:9444/samlsso>].
>>>>> Expected: [https://localhost:9443/samlsso 
>>>>> <https://localhost:9443/samlsso>]*
>>>>>
>>>>> and my browser shows the following
>>>>>
>>>>>
>>>>> ​I have already changed the port to 9444 in travelocity.properties
>>>>> file which is deployed in Apache Tomcat.
>>>>>
>>>>> I would like to know which configurations needs to be changed in a
>>>>> situation where port which Identity Server runs is not 9443 (default 
>>>>> port).
>>>>>
>>>>> [1]
>>>>> https://docs.wso2.com/display/IS500/Configuring+Single+Sign-On+with+SAML+2.0
>>>>>
>>>>> Thank you.
>>>>>
>>>>> --
>>>>> Best Regards,
>>>>>
>>>>> *Thilini Cooray*
>>>>> Software Engineer
>>>>> Mobile : +94 (0) 774 570 112 <%2B94%20%280%29%20773%20451194>
>>>>> E-mail : [email protected]
>>>>>
>>>>> WSO2 Inc. www.wso2.com
>>>>> lean.enterprise.middleware
>>>>>
>>>>> _______________________________________________
>>>>> Dev mailing list
>>>>> [email protected]
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Chamin Nalinda
>>>> Research Undergraduate
>>>> University of Colombo School of Computing (UCSC).
>>>> Student Member IEEE (92387118)
>>>>
>>>> LinkedIn: https://www.linkedin.com/in/chaminnalinda
>>>> GitHub: https://github.com/CoolCK
>>>> SlideShare: http://www.slideshare.net/ChaminNalindaLokuGam/
>>>> Blog: http://techspiro.blogspot.com/
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Best Regards,
>>>
>>> *Thilini Cooray*
>>> Software Engineer
>>> Mobile : +94 (0) 774 570 112 <%2B94%20%280%29%20773%20451194>
>>> E-mail : [email protected]
>>>
>>> WSO2 Inc. www.wso2.com
>>> lean.enterprise.middleware
>>>
>>
>>
>>
>> --
>> Chamin Nalinda
>> Research Undergraduate
>> University of Colombo School of Computing (UCSC).
>> Student Member IEEE (92387118)
>>
>> LinkedIn: https://www.linkedin.com/in/chaminnalinda
>> GitHub: https://github.com/CoolCK
>> SlideShare: http://www.slideshare.net/ChaminNalindaLokuGam/
>> Blog: http://techspiro.blogspot.com/
>>
>>
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Manorama Perera
> Software Engineer
> WSO2, Inc.;  http://wso2.com/
> Mobile : +94716436216
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Lasitha Wattaladeniya
Software Engineer
WSO2, Inc. | http://wso2.com
lean. enterprise. middleware

Mobile : +94719397528
Blog : techreadme.blogspot.com
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to