Updated transaction log.
authorwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 15 Apr 2004 19:19:09 +0000 (19:19 +0000)
committerwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 15 Apr 2004 19:19:09 +0000 (19:19 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@979 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/aa/AAServlet.java

index 4b9b02d..69eb8bd 100755 (executable)
@@ -336,16 +336,16 @@ public class AAServlet extends TargetFederationComponent {
                        if (effectiveName == null) {
                                if (fromLegacyProvider(req)) {
                                        transactionLog.info("Attribute assertion issued to anonymous legacy provider at ("
-                                                       + req.getRemoteAddr() + ").");
+                                                       + req.getRemoteAddr() + ") on behalf of principal (" + principal.getName() + ").");
                                } else {
                                        transactionLog.info("Attribute assertion issued to anonymous provider at (" + req.getRemoteAddr()
-                                                       + ").");
+                                                       + ") on behalf of principal (" + principal.getName() + ").");
                                }
                        } else {
                                if (fromLegacyProvider(req)) {
-                                       transactionLog.info("Attribute assertion issued to legacy provider: (" + effectiveName + ").");
+                                       transactionLog.info("Attribute assertion issued to legacy provider (" + effectiveName + ") on behalf of principal (" + principal.getName() + ").");
                                } else {
-                                       transactionLog.info("Attribute assertion issued to provider: (" + effectiveName + ").");
+                                       transactionLog.info("Attribute assertion issued to provider (" + effectiveName + ") on behalf of principal (" + principal.getName() + ").");
                                }
                        }