Search:

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

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    317

    Thanks! Not sure why I didn't think of looking in...

    Thanks! Not sure why I didn't think of looking in the Parser :)
  2. Replies
    2
    Views
    317

    OAuth 1.0 Custom Error Responses

    Hi,

    I'm using OAuth 1.0 in a 2-legged configuration and I'm trying to customise the error response sent back to the client.

    There are a number of possible exceptions that can be raised by...
  3. No ideas? :)

    No ideas? :)
  4. Found out how to fix this issue. I added the...

    Found out how to fix this issue. I added the following to the web.xml:



    <servlet-mapping>
    <servlet-name>default</servlet-name>
    <url-pattern>/static/*</url-pattern>...
  5. Using Form-Login the servlet found at / gets run on each request

    Hi everyone,

    I'm having some trouble with the form login and its default target URL behaviour.

    Here is the code which doesn't work as expected:

    applicationContext-security.xml
  6. Hi Rohan, thanks for the response. Setting...

    Hi Rohan, thanks for the response. Setting filters to none is essentially the same as setting security to none in the <http> tag.

    I'd like to maintain the files in jsapp with security.

    To...
  7. JavaScript will only load if located in /static

    Hi,

    I'm coming across a problem when using Spring Security with JavaScript or CSS files.

    I have a project I am building with Maven and have the following structure:

    /static
    /jsapp...
  8. UserAuthorizationProcessingFilter intercepting requests ending in /

    Hi,

    I have two security setups for my web app: one to secure the API using 2-legged OAuth and the other to allow users to log into the admin area.

    When users log into the admin area, the API no...
  9. Hi Rob, thanks for taking your time to answer. ...

    Hi Rob, thanks for taking your time to answer.

    I did a few experiments and it works as expected. After re-reading the documentation it made sense :)
  10. Ok, so I've managed to fix the error I was...

    Ok, so I've managed to fix the error I was getting above. It was due to some of the OAuth dependencies being placed after the Form Login entry in the applicationContext. I re-ordered the elements and...
  11. However, I'm worried with the create-session set...

    However, I'm worried with the create-session set to never. The reason is that there can be users accessing the admin console (which means the session is being used by the application) but I still...
  12. The rest of the log: DEBUG...

    The rest of the log:


    DEBUG [org.springframework.security.web.util.AntPathRequestMatcher] Checking match of request : '/'; against '/v1/**'
    DEBUG...
  13. Hi Rob, Thanks for that. I read the...

    Hi Rob,

    Thanks for that. I read the documentation and it makes sense to use never as it should check for any existing authorization objects.

    However, when I add the "never" I get the following...
  14. Form Login and OAuth (or other authentication) Together

    Hi,

    I have an application which requires two authentication methods: Form Login and 2-Legged OAuth.

    The 2-legged OAuth is used to protect a REST API which resides under the path /v1/ and the...
  15. Thanks, that worked!

    Thanks, that worked!
  16. Hi, Thanks for sharing the code! I'm having...

    Hi,
    Thanks for sharing the code!
    I'm having trouble opening the client code zip file. I keep getting a "not a valid zip" error message.
    Any chance you could upload it again? :)
    Thanks again
Results 1 to 16 of 16