Closed NhlamuloChauke closed 3 years ago
After a phone call, I think this issue can be closed.
There will be some investigation into a standalone registration application for iRODS itself, rather than adding a walk-up registration page to Metalnx only.
Thanks for the details, I am starting to understand irods much better. I am busy implementing a standalone service
Hi I am trying to create a manual registration form for metalnx, I am getting the following error below when adding the user.
attrib:org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scopedTarget.irodsServices' defined in URL [jar:file:/usr/local/tomcat/webapps/metalnx/WEB-INF/lib/emc-metalnx-services-4.3.2.1-SNAPSHOT.jar!/com/emc/metalnx/services/irods/IRODSServicesImpl.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.emc.metalnx.services.irods.IRODSServicesImpl]: Constructor threw exception; nested exception is java.lang.ClassCastException: class org.springframework.security.web.authentication.WebAuthenticationDetails cannot be cast to class com.emc.metalnx.services.auth.UserTokenDetails (org.springframework.security.web.authentication.WebAuthenticationDetails and com.emc.metalnx.services.auth.UserTokenDetails are in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @14a54ef6)
This is the controller code and page below. Your response will be highly appreciated.
Page
Controller