-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #10295 - use ServletChannel states for the security handler dis…
…patch Signed-off-by: Lachlan Roberts <[email protected]>
- Loading branch information
1 parent
e9ab749
commit 8739610
Showing
6 changed files
with
90 additions
and
42 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -270,6 +270,18 @@ public String toString() | |
} | ||
}; | ||
|
||
/** | ||
* Authentication should be deferred, and request allowed to bypass security constraint. | ||
*/ | ||
AuthenticationState DEFER = new AuthenticationState() | ||
{ | ||
@Override | ||
public String toString() | ||
{ | ||
return "DEFER"; | ||
} | ||
}; | ||
|
||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
lachlan-roberts
Author
Contributor
|
||
static Deferred defer(LoginAuthenticator loginAuthenticator) | ||
{ | ||
return new DeferredAuthenticationState(loginAuthenticator); | ||
|
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
Its very confusing all these AuthenticationStates to do with deferment. What's the difference between this one and the
Deferred extends AuthenticationState
a bit further below?