Account lockout customization
cchoy
cchoy at andovercos.com
Thu May 25 16:12:41 EDT 2017
I was attempting to create a custom lockout by implementing the
AccountLockoutManager interface. I built the custom jar and added it to the
$SHIBBOLETH/edit-webapp/WEB-INF/lib/ directory
I updated the password-authn-beans.xml to reference the custom class for the
shibboleth.StorageBackedAccountLockoutManager bean and we can build the
idp.war fine
However, when we start up, we run into a ClassNotFound error:
ERROR [org.springframework.webflow.execution.FlowExecutionException:76] -
org.springframework.webflow.execution.FlowExecutionException: Exception
thrown in state 'CallAuthenticationFlow' of flow 'authn-initial'
at
org.springframework.webflow.engine.impl.FlowExecutionImpl.wrap(FlowExecutionImpl.java:573)
Caused by: org.springframework.beans.factory.CannotLoadBeanClassException:
Cannot find class [custom.AccountLockout.ServiceLockoutManager] for bean
with name 'shibboleth.authn.Password.AccountLockoutManager' defined in file
[/opt/shibboleth-idp/system/flows/authn/../../../conf/authn/password-authn-config.xml];
nested exception is java.lang.ClassNotFoundException:
custom.AccountLockout.ServiceLockoutManager
at
org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1352)
Caused by: java.lang.ClassNotFoundException:
andovercos.AccountLockout.ServiceLockoutManager
at
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1308)
I'm not clear why it's not seeing the class as the jar should be on the
classpath. Any guidance onto where I have erred would be appreciated.
Thanks -- Chris
--
View this message in context: http://shibboleth.1660669.n2.nabble.com/Account-lockout-customization-tp7633413.html
Sent from the Shibboleth - Developers mailing list archive at Nabble.com.
More information about the dev
mailing list