This content has been marked as final.
Show 1 reply
-
1. Re: Is there any way to define IdentityURL,ServiceURL and Domains in some property file instead hardcoding in picketlink.xml
sidde3 Feb 27, 2018 9:55 PM (in response to mksmanjit)You can define IDP and SP URL something like below
~~~
<PicketLink xmlns="urn:picketlink:identity-federation:config:2.1">
<PicketLinkSP xmlns="urn:picketlink:identity-federation:config:2.1"
BindingType="POST"
LogOutPage="/myLogoutPage"
IDPUsesPostBinding="true"
SupportsSignatures="true">
<IdentityURL>${plink.IDPurl}</IdentityURL>
<ServiceURL>${plink.SPurl}</ServiceURL>
~~~
Pass the value of IDP and SP URL using system-property
~~~
<system-properties>
...
<property name="plink.IDPurl" value="https://www.myidp.com"/>
<property name="plink.SPurl" value="https://mysp.com/"/>
~~~
Regards,
Siddhartha