[java-identity-provider COMMIT] /trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ValidateUserAgentAd...
noreply at shibboleth.net
noreply at shibboleth.net
Wed Oct 15 17:28:35 EDT 2014
Author: scantor
Date: Wed Oct 15 17:28:35 2014
New Revision: 6717
URL: http://svn.shibboleth.net/view/java-identity-provider?rev=6717&view=rev
Log:
Correct weirdness in log message.
Modified:
trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ValidateUserAgentAddress.java
Modified: trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ValidateUserAgentAddress.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ValidateUserAgentAddress.java?rev=6717&r1=6716&r2=6717&view=diff
==============================================================================
--- trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ValidateUserAgentAddress.java (original)
+++ trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ValidateUserAgentAddress.java Wed Oct 15 17:28:35 2014
@@ -137,13 +137,14 @@
if (isAuthenticated(uaContext.getAddress(), e.getValue())) {
principalName = e.getKey();
log.debug("{} Authenticated user agent with address {} as {}",
- getLogPrefix(), uaContext.getAddress(), principalName);
+ getLogPrefix(), uaContext.getAddress().getHostAddress(), principalName);
buildAuthenticationResult(profileRequestContext, authenticationContext);
return;
}
}
- log.debug("{} User agent with address {} was not authenticated", getLogPrefix(), uaContext.getAddress());
+ log.debug("{} User agent with address {} was not authenticated", getLogPrefix(),
+ uaContext.getAddress().getHostAddress());
ActionSupport.buildEvent(profileRequestContext, AuthnEventIds.INVALID_CREDENTIALS);
}
More information about the commits
mailing list