[java-identity-provider COMMIT] /trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ValidateExternalAut...
noreply at shibboleth.net
noreply at shibboleth.net
Tue Sep 6 20:23:19 EDT 2016
Author: scantor
Date: Tue Sep 6 20:23:18 2016
New Revision: 8373
URL: http://svn.shibboleth.net/view/java-identity-provider?rev=8373&view=rev
Log:
IDP-1031 - ExternalAuthentication ignores authnInstant
https://issues.shibboleth.net/jira/browse/IDP-1031
Modified:
trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ValidateExternalAuthentication.java
Modified: trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ValidateExternalAuthentication.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ValidateExternalAuthentication.java?rev=8373&r1=8372&r2=8373&view=diff
==============================================================================
--- trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ValidateExternalAuthentication.java (original)
+++ trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ValidateExternalAuthentication.java Tue Sep 6 20:23:18 2016
@@ -154,6 +154,10 @@
authenticationContext.setResultCacheable(false);
}
buildAuthenticationResult(profileRequestContext, authenticationContext);
+ if (extContext.getAuthnInstant() != null && authenticationContext.getAuthenticationResult() != null) {
+ authenticationContext.getAuthenticationResult().setAuthenticationInstant(
+ extContext.getAuthnInstant().getMillis());
+ }
}
// Checkstyle: ReturnCount ON
More information about the commits
mailing list