Class OAuth2ClientAccessAuthorizeManager

java.lang.Object
net.sourceforge.plantuml.security.authentication.oauth.AbstractOAuth2AccessAuthorizeManager
net.sourceforge.plantuml.security.authentication.oauth.OAuth2ClientAccessAuthorizeManager
All Implemented Interfaces:
SecurityAuthorizeManager

public class OAuth2ClientAccessAuthorizeManager extends AbstractOAuth2AccessAuthorizeManager
Authorize the principal (from SecurityCredentials and creates a SecurityAuthentication object with a bearer token secret.
  • Constructor Details

    • OAuth2ClientAccessAuthorizeManager

      public OAuth2ClientAccessAuthorizeManager()
  • Method Details

    • 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.
      Parameters:
      credentials - the configured credentials
      Returns:
      the authentication object.