mitreid-connect
|
公開メンバ関数 | |
boolean | isApproved (AuthorizationRequest authorizationRequest, Authentication userAuthentication) |
AuthorizationRequest | checkForPreApproval (AuthorizationRequest authorizationRequest, Authentication userAuthentication) |
AuthorizationRequest | updateAfterApproval (AuthorizationRequest authorizationRequest, Authentication userAuthentication) |
Map< String, Object > | getUserApprovalRequest (AuthorizationRequest authorizationRequest, Authentication userAuthentication) |
非公開メンバ関数 | |
void | setAuthTime (AuthorizationRequest authorizationRequest) |
非公開変数類 | |
ApprovedSiteService | approvedSiteService |
WhitelistedSiteService | whitelistedSiteService |
ClientDetailsService | clientDetailsService |
SystemScopeService | systemScopes |
Custom User Approval Handler implementation which uses a concept of a whitelist, blacklist, and greylist.
Blacklisted sites will be caught and handled before this point.
Whitelisted sites will be automatically approved, and an ApprovedSite entry will be created for the site the first time a given user access it.
All other sites fall into the greylist - the user will be presented with the user approval page upon their first visit
|
inline |
Check if the user has already stored a positive approval decision for this site; or if the site is whitelisted, approve it automatically.
Otherwise the user will be directed to the approval page and can make their own decision.
authorizationRequest | the incoming authorization request |
userAuthentication | the Principal representing the currently-logged-in user |
|
inline |
|
inline |
Check if the user has already stored a positive approval decision for this site; or if the site is whitelisted, approve it automatically.
Otherwise, return false so that the user will see the approval page and can make their own decision.
authorizationRequest | the incoming authorization request |
userAuthentication | the Principal representing the currently-logged-in user |
|
inlineprivate |
Get the auth time out of the current session and add it to the auth request in the extensions map.
authorizationRequest |
|
inline |
|
private |
|
private |
|
private |
|
private |