forked from spring-attic/spring-security-oauth
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
renaming 'verification code' to 'authorization code' to align with oa…
…uth spec terminology
- Loading branch information
1 parent
6cb1b3d
commit b6738e8
Showing
30 changed files
with
275 additions
and
270 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
...g/springframework/security/oauth2/common/exceptions/UserDeniedAuthorizationException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package org.springframework.security.oauth2.common.exceptions; | ||
|
||
/** | ||
* @author Ryan Heaton | ||
*/ | ||
public class UserDeniedAuthorizationException extends OAuth2Exception { | ||
|
||
public UserDeniedAuthorizationException(String msg, Throwable t) { | ||
super(msg, t); | ||
} | ||
|
||
public UserDeniedAuthorizationException(String msg) { | ||
super(msg); | ||
} | ||
|
||
public UserDeniedAuthorizationException(String msg, Object extraInformation) { | ||
super(msg, extraInformation); | ||
} | ||
|
||
@Override | ||
public String getOAuth2ErrorCode() { | ||
return "access_denied"; | ||
} | ||
|
||
} |
25 changes: 0 additions & 25 deletions
25
...rg/springframework/security/oauth2/common/exceptions/UserDeniedVerificationException.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 7 additions & 7 deletions
14
...AuthorizationCodeAuthenticationToken.java → ...AuthorizationCodeAuthenticationToken.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.