ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

DLP SSO: Authentication statement is too old to be used with value.

book

Article ID: 237328

calendar_today

Updated On:

Products

Data Loss Prevention Enforce Data Loss Prevention

Issue/Introduction

When attempting to integrate SSO with DLP, you are presented with the following error in the localhost.log:

 

Caused by: org.springframework.security.authentication.CredentialsExpiredException: Authentication statement is too old to be used with value [YYYY-MM-DDT hh:mm:ssZ]

Cause

The IdP (frequently seen with OKTA integrations) is creating a token which is outside of DLP's expected timeframe and we are throwing an error. 

Resolution

This can be overcome by modifying the springSecurityContext.xml file.  Under the bean id "webSSOprofileConsumer" change it from

    <bean id="webSSOprofileConsumer" class="org.springframework.security.saml.websso.WebSSOProfileConsumerImpl" />

And change it to the following (Highlighting added for clarity)

<bean id="webSSOprofileConsumer" class="org.springframework.security.saml.websso.WebSSOProfileConsumerImpl">
 <property name="maxAuthenticationAge" value="3024000" />
</bean>