Class TokenAuthAuthorizeManager

java.lang.Object
net.sourceforge.plantuml.security.authentication.token.TokenAuthAuthorizeManager
All Implemented Interfaces:
SecurityAuthorizeManager

public class TokenAuthAuthorizeManager extends java.lang.Object implements SecurityAuthorizeManager
The TokenAuthAuthorizeManager creates the authentication on the fly from the credentials without any access to other services.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates from the credentials the authentication object to access an endpoint.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TokenAuthAuthorizeManager

      public TokenAuthAuthorizeManager()
  • 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.
      Specified by:
      create in interface SecurityAuthorizeManager
      Parameters:
      credentials - the configured credentials
      Returns:
      the authentication object.