Interface SecurityAuthorizeManager
-
- All Known Implementing Classes:
AbstractOAuth2AccessAuthorizeManager
,BasicAuthAuthorizeManager
,OAuth2ClientAccessAuthorizeManager
,OAuth2ResourceOwnerAccessAuthorizeManager
,SecurityDefaultNoopAuthorizeManager
,TokenAuthAuthorizeManager
public interface SecurityAuthorizeManager
Creates from credentials aSecurityAuthentication
object or authorize as principal to retrieve an authentication object.- Author:
- Aljoscha Rittner
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SecurityAuthentication
create(SecurityCredentials credentials)
Creates from the credentials the authentication object to access an endpoint.
-
-
-
Method Detail
-
create
SecurityAuthentication create(SecurityCredentials credentials)
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.
-
-