Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB.NET
-->
-
- <!-- The master configuration file for this Spring web application
-->
 
- <!-- SSO Filter Start
-->
-
CAS Filter
com.csc.fsg.pcdSecurity.filter.CASFilter
-
edu.yale.its.tp.cas.client.filter.loginUrl
- <!-- URL for login
-->
http://20.15.81.224:9080/sso/login
- <!-- URL for load balancing login
-->

- <!-- Secondary Server Support - Start
-->
-
com.csc.fsg.pcidsecurity.filter.secServerParamName


-
com.csc.fsg.pcidsecurity.filter.loginUrl2
http://COMPNAME2:8080/CONTEXTNAME2/login

- <!-- Secondary Server Support - End
-->
- <!--
xmltag
user


-->
-
com.csc.fsg.pcidsecurity.logoutUrl
- <!-- URL for logout
-->
http://20.15.81.224:9080/sso/logout

-
com.csc.fsg.pcidsecurity.inactivityTimeout
- <!-- Inactivity timeout value in seconds
-->
7200

 


 

I have to update 20.15.81.224:9080 value
value with user entered value but problem is this whenever i generate this xml again this value become different like 10.10.81.224:9081 this is the ip address of server where application deployed i cannot hardcode this value in search crirtia even i cannot search on <<param-value> it can have different value also other than url
pleae help to update this value with user enetered value
Posted 28-Feb-13 0:01am
Comments
Rahul Dhoble at 28-Feb-13 8:04am
   
Is this in any file ?
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Create VB.net code for below algorithm
 
--Need to do Manually only one time
1) Locate that file where you have this XML and copy your server IP Address and add this is DESCRIPTION of file
 
--Need to write code for this
2) Read DESCRIPTION of file and that will be your server IP address which is there in XML
3) Read XML data
4) Read Server IP address provided by user
5) Find and replace "DESCRIPTION" value with "USER provided" value.
6) Write USER provided server ip address in DESCRIPTION of file
7) close file connection
 

Hope this helps
--RDBurmon
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

I am not able to get the solution can u more ellaborate with examples
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 395
1 George Jonsson 349
2 CPallini 335
3 BillWoodruff 314
4 OriginalGriff 227
0 OriginalGriff 5,030
1 CPallini 4,225
2 Sergey Alexandrovich Kryukov 3,604
3 George Jonsson 2,831
4 Gihan Liyanage 2,386


Advertise | Privacy | Mobile
Web01 | 2.8.140916.1 | Last Updated 28 Feb 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100