Search:

Type: Posts; User: jrod; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. OK, I think I found the answer. My first attempt...

    OK, I think I found the answer. My first attempt extended ResourceOwnerPasswordTokenGranter.getOAuth2Authentication(), but I abandoned this after realizing that the chain of TokenGranters is...
  2. Got it, thanks.

    Got it, thanks.
  3. Yes, viewing the Dependency Hierarchy of my...

    Yes, viewing the Dependency Hierarchy of my pom.xml in STS verifies that config-3.1.3.RELEASE is on my classpath (5339).

    The following code results in two deprecation messages:
    (1) Referenced...
  4. granting token in password flow using group-based access

    From all the examples I've seen, it looks like the typical scenario in password flow is to always issue a token to an authenticated user and let subsequent requests to protected resources dictate...
  5. I upgraded to: Spring 3.1.1.RELEASE Spring...

    I upgraded to:

    Spring 3.1.1.RELEASE
    Spring Security 3.1.3.RELEASE
    Spring Security OAuth 1.0.0.RELEASE

    and I still receive the deprecated warnings. Why could that be?
  6. Similar to the original post in this thread, how...

    Similar to the original post in this thread, how can I configure <ldap-authentication-provider> to load my custom authorities mapper?

    Basically, given THIS:...
  7. Replies
    1
    Views
    438

    So after spending some time looking through the...

    So after spending some time looking through the classes and their respective unit tests, I think MapBasedAttributes2GrantedAuthoritiesMapper would best fit my use case of mapping LDAP groups to...
  8. Replies
    1
    Views
    438

    mapping LDAP groups to roles

    I'm trying to fit Spring Security onto our LDAP environment with pre-existing users/groups for a typical role-based scenario. I cannot change the naming scheme for these users/groups. Also, in...
  9. Replies
    2
    Views
    378

    Did you wind up opening a JIRA issue for this? ...

    Did you wind up opening a JIRA issue for this? If so, could you provide the link? I think this would be a great addition.
  10. Replies
    1
    Views
    303

    lifetime of authorization codes

    Per section 10.5 (Authorization Codes) of the OAuth2 spec:



    In debugging the sparklr-tonr example, it's apparent that the code is stored in-memory when the resource owner grants authorization...
  11. Ah ok, I see what you're suggesting. That would...

    Ah ok, I see what you're suggesting. That would work as a POC, but, as you state, not in an enterprise context. Any recommendations on a good OAuth2 framework for iOS?
  12. Not sure if it matters, but I believe the filter...

    Not sure if it matters, but I believe the filter definition should be placed before the servlet definition.
  13. OK, so what's the preferred way for password...

    OK, so what's the preferred way for password grants?
  14. Replies
    7
    Views
    684

    My apologies in advance, but I'm not sure why...

    My apologies in advance, but I'm not sure why this would be the case. Going back slightly, if I understand the spec correctly, the auth code and implicit flows are nearly identical up to the point...
  15. bug in resource owner password credentials flow?

    Using a similar setup to my implicit flow forum post, I encounter the following error with "password" flow:



    error="access_denied", error_description="Unable to obtain a new access token for...
  16. Replies
    7
    Views
    684

    Yes, that is my reasoning. I've created...

    Yes, that is my reasoning. I've created SECOAUTH-331 to track this issue.



    Similar to how sparklr does it, i.e., form-based auth, per the implicit flow example in tonr2/demo.html



    Good...
  17. Replies
    7
    Views
    684

    Got it. On reviewing my implementation of the...

    Got it. On reviewing my implementation of the authentication code flow, I see that indeed it is the OAuth2RestTemplate which suggests the redirect to the user agent upon receiving a 401 from the...
  18. Replies
    7
    Views
    684

    trouble configuring implicit flow

    I've implemented a rudimentary resource server, auth server, and client inspired by the sparklr/tonr examples, but with separate auth server and resource server implementations. I'm trying to...
  19. Replies
    2
    Views
    424

    OK thanks. I've opened SECOAUTH-318...

    OK thanks. I've opened SECOAUTH-318 to track this issue.
  20. Replies
    10
    Views
    769

    Understood. I don't have an opinion either on...

    Understood. I don't have an opinion either on which database is best; I'm just looking for a solution to the clustering problem. That being said, I'll try my hand at a JDBC-based approach and see...
  21. Replies
    2
    Views
    424

    sparklr2 admin endpoints restricted to POST?

    After doing the OAuth dance in tonr/sparklr with "marissa", I try to access the admin endpoints (using Chrome/Simple REST Client) by passing her access token, like so:



    GET...
  22. Replies
    10
    Views
    1,047

    Ok, I get it. I realize that I'm overthinking...

    Ok, I get it. I realize that I'm overthinking this problem. Thanks for your help!
  23. Replies
    10
    Views
    769

    I don't think I understand. If...

    I don't think I understand. If SessionAttributeStore is the way to go, how else might I achieve the goal of storing state between the initial auth request and the code or token grant in an clustered...
  24. Replies
    1
    Views
    393

    Thinking about it some more, I see how this error...

    Thinking about it some more, I see how this error would occur. The auth and resource servers run in different JVMs and have no way to exchange token store metadata with in-memory implementations. ...
  25. Replies
    1
    Views
    393

    invalid access token

    I've implemented a rudimentary resource server, auth server, and client inspired by the sparklr/tonr examples, but with separate auth server and resource server implementations.

    After approving...
Results 1 to 25 of 39
Page 1 of 2 1 2