Answer to my own questions -
RestTemplate's doExecute method calls
finally {
if (response != null) {
response.close();
}
}
Type: Posts; User: kkrikor; Keyword(s):
Answer to my own questions -
RestTemplate's doExecute method calls
finally {
if (response != null) {
response.close();
}
}
Hey guys,
When using MultiThreadedHttpConnectionManager with RestTemplate do we need to release connection as the documentation for HttpClient suggests...
So I have a consumer/client setup based on oauth 2. You say:
Yes, 2-legged OAuth is based on OAuth 1, not OAuth 2. So you have to use the oauth 1 elements defined by the schema at...
Thank you for your reply -
It doesn't seem that the xml you provided is valid in the xsd. http://www.springframework.org/schema/security/spring-security-oauth2.xsd
...
Hello -
I am not sure on how to configure 2-Legged OAuth. The documentation says -
To implement 2-legged OAuth using OAuth for Spring Security, all that is needed is for the provider to...
Is it possible to access the Session object from within InMemoryOAuth2ClientTokenServices ? I want to do that so i can access an attribute inside the session and eventually use the attribute to...
The requirement is that the client application has :
- No username/pass
- Each user who comes to the app will end up with a new session and hence should be able to do the oauth handshake based...
And the natural follow up question. When do you anticipate getting to a stable release ?
Were you guys able to get this to work ?
I am doing the following
Sending a REST request via RestTemplate from Application A to Application B. But Application B does not seem to be processing the request, I do not see any exceptions...
The root cause of the problem was the self signed certificate that I was using. For some reason I don't think that error is bubbling up all the way to the top.
Used this recommendation to fix the...
Hello,
I am experimenting with the tonr2 & sparklr2 libraries :: I created the following setup
- Created an app similar to sparklr2, deployed on machine A under tomcat with a self signed cert....
Hey guys,
I am trying to get the Hello project going and following the steps below
persistence setup --provider DATANUCLEUS --database HYPERSONIC_IN_MEMORY
entity --class...
Hey guys ,
I am trying to apply security to my client web services. but for some reason it seems that the header is always staying empty. Here's what i get when i execute
09/30...
ok , So it seems that the hashing algorithm I need to use is
Digest (Base64) of SHA1
Password : Joe
Nonce : Joe
So i changed the corresponding SOAP message to be as below
Hey guys,
In the Documentation it is said that The SimplePasswordValidationCallbackHandler can handle both plain text passwords as well as password digests.
So here's my setup
...
This is a topic that has been discussed extensively. Yet i don't seem to find a straight answer. Recently added the spring framework to a webapp and started seeing the PermGen space Exception After...
Hey guys,
I am integrating Spring security with our application. I am also using OpenSessionInViewFilter for Hibernate support. Looking in the logs i see the following
12/01 11:20:33...
Hey guys,
I have the following Test object which has it's own editor. In my command object i have Test[] . On the UI I have a set of checkboxs with Test object ids as values .
So naturally...
Thank you for your reply , Yes that worked but one problem with that is : the checkboxes do not stay checked. I am using a AbstractWizardController and going back and forth on the pages is not...
Here's my use case, on the UI I have a list of checkboxes which contain the id's of the objects I am interested in. Now to bind this to the command I use a String[]. So no problem with that.
Now...
Hey guys,
has anyone used dwr to submit spring simpleFormControllers?
Thank you
Sorry for being not clear ,
I am feeding my method a subList of the List that contains 60k items. So i pass the insertData method a list of size 5000. and i keep passing sub lists of 5000 until i...
Thank you guys for the replies.
I can live with sub commits. A quick questions though , Without changing any of my memory settings i was able to get the whole data into the database by dividing...
Yeah my real table name is not called table , And yes once i changed 0,1 parameter indexes to 1,2 that problem was resolved.
Now i do have around 60k records to insert Currently i am getting a...