kaleidos / grails-security-stateless

Grails plugin to implement stateless authentication using Spring Security
Apache License 2.0
17 stars 8 forks source link

Added configuration for optional response status #24

Closed Alotor closed 9 years ago

Alotor commented 9 years ago

I need to return different response codes to distinguish between a "wrong" token and an expired token.

This PR makes possible to configure this special response code. Adds a new configuration that if not present will retrieve a 401 response code but if present will return the configured one.