Send correct shar log message.
authorwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Tue, 4 Mar 2003 18:43:14 +0000 (18:43 +0000)
committerwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Tue, 4 Mar 2003 18:43:14 +0000 (18:43 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@536 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

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

index d19a628..2e23003 100755 (executable)
@@ -260,7 +260,7 @@ public class AAServlet extends HttpServlet {
                                                + "handle request without one.");
                        }
 
-                       if (saml.getShar() == null) {
+                       if (saml.getShar() == null || saml.getShar().equals("")) {
                                log.info("Request is from an unauthenticated SHAR.");
                        } else {
                                log.info("Request is from SHAR: (" + saml.getShar() + ").");