|
|
@@ -48,6 +48,9 @@ public class RepoAuthConfig extends BaseEntity {
|
|
|
@NotBlank(groups = {SshRepoAuth.class}, message = "认证私钥不能为空")
|
|
|
@Column(columnDefinition="text")
|
|
|
private String rsaPrikey;
|
|
|
+ @NotBlank(groups = {SshRepoAuth.class}, message = "认证公钥不能为空")
|
|
|
+ @Column(columnDefinition="text")
|
|
|
+ private String rsaPubkey;
|
|
|
|
|
|
public interface NoneRepoAuth {
|
|
|
}
|