test

2 views
Skip to first unread message

Mike Coutanche

unread,
Jun 7, 2007, 4:38:59 AM6/7/07
to toro-p...@googlegroups.com

Hi all this is just a test to check that I am registered correctly.

 

Regards,

 

Michael Coutanche

System Management & Development Engineer

 

Weymouth College

Email mike_co...@weymouth.ac.uk

Tel (01305) 208742

Fax (01305) 208815

 


______________________________________________________________________
This e-mail and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom
they are addressed.

If you have received this e-mail in error please notify the
originator of the message.

Any views expressed in this message are those of the individual
sender, except where the sender specifies and with authority,
states them to be the views of Weymouth College.

This email has been scanned for viruses by the Email Protection Agency.
For more information please visit http://www.epagency.net
______________________________________________________________________

Mike Coutanche

unread,
Jun 7, 2007, 5:36:32 AM6/7/07
to toro-p...@googlegroups.com

Hi,

 

With much help from Drew Wills I have managed to get the SSO Gateway working with uPortal 2.5.3. and for users that log on to the local DB things are all well. In addition to local users we have configured the portal to work with our two LDAP servers using the LDAP .xml to configure this and all works well with regards to logging in but the users that login using our LDAP servers have problems with the SSO gateway portlet’s see the error below.

 

Our local users had the same error message and I think Drew sorted it by adding

 

                <uidquery>SELECT USER_NAME, FIRST_NAME, LAST_NAME, EMAIL FROM UP_PERSON_DIR WHERE USER_NAME=?</uidquery>

 

<attribute><alias>user.login.id</alias>                  <name>USER_NAME</name></attribute>

 

Into the PersonDirs.xml file and so I added

 

           <attribute><alias>user.login.id</alias>                       <name>sAMAccountName</name></attribute>

 

In hope that this may help carry across the username when logging into the LDAP servers but this doesn’t seem to work. Does anyone have any ideas we are using windows 2003 active directory and we can authenticate against them ok.

 

I have attached our PersonDirs.XML file from my testbed portal that i have this working on.

 

Regards

 

Mike

 

Error Report

Channel ID:

51

Message:

IChannelRenderer.completeRendering() threw

Error type:

Channel failed to render (code 1)

Problem type:

General rendering problem

Error message

org.jasig.portal.PortalException: java.lang.NullPointerException

Stack Trace

 

org.jasig.portal.PortalException: org.jasig.portal.PortalException: java.lang.NullPointerException

        at org.jasig.portal.channels.portlet.CPortletAdapter.renderCharacters(CPortletAdapter.java:520)

        at org.jasig.portal.MultithreadedCharacterChannelAdapter.renderCharacters(MultithreadedCharacterChannelAdapter.java:41)

        at org.jasig.portal.ChannelRenderer$Worker.execute(ChannelRenderer.java:541)

        at org.jasig.portal.utils.threading.BaseTask.run(BaseTask.java:27)

        at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:431)

        at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:166)

        at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:643)

        at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:668)

        at java.lang.Thread.run(Unknown Source)

Caused by: org.jasig.portal.PortalException: java.lang.NullPointerException

        at org.jasig.portal.channels.portlet.CPortletAdapter.getMarkup(CPortletAdapter.java:634)

        at org.jasig.portal.channels.portlet.CPortletAdapter.renderCharacters(CPortletAdapter.java:517)

        ... 8 more

Caused by: java.lang.NullPointerException

        at java.lang.StringBuffer.<init>(Unknown Source)

        at net.unicon.academus.apps.gateway.GatewayPortlet.constructUserContextCacheKey(GatewayPortlet.java:96)

        at net.unicon.academus.apps.gateway.GatewayPortlet.getUserContext(GatewayPortlet.java:235)

        at net.unicon.warlock.portlet.AbstractWarlockPortlet.render(AbstractWarlockPortlet.java:308)

        at org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:205)

        at org.apache.pluto.core.PortletServlet.doGet(PortletServlet.java:145)

 

 

PersonDirs.xml

wills...@gmail.com

unread,
Jun 7, 2007, 11:50:49 AM6/7/07
to Toro Projects
Mike,

I must have given you bad advice when I wrote the XML for defining
"user.login.id" for LDAP users. It looks like "sAMAccountName" is not
what you need there. You need the name of whatever LDAP attribute
represents a user's username -- should this be uid?

drew wills

Mike Coutanche

unread,
Jun 7, 2007, 11:58:16 AM6/7/07
to toro-p...@googlegroups.com
Drew,

I have tried a number of attributes and none seem to work. To be honest
i thought sAMAccountName was the right one as i use this elsewhere to.

ARgh so close!

Mike


Mike,

drew wills


______________________________________________________________________

Reply all
Reply to author
Forward
0 new messages