Class SecurityAuthentication

java.lang.Object
net.sourceforge.plantuml.security.authentication.SecurityAuthentication
All Implemented Interfaces:
SecurityCredentialsContainer

public class SecurityAuthentication extends Object implements SecurityCredentialsContainer
The authentication to access an endpoint. This information will be generated by a SecurityAuthenticationInterceptor.
  • Constructor Details

  • Method Details

    • getType

      public String getType()
    • getShape

      public String getShape()
    • getGrantType

      public String getGrantType()
    • isPublic

      public boolean isPublic()
      Requests the state of this authentication.
      Returns:
      true, if we have no authentication.
    • getTokens

      public Map<String,Object> getTokens()
    • eraseCredentials

      public void eraseCredentials()
      Description copied from interface: SecurityCredentialsContainer
      Get called, if the secret information should be erased.
      Specified by:
      eraseCredentials in interface SecurityCredentialsContainer