Actually, I changed the dataType to 'json' and used ClientCredentialsTokenEndpointFilter and seems like it is working :)
But, I think the problem still remains if we want to send the...
Type: Posts; User: shahbazi; Keyword(s):
Actually, I changed the dataType to 'json' and used ClientCredentialsTokenEndpointFilter and seems like it is working :)
But, I think the problem still remains if we want to send the...
Hi
I am trying to develop a mobile app HTML5 + jQuery (PhoneGap) using OAuth2 Authentication.
The problem is that you can not set the header through jsonp calls, then the...
I was looking for simple SSO solution with SS OAuth2.
Thanks for sharing
I am thinking to use @Before advice similar to
@Before("execution(* org.springframework.security.oauth2.client.http.OAuth2ClientHttpRequestFactory.createRequest(..))")
Then use an implementation...
Hi
I am trying to use OAuth2RestTemplate and call my resource server from my a spring batch job.
Since I don't have access to OAuth2ClientContextFilter to get the access token, is there any...
I am not sure, but I am think there is bug in line 53
of OAuth2AuthenticationProcessingFilter request.getParameter(OAuth2AccessToken.ACCESS_TOKEN)
can not read the access token from request while...
Are you saying I asked for http://localhost:8080/api/photos#access_token?
Why it isn't ? in the uri?
Hi
I am having problem url redirect address after a successful authorization.
The redirect address has # instead of ?
Is this a bug in
AuthorizationEndpoint.appendAccessToken
...
Thanks Dave
This helped to resolve the problem.
I know the password (client_credentials) is not the recommended solution (even FB doesn't support the password grant type). But we are using the...
I noticed that the TokenEndpoint has changed and /oauth/token requires that client needs authenticate in order to call this endpoint.
Now, I am wondering how the grant_type of password or...
for usecase 2,
1) for case of web applications, IMHO, it is not a good practice to hard code the site names (e.g testdomain.com, m.testdomain.com) into the web application. may this is fine for web...
Currently, the StandardSiteUrlFactory class doesn't append the query parameter into the newly created url!
Another suggestion, Add new attribute (e.g. mParameter,mParamValue) to the...
Do you think the <context:component-scan base-package="bigbank.web" /> is not registering our controller into application context?
The provided tutorial.zip was enhancing Spring Security's...
I took tutorial application from SVN and add another controller has ShowAccount
and one method called myAccount as:
@Controller(value = "showAccount")
@RequestMapping("/showAccount.html")...
Do you know what jar file holds org.springframework.security.annotation.SecurityAnnotationAttributes?
Actually we turned off allowRawInjectionDespiteWrapping by using GenericApplicationContext and setting setAllowRawInjectionDespiteWrapping to true
like this:
DefaultListableBeanFactory xbf =...
I had same problem TOO. I was using annotation based transaction mgmt strategy. I had @Transactional in my service interfaces.
The missing peace was :
@Transactional(readOnly = false,...
Thanks for reply,
Since our goal is not to expose any framework dependency into our code,
I thought the Acegi might have mechanism like spring2's session scope bean, which returns instance of...
I am wondering how we could inject the user object (implements UserDetails) into a bean?
An Order object has an instance of user, I want to container automatically injects user (principal) into my...
I had the same problem. I notice two things:
1) I was using extends AbstractTransactionalDataSourceSpringContextTests
So, I changed it into regular TestCase
2) I Mocked request and session...