Interface SecurityAuthorizeManager
- All Known Implementing Classes:
AbstractOAuth2AccessAuthorizeManager
,BasicAuthAuthorizeManager
,OAuth2ClientAccessAuthorizeManager
,OAuth2ResourceOwnerAccessAuthorizeManager
,SecurityDefaultNoopAuthorizeManager
,TokenAuthAuthorizeManager
public interface SecurityAuthorizeManager
Creates from credentials a
SecurityAuthentication
object or authorize
as principal to retrieve an authentication object.-
Method Summary
Modifier and TypeMethodDescriptioncreate
(SecurityCredentials credentials) Creates from the credentials the authentication object to access an endpoint.
-
Method Details
-
create
Creates from the credentials the authentication object to access an endpoint. If the credentials defines a principal (e.g. in OAuth2), the create method should authorize the principal and get the final authentication data to access an endpoint.- Parameters:
credentials
- the configured credentials- Returns:
- the authentication object.
-