Class BasicAuthAuthorizeManager
- java.lang.Object
-
- net.sourceforge.plantuml.security.authentication.basicauth.BasicAuthAuthorizeManager
-
- All Implemented Interfaces:
SecurityAuthorizeManager
public class BasicAuthAuthorizeManager extends Object implements SecurityAuthorizeManager
TheBasicAuthAuthorizeManager
creates the authentication on the fly from the credentials without any access to other services.- Author:
- Aljoscha Rittner
-
-
Constructor Summary
Constructors Constructor Description BasicAuthAuthorizeManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityAuthentication
create(SecurityCredentials credentials)
Creates from the credentials the authentication object to access an endpoint.
-
-
-
Method Detail
-
create
public SecurityAuthentication create(SecurityCredentials credentials)
Description copied from interface:SecurityAuthorizeManager
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.- Specified by:
create
in interfaceSecurityAuthorizeManager
- Parameters:
credentials
- the configured credentials- Returns:
- the authentication object.
-
-