NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Other Clients Old Stuff (legacy) NextPVR Enhanced Web Admin (NEWA) v
« Previous 1 … 15 16 17 18 19 … 47 Next »
WebServices

 
  • 0 Vote(s) - 0 Average
WebServices
fering
Offline

Member

Posts: 105
Threads: 17
Joined: Nov 2005
#1
2011-01-18, 08:10 PM
Hello All,

Back in the day I used to be a Java Programmer. Over the years the amount of actual coding that I've been doing has dropped off to almost nothing.

So in an attempt to prove to myself that I "still got it", I was trying to write a simple Java client for the EWA web services.

I am stuck on Creating Credentials. Can somebody help me out with what is going on in CreateCredetial.cs so I can go off and Google it all and try to come up with a Java implementation?

Thanks!
Joel
Using GB-PVR since December 2005
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#2
2011-01-18, 11:08 PM
In simple terms it is taking a passed in user id and password and loading the authentication object the NEWA is expecting when it gets a web service request. This object contains the user id and password that is defined in the NPVR settings for the web access.

The CreateCredentials has various methods used to encrypt the user id and password and populate the authentication object which is then passed in the soap header when the web service call is made to NEWA. NEWA receives the request, decrypts the object information, validates that the request has not taken too long from original request time and validates the id and password against what is in the NPVR settings.

Creating the credential in Java should be doable.....it was ported over to PHP to support the XBMC interface that Ton created.
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's
fering
Offline

Member

Posts: 105
Threads: 17
Joined: Nov 2005
#3
2011-01-19, 02:33 PM
Thanks UJB. I'll grab the XBMC interface PHP and hopefully that with the .NET example from the wiki, I can figure it out.
Using GB-PVR since December 2005
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  WebServices and credentials wtg 10 5,014 2012-09-06, 03:37 AM
Last Post: wtg

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode