/** {@inheritDoc} */ protected void marshallAttributes(XMLObject samlElement, Element domElement) throws MarshallingException { AuthenticationStatement authenticationStatement = (AuthenticationStatement) samlElement; if (authenticationStatement.getAuthenticationMethod() != null) { domElement.setAttributeNS(null, AuthenticationStatement.AUTHENTICATIONMETHOD_ATTRIB_NAME, authenticationStatement.getAuthenticationMethod()); } if (authenticationStatement.getAuthenticationInstant() != null) { String value = SAMLConfigurationSupport.getSAMLDateFormatter().print( authenticationStatement.getAuthenticationInstant()); domElement.setAttributeNS(null, AuthenticationStatement.AUTHENTICATIONINSTANT_ATTRIB_NAME, value); } } }
: ((org.opensaml.saml.saml1.core.Response) response).getAssertions()) { for (final AuthenticationStatement statement : assertion.getAuthenticationStatements()) { if (statement.getAuthenticationInstant() != null) { return statement.getAuthenticationInstant();
DateTime authnInstant = authnStatement.getAuthenticationInstant(); String subjectLocalityAddress = null;