[Dev] [IS] Destination validation for Authentication Request failed

2015-03-19 Thread Thilini Cooray
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 : thili...@wso2.com

WSO2 Inc. www.wso2.com
lean.enterprise.middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS] Destination validation for Authentication Request failed

2015-03-19 Thread Chamin Nalinda
Hi,

I reckon the pash is tomcat_home/webapps/travelocity.com/WEB-INF.

On Thu, Mar 19, 2015 at 3:43 PM, Thilini Cooray thili...@wso2.com 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 chm...@gmail.com wrote:

 Hi Thilini,

 Try changing the following in WEB-INF file in the Travelocity app inside
 Tomcat.

 init-param
 param-nameIdpUrl/param-name
 param-valuehttps://localhost:*9444*
 /samlsso/param-value
  /init-param

 On Thu, Mar 19, 2015 at 3:16 PM, Thilini Cooray thili...@wso2.com
 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 : thili...@wso2.com

 WSO2 Inc. www.wso2.com
 lean.enterprise.middleware

 ___
 Dev mailing list
 Dev@wso2.org
 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 : thili...@wso2.com

 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
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS] Destination validation for Authentication Request failed

2015-03-19 Thread Chamin Nalinda
Hi Thilini,

Try changing the following in WEB-INF file in the Travelocity app inside
Tomcat.

init-param
param-nameIdpUrl/param-name
param-valuehttps://localhost:*9444*
/samlsso/param-value
 /init-param

On Thu, Mar 19, 2015 at 3:16 PM, Thilini Cooray thili...@wso2.com 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 : thili...@wso2.com

 WSO2 Inc. www.wso2.com
 lean.enterprise.middleware

 ___
 Dev mailing list
 Dev@wso2.org
 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/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS] Destination validation for Authentication Request failed

2015-03-19 Thread Lasitha Wattaladeniya
Hi thilini/manorama,

please find the inline comments.

On Thu, Mar 19, 2015 at 4:02 PM, Manorama Perera manor...@wso2.com 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 chm...@gmail.com 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 thili...@wso2.com
 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 chm...@gmail.com
 wrote:

 Hi Thilini,

 Try changing the following in WEB-INF file in the Travelocity app
 inside Tomcat.

 init-param
 param-nameIdpUrl/param-name
 param-valuehttps://localhost:*9444*
 /samlsso/param-value
  /init-param

 On Thu, Mar 19, 2015 at 3:16 PM, Thilini Cooray thili...@wso2.com
 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 : thili...@wso2.com

 WSO2 Inc. www.wso2.com
 lean.enterprise.middleware

 ___
 Dev mailing list
 Dev@wso2.org
 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 : thili...@wso2.com

 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
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Manorama Perera
 Software Engineer
 WSO2, Inc.;  http://wso2.com/
 Mobile : +94716436216

 ___
 Dev mailing list
 Dev@wso2.org
 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
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS] Destination validation for Authentication Request failed

2015-03-19 Thread Thilini Cooray
Hi Dhanushka,

There are no error logs.
I only get the mentioned warning.

Thanks.

On Thu, Mar 19, 2015 at 3:28 PM, Danushka Fernando danush...@wso2.com
wrote:

 What are the error logs in backend?

 Thanks  Regards
 Danushka Fernando
 Software Engineer
 WSO2 inc. http://wso2.com/
 Mobile : +94716332729

 On Thu, Mar 19, 2015 at 3:16 PM, Thilini Cooray thili...@wso2.com 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 : thili...@wso2.com

 WSO2 Inc. www.wso2.com
 lean.enterprise.middleware

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev





-- 
Best Regards,

*Thilini Cooray*
Software Engineer
Mobile : +94 (0) 774 570 112 %2B94%20%280%29%20773%20451194
E-mail : thili...@wso2.com

WSO2 Inc. www.wso2.com
lean.enterprise.middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS] Destination validation for Authentication Request failed

2015-03-19 Thread Danushka Fernando
What are the error logs in backend?

Thanks  Regards
Danushka Fernando
Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729

On Thu, Mar 19, 2015 at 3:16 PM, Thilini Cooray thili...@wso2.com 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 : thili...@wso2.com

 WSO2 Inc. www.wso2.com
 lean.enterprise.middleware

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS] Destination validation for Authentication Request failed

2015-03-19 Thread Thilini Cooray
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 chm...@gmail.com wrote:

 Hi Thilini,

 Try changing the following in WEB-INF file in the Travelocity app inside
 Tomcat.

 init-param
 param-nameIdpUrl/param-name
 param-valuehttps://localhost:*9444*
 /samlsso/param-value
  /init-param

 On Thu, Mar 19, 2015 at 3:16 PM, Thilini Cooray thili...@wso2.com 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 : thili...@wso2.com

 WSO2 Inc. www.wso2.com
 lean.enterprise.middleware

 ___
 Dev mailing list
 Dev@wso2.org
 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 : thili...@wso2.com

WSO2 Inc. www.wso2.com
lean.enterprise.middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS] Destination validation for Authentication Request failed

2015-03-19 Thread Manorama Perera
Hi Thilini,

Try configuring the following in product-home/repository/conf/identity.xml

IdentityProviderURL*https://localhost:9443/samlsso
https://localhost:9443/samlsso*/IdentityProviderURL

Thanks.

On Thu, Mar 19, 2015 at 3:55 PM, Chamin Nalinda chm...@gmail.com 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 thili...@wso2.com 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 chm...@gmail.com wrote:

 Hi Thilini,

 Try changing the following in WEB-INF file in the Travelocity app inside
 Tomcat.

 init-param
 param-nameIdpUrl/param-name
 param-valuehttps://localhost:*9444*
 /samlsso/param-value
  /init-param

 On Thu, Mar 19, 2015 at 3:16 PM, Thilini Cooray thili...@wso2.com
 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 : thili...@wso2.com

 WSO2 Inc. www.wso2.com
 lean.enterprise.middleware

 ___
 Dev mailing list
 Dev@wso2.org
 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 : thili...@wso2.com

 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
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Manorama Perera
Software Engineer
WSO2, Inc.;  http://wso2.com/
Mobile : +94716436216
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev