More information in requestContext.principalName

Juan Andrés Mucarquer juan.mucarquer at alumnos.usm.cl
Thu May 2 22:23:30 EDT 2013


Hi there,

I'm dealing with an LDAP data connector in attribute-resolver.xml
I want to filter the users by other attributes than the principalName
For example, currently I'm filtering the user by uid and I want to 
filter by employeeNumber attribute:

<dc:FilterTemplate>
	<![CDATA[
		(uid=$requestContext.principalName)
	]]>
</dc:FilterTemplate>

I tryed 
(employeeNumber=$requestContext.principalAttributes.get("employeeNumber")) 
but doesn't work, seems not to be the right way to do it.

Thanks a lot!


More information about the users mailing list