Hi James, pls excuse the long thread.

I am ambitiously venturing into the Android world.

I want to create a simple Apache-HttpClient for pebble on so-called Ice 
Cream Sandwich.

Of course the first task to solve is the login: both the normal Spring 
Security and the OpenID.

The problem I'm facing is the Apache HttpClient post I'm creating using 
the Android SDK apparently is failing (404).

Has anybody successfully used HttpClient to login to pebble? (Android 
SDK notwithstanding).

My target is to post a blog entry on my pebble instance and if 
successful I would like to put the Android project out to the pebble 
community at large to get more contributions.

Any and all feedback appreciated.

Please advise, David.


On 04/08/2012 01:39 PM, James Roper wrote:
> Hi David,
>
> Which version did you upgrade from?  I don't think it should have
> forgotten your user details... anyway.  Are there any specific OpenID
> providers that you use?  I implemented the OpenID signon feature
> partly as a learning exercise for myself to understand OpenID.  I
> myself wanted to use it with Google, so I added the built in Google
> option.  But I haven't got any feedback from anyone about wanting to
> use other providers.
>
> Cheers,
>
> James
>
> On 8 April 2012 19:13, David Brown <[email protected]> wrote:
>> Hello James, please ignore the previous email comments.
>>
>> Basically, the wrong WEB-IN/lib !
>>
>> Sorry about the noise.
>>
>> Regards, David.
>>
>>
>> On Sun, 2012-04-08 at 11:26 -0500, David Brown wrote:
>>> Hello James, thanks for this little trick.
>>>
>>> I will put this in the toolbox.
>>>
>>> As it turned out I suspect because of the all-new upgrade to 2.6.2 I
>>> also got a new default username in the properties file.
>>>
>>> I tried the default password and it let me in.
>>>
>>> I of course was able to recreate my old usename and the exported .zip
>>> restored all of my old entries after one year just as if I had never
>>> gone offline.
>>>
>>> Thanks to the Pebble community!
>>>
>>> BTW: I now have an unusual issue with this error:
>>>
>>> ***************************************************************
>>> Error while starting e-mail subscription listener - add mail.jar and
>>> activation.jar to the server classpath if you want to enable this
>>> listener.
>>> ***************************************************************
>>>
>>> I ran a find on the Tomcat directory at (dot) . and this is what was
>>> returned:
>>>
>>> ***************************************************************
>>> ./webapps/WEB-INF/lib/activation.jar
>>> ./webapps/WEB-INF/lib/mail.jar
>>> ***************************************************************
>>>
>>> Please advise, David.
>>>
>>>
>>> On Sun, 2012-04-08 at 14:20 +0200, James Roper wrote:
>>>> Hi David,
>>>>
>>>> To change your password via the command line, you first need to
>>>> generate a password hash.  This can be done by running:
>>>>
>>>> echo -n 'yournewpassword{yourusername}' | openssl dgst -sha1
>>>>
>>>> for example, for username "james" and password "abc123":
>>>>
>>>> echo -n 'abc123{james}' | openssl dgst -sha1
>>>>
>>>> That will produce something like this:
>>>>
>>>> (stdin)= fc1c32f46e7b64df8d5ff8014d1c23d3b71612ef
>>>>
>>>> Then, in the file $PEBBLEHOME/realm/yourusername.properties, there is
>>>> a password property.  Replace the value with the hex number above, eg,
>>>> in james.properties:
>>>>
>>>> password=fc1c32f46e7b64df8d5ff8014d1c23d3b71612ef
>>>>
>>>> Cheers,
>>>>
>>>> James
>>>>
>>>> On 7 April 2012 23:26, David Brown <[email protected]> wrote:
>>>>> Hey Olaf, James and Pebblers, after a couple of years with my pebble off
>>>>> the server I recently found my old entries exported as a .zip.
>>>>>
>>>>> Congrats to all. The export .zip works perfectly with the new 2.6.2. All
>>>>> entries appear to be in place.
>>>>>
>>>>> The only gotcha is after the past 2 or 3 years w/o logging in I have
>>>>> forgotten my password and though the new 2.6.2 has the modern login with
>>>>> OpenID and Google I would rather avoid that approach.
>>>>>
>>>>> I have my new Pebble on a so-called cloud slice with ssh access.
>>>>>
>>>>> Is there some hack or direct option I can invoke to change the password
>>>>> at the shell command-line?
>>>>>
>>>>> The particulars follow.
>>>>>
>>>>> Thanks in advance and please advise, David.
>>>>>
>>>>> **********************************************************************
>>>>> Pebble: 2.6.2
>>>>> Tomcat: 6.0.29
>>>>> JDK: 1.6.0_26
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> For Developers, A Lot Can Happen In A Second.
>>>>> Boundary is the first to Know...and Tell You.
>>>>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>>>>> http://p.sf.net/sfu/Boundary-d2dvs2
>>>>> _______________________________________________
>>>>> Pebble-user mailing list
>>>>> [email protected]
>>>>> https://lists.sourceforge.net/lists/listinfo/pebble-user
>>>> ------------------------------------------------------------------------------
>>>> For Developers, A Lot Can Happen In A Second.
>>>> Boundary is the first to Know...and Tell You.
>>>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>>>> http://p.sf.net/sfu/Boundary-d2dvs2
>>>> _______________________________________________
>>>> Pebble-user mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/pebble-user
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> For Developers, A Lot Can Happen In A Second.
>>> Boundary is the first to Know...and Tell You.
>>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>>> http://p.sf.net/sfu/Boundary-d2dvs2
>>> _______________________________________________
>>> Pebble-user mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/pebble-user
>>
>>
>> ------------------------------------------------------------------------------
>> For Developers, A Lot Can Happen In A Second.
>> Boundary is the first to Know...and Tell You.
>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>> http://p.sf.net/sfu/Boundary-d2dvs2
>> _______________________________________________
>> Pebble-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/pebble-user
> ------------------------------------------------------------------------------
> For Developers, A Lot Can Happen In A Second.
> Boundary is the first to Know...and Tell You.
> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> http://p.sf.net/sfu/Boundary-d2dvs2
> _______________________________________________
> Pebble-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pebble-user



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Pebble-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pebble-user

Reply via email to