I have the following sring security configuration:
<security:authentication-manager>
<security:authentication-provider ref="provider1"/>
<security:authentication-provider ref="provider2"/>
<security:authentication-provider ref="provider3"/>
<security:authentication-provider ref="provider4"/>
<security:authentication-provider ref="provider5"/>
<security:authentication-provider ref="provider6"/>
</security:authentication-manager>
Now I need always return auth fail if now later than 21-00.
I don't want to add same code to each provider.
Is there nicer way?