Hi All,<br><br>I am new to Shibboleth identity provider. I have installed and configured the Shibboleth identity provider by following the instructions given in shibboleth home page. I configured LDAP data connector to retrieve some attributes. And when i test the attribute resolver by using "AACLI" tool i am getting "No attribute statement" all the time. I did not find any logs related to attribute retrieval in the log files.<br>
<br>My configuration details as follows,<br><br><b>"handler.xml"</b><br><br><ph:LoginHandler xsi:type="ph:UsernamePassword" <br> jaasConfigurationLocation="file://IDP_HOME/conf/login.config"><br>
<ph:AuthenticationMethod>urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport</ph:AuthenticationMethod><br> </ph:LoginHandler> <br><br><b>"login.config"</b><br><br>edu.vt.middleware.ldap.jaas.LdapLoginModule required<br>
ldapUrl="LDAP_URL"<br> baseDn="ou=public,dc=abc,dc=com"<br> tls="true"<br> userFilter="uid={0}"<br> ;<br><br><b>"attribute-filter.xml"<br><br></b><afp:AttributeFilterPolicy><br>
<afp:PolicyRequirementRule xsi:type="basic:ANY" /><br><br> <afp:AttributeRule attributeID="mail"><br> <afp:PermitValueRule xsi:type="basic:ANY" /><br>
</afp:AttributeRule><br> </afp:AttributeFilterPolicy><br><br><b>"attribute-resolver.xml"<br><br><br></b> <resolver:AttributeDefinition xsi:type="ad:Simple" id="mail" sourceAttributeID="mail"><br>
<resolver:Dependency ref="myLDAP" /><br> <resolver:AttributeEncoder xsi:type="SAML2String"<br> xmlns="urn:mace:shibboleth:2.0:attribute:encoder"<br> name="urn:oid:0.9.2342.19200300.100.1.1" friendlyName="mail" /> <br>
</resolver:AttributeDefinition><br><br><resolver:DataConnector id="myLDAP" xsi:type="dc:LDAPDirectory"<br> ldapURL="LDAP_URL" <br> baseDN="ou=public,dc=abc,dc=com" <br>
principal="USER_NAME"<br> principalCredential="PASSWORD"><br> <dc:FilterTemplate><br> <![CDATA[<br> (uid=$requestContext.principalName)<br> ]]><br>
</dc:FilterTemplate><br> </resolver:DataConnector><b><br><br><br><br></b>Even when i comment the statements in "login.config" file, i am not getting any errors in the log file and still getting "No Aattribute Statement" message. Following is the command i am using from "IDP_HOME"<b><br>
<br>aacli.bat --configDir=../conf --principal=<USER_NAME><br><br></b>Could anyone please help me get this working? Am i missing something in the configruation? <br><br>Thank you in advance.<br><br>-- Pavan<br>