java.lang.Object
org.apache.polaris.extension.persistence.impl.eclipselink.models.ModelPrincipalSecrets

@Entity public class ModelPrincipalSecrets extends Object
PrincipalSecrets model representing the secrets used to authenticate a catalog principal. This is used to exchange the information with PRINCIPAL_SECRETS table
  • Constructor Details

    • ModelPrincipalSecrets

      public ModelPrincipalSecrets()
  • Method Details

    • getPrincipalId

      public long getPrincipalId()
    • getPrincipalClientId

      public String getPrincipalClientId()
    • getSecretSalt

      public String getSecretSalt()
    • getMainSecretHash

      public String getMainSecretHash()
    • getSecondarySecretHash

      public String getSecondarySecretHash()
    • builder

      public static ModelPrincipalSecrets.Builder builder()
    • fromPrincipalSecrets

      public static ModelPrincipalSecrets fromPrincipalSecrets(org.apache.polaris.core.entity.PolarisPrincipalSecrets record)
    • toPrincipalSecrets

      public static org.apache.polaris.core.entity.PolarisPrincipalSecrets toPrincipalSecrets(ModelPrincipalSecrets model)
    • update

      public void update(org.apache.polaris.core.entity.PolarisPrincipalSecrets principalSecrets)