grouper-users - Re: [grouper-users] Problem with the UI
Subject: Grouper Users - Open Discussion List
List archive
- From: Steve Lemons <>
- To: "GW Brown, Information Systems and Computing" <>
- Cc:
- Subject: Re: [grouper-users] Problem with the UI
- Date: Thu, 31 Aug 2006 13:40:22 -0400
On Aug 31, 2006, at 4:19 AM, GW Brown, Information Systems and Computing wrote:
Gary, Thanks for pointer. I've narrow down the problem to two things. One, subjectView.jsp appears to expect the description attribute to be present for the source. I had my person source description mapped to the description attribute, which isn't populated for persons. I've changed that mapping to displayName. Second problem is the viewObject.isGroup attribute. If I remove the isGroup check and replace it with "<c:out value="${viewObject.name}"/> " or add "put("isGroup",Boolean.FALSE);" to SubjectAsMap.java, then everything works fine. I guess another way to put it is the subjectView.jsp doesn't like null attributes. Below is my sources.xml file. Just in case that might help. <?xml version="1.0" encoding="utf-8"?> <!-- Grouper's subject resolver configuration $Id: sources.xml,v 1.6 2006/07/10 15:18:34 blair Exp $ --> <sources> <!-- Group Subject Resolver --> <!-- NOTE: It is recommended that you **not** change the default values for this source adapter. --> <source adapterClass="edu.internet2.middleware.grouper.GrouperSourceAdapter"> <id>g:gsa</id> <name>Grouper: Group Source Adapter</name> <type>group</type> </source> <!-- Group Subject Resolver --> <source adapterClass="edu.internet2.middleware.subject.provider.JNDISourceAdapter"> <id>jndi:person</id> <name>Duke Person</name> <type>person</type> <init-param> <param-name>INITIAL_CONTEXT_FACTORY</param-name> <param-value>com.sun.jndi.ldap.LdapCtxFactory</param-value> </init-param> <init-param> <param-name>PROVIDER_URL</param-name> <param-value>ldap://ldapsvc2.oit.duke.edu:636</param-value> </init-param> <init-param> <param-name>SECURITY_PROTOCOL</param-name> <param-value>ssl</param-value> </init-param> <init-param> <param-name>SECURITY_AUTHENTICATION</param-name> <param-value>simple</param-value> </init-param> <init-param> <param-name>SECURITY_PRINCIPAL</param-name> <param-value>uid=ldapu,ou=Directory Administrators,dc=duke,dc=edu </param-value> </init-param> <init-param> <param-name>SECURITY_CREDENTIALS</param-name> <param-value>XXXXXXX</param-value> </init-param> <init-param> <param-name>SubjectID_AttributeType</param-name> <param-value>dudukeid</param-value> </init-param> <init-param> <param-name>Name_AttributeType</param-name> <param-value>displayname</param-value> </init-param> <init-param> <param-name>Description_AttributeType</param-name> <param-value>displayName</param-value> </init-param> <search> <searchType>searchSubject</searchType> <param> <param-name>filter</param-name> <param-value> (& (dudukeid=%TERM%)(objectclass=duPerson)) </param-value> </param> <param> <param-name>scope</param-name> <param-value>SUBTREE_SCOPE</param-value> </param> <param> <param-name>base</param-name> <param-value>dc=duke,dc=edu</param-value> </param> </search> <search> <searchType>searchSubjectByIdentifier</searchType> <param> <param-name>filter</param-name> <param-value> (& (|(uid=%TERM%)(eduPersonPrincipalName=%TERM%))(objectclass=duPerson)) </param-value> </param> <param> <param-name>scope</param-name> <param-value>SUBTREE_SCOPE</param-value> </param> <param> <param-name>base</param-name> <param-value>dc=duke,dc=edu</param-value> </param> </search> <search> <searchType>search</searchType> <param> <param-name>filter</param-name> <param-value> (&(|(uid=%TERM%)(cn=*%TERM%*)(dudukeid=%TERM%))(objectclass=duPerson)) </param-value> </param> <param> <param-name>scope</param-name> <param-value>SUBTREE_SCOPE</param-value> </param> <param> <param-name>base</param-name> <param-value>dc=duke,dc=edu</param-value> </param> </search> </source> </sources> |
- Problem with the UI, Steve Lemons, 08/30/2006
- Re: [grouper-users] Problem with the UI, Monica Crawford, 08/30/2006
- Re: [grouper-users] Problem with the UI, GW Brown, Information Systems and Computing, 08/31/2006
- Re: [grouper-users] Problem with the UI, Steve Lemons, 08/31/2006
Archive powered by MHonArc 2.6.16.