SECOAUTH-285: Created OAuth2ExpressionParser that automatically wraps a ... #41

Closed
wants to merge 1 commit into
from

Projects

None yet

1 participant

@rwinch
Member
rwinch commented Jun 15, 2012

...Spring Expression with a method that provides meaningful errors.

This allows Spring Security OAuth to check for errors and throw Excepions when an error occurs while ensuring that the exception is only thrown when necessary. For example, if an expression has an or statment we do not want to throw the Exception if only part of the expression is false.

@rwinch rwinch SECOAUTH-285: Created OAuth2ExpressionParser that automatically wraps…
… a Spring Expression with a method that provides meaningful errors.

This allows Spring Security OAuth to check for errors and throw Excepions when an error occurs while ensuring that the exception is only
thrown when necessary. For example, if an expression has an or statment we do not want to throw the Exception if only part of the expression is false.
fba9cd9
@rwinch

I thought this might be better name as it explains what it does and it will open up to allowing throwing an Exception for other reasons.

@rwinch rwinch added a commit that closed this pull request Mar 31, 2014
@rwinch @dsyer rwinch + dsyer Created OAuth2ExpressionParser that automatically wraps a Spring Expr…
…ession

... with a method that provides meaningful errors.

This allows Spring Security OAuth to check for errors and throw Excepions when an error occurs
while ensuring that the exception is only thrown when necessary. For example, if an expression
has an or statment we do not want to throw the Exception if only part of the expression is false.

Fixes gh-41, Fixes gh-118
ef27402
@rwinch rwinch closed this in ef27402 Mar 31, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment