cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject [1/3] cxf-fediz git commit: Log a warning if the IdP is not found
Date Tue, 22 Dec 2015 16:08:48 GMT
Repository: cxf-fediz
Updated Branches:
  refs/heads/master 86b79b0ef -> fba5384de


Log a warning if the IdP is not found


Project: http://git-wip-us.apache.org/repos/asf/cxf-fediz/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf-fediz/commit/4a8a69d4
Tree: http://git-wip-us.apache.org/repos/asf/cxf-fediz/tree/4a8a69d4
Diff: http://git-wip-us.apache.org/repos/asf/cxf-fediz/diff/4a8a69d4

Branch: refs/heads/master
Commit: 4a8a69d44398e0cdc6a6ef02b8953286e93b24d1
Parents: 86b79b0
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Tue Dec 22 14:49:10 2015 +0000
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Tue Dec 22 14:49:10 2015 +0000

----------------------------------------------------------------------
 .../java/org/apache/cxf/fediz/service/idp/rest/IdpServiceImpl.java  | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/4a8a69d4/services/idp/src/main/java/org/apache/cxf/fediz/service/idp/rest/IdpServiceImpl.java
----------------------------------------------------------------------
diff --git a/services/idp/src/main/java/org/apache/cxf/fediz/service/idp/rest/IdpServiceImpl.java
b/services/idp/src/main/java/org/apache/cxf/fediz/service/idp/rest/IdpServiceImpl.java
index c51ec87..36f859d 100644
--- a/services/idp/src/main/java/org/apache/cxf/fediz/service/idp/rest/IdpServiceImpl.java
+++ b/services/idp/src/main/java/org/apache/cxf/fediz/service/idp/rest/IdpServiceImpl.java
@@ -75,6 +75,7 @@ public class IdpServiceImpl implements IdpService {
     public Idp getIdp(String realm, List<String> expand) {
         Idp idp = idpDAO.getIdp(realm, expand);
         if (idp == null) {
+            LOG.warn("IdP not found for realm {}", realm);
             throw new NotFoundException();
         } else {
             return idp;


Mime
View raw message