...
The mapping implementation for Rice v2 change significantly as each "entity" category mapper now returns a list of "Builder" objects see ( Rice 2.0 release notes).
The PrincipalMapper class out of the box does not implement the method (protected boolean isPersonActive(DirContextOperations context) )to determine if the person in question is "active" (has an affiliation with the university). Instead of this implementing this method we created a new isPersonActive method (see below) which compares the values of the LDAP eduPersonAffiliation attribute with affiliation mappings rice config parameter (STAFF=staff,FCLTY=faculty,STDNT=student,AFLT=affiliate)
...