removed old owner_id field, closes #636

pull/989/head
Justin Richer 2015-01-17 08:18:36 -05:00
parent e8015051d2
commit 6c88d7c54b
4 changed files with 0 additions and 15 deletions

View File

@ -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")

View File

@ -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
);

View File

@ -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
);

View File

@ -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");