Patches item #2812747, was opened at 2009-06-26 15:17
Message generated for change (Comment added) made by tonnyldk
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=319984&aid=2812747&group_id=19984

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Patrick Kaboré (wekabore)
Assigned to: Nobody/Anonymous (nobody)
Summary: CAS (Single Sign On) Authentication with DSpace 1.5.1

Initial Comment:
The solution is based on the patch at 
http://sourceforge.net/tracker/index.php?func=detail&aid=1601221&group_id=19984&atid=319984.
 After integrating the java class CASAuthentication, adding the following lines 
in [dspace-source]/dspace-api/pom.xml, and 
[dspace-source]/dspace-xmlui/dspace-xmlui-api/pom.xml in the <dependencies> 
section
        <dependency>
                <groupId>cas</groupId>
                <artifactId>casclient</artifactId>
                <version>2.1.1</version>
        </dependency>
Add the following line in 
[dspace-source]/dspace-xmlui/dspace-xmlui-webapps/pom.xml in the <dependencies> 
section
        <dependency>
               <groupId>cas</groupId>
              <artifactId>casclient</artifactId>
            <version>2.1.1</version>
            <scope>runtime</scope>
          </dependency>

Thanks,
Patrick

----------------------------------------------------------------------

Comment By: Tonny Hjelmberg Laursen (tonnyldk)
Date: 2010-02-12 12:30

Message:
Hi Patrick, Im trying to add this patch on a Dspace 1.5.2 installation but
im getting the error below in the browser, when I try to access the page.

I have compiled a new casclient.jar from cas-java-client 2.1.1. Im not
sure where to put this jar in the [dspace-source] folder.

javax.servlet.ServletException: Servlet execution threw an exception
        
org.dspace.app.xmlui.cocoon.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:142)
        
org.dspace.app.xmlui.cocoon.DSpaceCocoonServletFilter.doFilter(DSpaceCocoonServletFilter.java:244)
        
org.apache.cocoon.servlet.multipart.MultipartFilter.doFilter(MultipartFilter.java:131)

root cause

java.lang.NoClassDefFoundError: Could not initialize class
org.dspace.authenticate.AuthenticationManager
        
org.dspace.app.xmlui.utils.ContextUtil.obtainContext(ContextUtil.java:100)
        
org.dspace.app.xmlui.aspect.general.AuthenticatedSelector.select(AuthenticatedSelector.java:100)
        
org.apache.cocoon.sitemap.impl.DefaultExecutor.invokeSelector(DefaultExecutor.java:89)
        
org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:78)
        
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78)
        
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
        
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78)
        
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:81)
        
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:239)
        
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.buildPipeline(ConcreteTreeProcessor.java:186)
        
org.apache.cocoon.components.treeprocessor.TreeProcessor.buildPipeline(TreeProcessor.java:260)


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=319984&aid=2812747&group_id=19984

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to