Interface SecurityAuthorizeManager
-
- All Known Implementing Classes:
AbstractOAuth2AccessAuthorizeManager,BasicAuthAuthorizeManager,OAuth2ClientAccessAuthorizeManager,OAuth2ResourceOwnerAccessAuthorizeManager,SecurityDefaultNoopAuthorizeManager,TokenAuthAuthorizeManager
public interface SecurityAuthorizeManagerCreates from credentials aSecurityAuthenticationobject or authorize as principal to retrieve an authentication object.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SecurityAuthenticationcreate(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.
-
-