Package | Description |
---|---|
com.sap.cloud.security.oauth2 |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
OAuthAuthorization.isAuthorized(HttpServletRequest httpRequest)
This method is only for authentication purpose with the given Access Token.
|
abstract boolean |
OAuthAuthorization.isAuthorized(HttpServletRequest httpRequest,
Set<String> scopes)
Performs the protected resource access check by retrieving from the
Authorization Server the scopes associated with the given Access Token,
compares them with the passed scopes and checks the Token validity.
|
abstract boolean |
OAuthAuthorization.isAuthorized(HttpServletRequest httpRequest,
String scope)
Performs the protected resource access check by retrieving from the
Authorization Server the scopes associated with the given Access Token,
compares them with the passed scopes and checks the Token validity.
|
abstract boolean |
OAuthAuthorization.isAuthorized(Set<String> scopes)
Performs the protected resource access check by retrieving
the scopes from the currently logged in user and comparing
them with the passed scopes.
|
abstract boolean |
OAuthAuthorization.isAuthorized(String scope)
Performs the protected resource access check by retrieving
the scopes from the currently logged in user and comparing
them with the passed scope.
|
Copyright © 2022 SAP. All rights reserved.