removed old owner_id field, closes #636
parent
e8015051d2
commit
6c88d7c54b
|
@ -41,8 +41,6 @@ public class AuthenticationHolderEntity {
|
|||
|
||||
private Long id;
|
||||
|
||||
private Long ownerId;
|
||||
|
||||
private OAuth2Authentication authentication;
|
||||
|
||||
public AuthenticationHolderEntity() {
|
||||
|
@ -60,16 +58,6 @@ public class AuthenticationHolderEntity {
|
|||
this.id = id;
|
||||
}
|
||||
|
||||
@Basic
|
||||
@Column(name = "owner_id")
|
||||
public Long getOwnerId() {
|
||||
return ownerId;
|
||||
}
|
||||
|
||||
public void setOwnerId(Long owner_id) {
|
||||
this.ownerId = owner_id;
|
||||
}
|
||||
|
||||
@Lob
|
||||
@Basic(fetch=FetchType.LAZY)
|
||||
@Column(name = "authentication")
|
||||
|
|
|
@ -41,7 +41,6 @@ CREATE TABLE IF NOT EXISTS approved_site_scope (
|
|||
|
||||
CREATE TABLE IF NOT EXISTS authentication_holder (
|
||||
id BIGINT GENERATED BY DEFAULT AS IDENTITY(START WITH 1) PRIMARY KEY,
|
||||
owner_id BIGINT,
|
||||
authentication LONGVARBINARY
|
||||
);
|
||||
|
||||
|
|
|
@ -41,7 +41,6 @@ CREATE TABLE IF NOT EXISTS approved_site_scope (
|
|||
|
||||
CREATE TABLE IF NOT EXISTS authentication_holder (
|
||||
id BIGINT AUTO_INCREMENT PRIMARY KEY,
|
||||
owner_id BIGINT,
|
||||
authentication LONGBLOB
|
||||
);
|
||||
|
||||
|
|
|
@ -204,7 +204,6 @@ public class MITREidDataService_1_2 extends MITREidDataService_1_X {
|
|||
for (AuthenticationHolderEntity holder : authHolderRepository.getAll()) {
|
||||
writer.beginObject();
|
||||
writer.name("id").value(holder.getId());
|
||||
writer.name("ownerId").value(holder.getOwnerId());
|
||||
writer.name("authentication");
|
||||
writer.beginObject();
|
||||
writer.name("authorizationRequest");
|
||||
|
|
Loading…
Reference in New Issue