[java-identity-provider] branch master updated: Fix logging argument syntax.
Scott Cantor
cantor.2 at osu.edu
Tue Jan 30 11:03:44 EST 2018
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch master
in repository java-identity-provider.
View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=047f9dfcc952c69802c73e26c06adede4b165ce6
The following commit(s) were added to refs/heads/master by this push:
new 047f9df Fix logging argument syntax.
047f9df is described below
commit 047f9dfcc952c69802c73e26c06adede4b165ce6
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Jan 30 11:03:42 2018 -0500
Fix logging argument syntax.
---
.../src/main/resources/system/flows/intercept/impersonate-flow.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/idp-conf/src/main/resources/system/flows/intercept/impersonate-flow.xml b/idp-conf/src/main/resources/system/flows/intercept/impersonate-flow.xml
index 5248d1b..9e87437 100644
--- a/idp-conf/src/main/resources/system/flows/intercept/impersonate-flow.xml
+++ b/idp-conf/src/main/resources/system/flows/intercept/impersonate-flow.xml
@@ -49,7 +49,7 @@
<!-- Log the impersonation. -->
<evaluate expression="opensamlProfileRequestContext.getSubcontext(T(net.shibboleth.idp.profile.context.RelyingPartyContext)).getRelyingPartyId()" result="requestScope.relyingPartyId" />
<evaluate expression="opensamlProfileRequestContext.getSubcontext(T(net.shibboleth.idp.authn.context.SubjectContext)).getPrincipalName()" result="requestScope.principalSpoofer" />
- <evaluate expression="T(org.slf4j.LoggerFactory).getLogger('net.shibboleth.idp.profile.interceptor').info('Impersonation by principal ''{}'' as ''{}'' to relying party ''{}''', principalSpoofer, principalToSpoof, relyingPartyId)" />
+ <evaluate expression="T(org.slf4j.LoggerFactory).getLogger('net.shibboleth.idp.profile.interceptor').info('Impersonation by principal ''{}'' as ''{}'' to relying party ''{}''', new Object[]{principalSpoofer, principalToSpoof, relyingPartyId})" />
</on-entry>
<evaluate expression="PopulateAuditContext" />
@@ -65,7 +65,7 @@
<!-- Log violation. -->
<evaluate expression="opensamlProfileRequestContext.getSubcontext(T(net.shibboleth.idp.profile.context.RelyingPartyContext)).getRelyingPartyId()" result="requestScope.relyingPartyId" />
<evaluate expression="opensamlProfileRequestContext.getSubcontext(T(net.shibboleth.idp.authn.context.SubjectContext)).getPrincipalName()" result="requestScope.principalSpoofer" />
- <evaluate expression="T(org.slf4j.LoggerFactory).getLogger('net.shibboleth.idp.profile.interceptor').warn('Unauthorized impersonation attempt by principal ''{}'' as ''{}'' to relying party ''{}''', principalSpoofer, principalToSpoof, relyingPartyId)" />
+ <evaluate expression="T(org.slf4j.LoggerFactory).getLogger('net.shibboleth.idp.profile.interceptor').warn('Unauthorized impersonation attempt by principal ''{}'' as ''{}'' to relying party ''{}''', new Object[]{principalSpoofer, principalToSpoof, relyingPartyId})" />
</on-entry>
</end-state>
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list