You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by co...@apache.org on 2018/07/20 13:16:48 UTC
[cxf] 02/03: Add @Lob annotation for application certificates
This is an automated email from the ASF dual-hosted git repository.
coheigea pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git
commit 260efe56fc1bfc89950d1eda89114feb287490cd
Author: Colm O hEigeartaigh <co...@apache.org>
AuthorDate: Fri Jul 20 12:49:27 2018 +0100
Add @Lob annotation for application certificates
---
.../main/java/org/apache/cxf/rs/security/oauth2/common/Client.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/common/Client.java b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/common/Client.java
index b337bc9..c0f897a 100644
--- a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/common/Client.java
+++ b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/common/Client.java
@@ -28,6 +28,7 @@ import javax.persistence.ElementCollection;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
+import javax.persistence.Lob;
import javax.persistence.ManyToOne;
import javax.persistence.MapKeyColumn;
import javax.persistence.OneToOne;
@@ -66,7 +67,7 @@ public class Client implements Serializable {
private String homeRealm;
private boolean registeredDynamically;
private String tokenEndpointAuthMethod;
-
+
public Client() {
}
@@ -346,6 +347,7 @@ public class Client implements Serializable {
@ElementCollection(fetch = FetchType.EAGER)
@OrderColumn
+ @Lob
public List<String> getApplicationCertificates() {
return applicationCertificates;
}