From 26c464e440efab331ce61a7f2ed4e366c9d27fe3 Mon Sep 17 00:00:00 2001 From: Justin Richer Date: Wed, 16 Apr 2014 21:17:56 -0400 Subject: [PATCH] fixed bad JPQL in auth holder cleanup class --- .../java/org/mitre/oauth2/model/AuthenticationHolderEntity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openid-connect-common/src/main/java/org/mitre/oauth2/model/AuthenticationHolderEntity.java b/openid-connect-common/src/main/java/org/mitre/oauth2/model/AuthenticationHolderEntity.java index 77cab133c..cfe901f3e 100644 --- a/openid-connect-common/src/main/java/org/mitre/oauth2/model/AuthenticationHolderEntity.java +++ b/openid-connect-common/src/main/java/org/mitre/oauth2/model/AuthenticationHolderEntity.java @@ -34,7 +34,7 @@ import org.springframework.security.oauth2.provider.OAuth2Authentication; @Table(name = "authentication_holder") @NamedQueries ({ @NamedQuery(name = "AuthenticationHolderEntity.getByAuthentication", query = "select a from AuthenticationHolderEntity a where a.authentication = :authentication"), - @NamedQuery(name = "AuthenticationHolderEntity.getUnusedAuthenticationHolders", query = "select a from AuthenticationHolderEntity a where a.id not in (select t.authenticationHolderId from OAuth2AccessTokenEntity t) and a.id not in (select r.authenticationHolderId from OAuth2RefreshTokenEntity r)") + @NamedQuery(name = "AuthenticationHolderEntity.getUnusedAuthenticationHolders", query = "select a from AuthenticationHolderEntity a where a.id not in (select t.authenticationHolder.id from OAuth2AccessTokenEntity t) and a.id not in (select r.authenticationHolder.id from OAuth2RefreshTokenEntity r)") }) public class AuthenticationHolderEntity {