java.lang.Object
de.stklcode.jvault.connector.model.response.embedded.AuthMethod
All Implemented Interfaces:
Serializable

public final class AuthMethod extends Object implements Serializable
Embedded authentication method response.
Since:
0.1, 1.1 implements Serializable
Author:
Stefan Kalscheuer
See Also:
  • Constructor Details

    • AuthMethod

      public AuthMethod()
  • Method Details

    • setType

      public void setType(String type)
      Parameters:
      type - Backend type, passed to AuthBackend.forType(String)
    • getType

      public AuthBackend getType()
      Returns:
      Backend type
    • getRawType

      public String getRawType()
      Returns:
      Raw backend type string
    • getAccessor

      public String getAccessor()
      Returns:
      Accessor
      Since:
      1.1
    • getDeprecationStatus

      public String getDeprecationStatus()
      Returns:
      Deprecation status
      Since:
      1.2
    • getDescription

      public String getDescription()
      Returns:
      Description
    • getConfig

      public MountConfig getConfig()
      Returns:
      Configuration data
      Since:
      0.2, 1.2 Returns MountConfig instead of Map
    • isExternalEntropyAccess

      public boolean isExternalEntropyAccess()
      Returns:
      Backend has access to external entropy source
      Since:
      1.1
    • isLocal

      public boolean isLocal()
      Returns:
      Is local backend
    • getOptions

      public Map<String,String> getOptions()
      Returns:
      Options
      Since:
      1.2
    • getPluginVersion

      public String getPluginVersion()
      Returns:
      Plugin version
      Since:
      1.2
    • getRunningPluginVersion

      public String getRunningPluginVersion()
      Returns:
      Running plugin version
      Since:
      1.2
    • getRunningSha256

      public String getRunningSha256()
      Returns:
      Running SHA256
      Since:
      1.2
    • isSealWrap

      public boolean isSealWrap()
      Returns:
      Seal wrapping enabled
      Since:
      1.1
    • getUuid

      public String getUuid()
      Returns:
      Backend UUID
      Since:
      1.1
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object