API user is frequently locked on enforce server.
Release : 15.8, 16.0, 16.0.1
API user attempts form based authentication first and fails as user is a AD user and ideally kerberos authentication should be performed.
When this fails it will lock the protectUser table and the kerberos authentication in another thread can be locked out.
Below workaround can be used. Note: This will disable form based authentication for web services.
<!-- Web service authentication manager -->
<security:authentication-manager id="basicAuthManager">
<!-- Enable user name and password authentication through Enforce DB -->
<security:authentication-provider ref="formAuthenticationProvider" />
<!-- Enable AD/Kerberos authentication -->
<security:authentication-provider ref="kerberosAuthenticationProvider" />
</security:authentication-manager>
<!-- Web service authentication manager -->
<security:authentication-manager id="basicAuthManager">
<!-- Enable user name and password authentication through Enforce DB -->
<!-- security:authentication-provider ref="formAuthenticationProvider" / -->
<!-- Enable AD/Kerberos authentication -->
<security:authentication-provider ref="kerberosAuthenticationProvider" />
</security:authentication-manager>
4. Restart manager service.