if (subject != null) {
Iterator itAlt = alt.elements().iterator();
while (itAlt.hasNext()) {
ClientMinPrincipal cminp = (ClientMinPrincipal) itAlt.next();
int matchCount = cminp.elements().size();
Iterator itCminp = cminp.elements().iterator();
while (itCminp.hasNext()) {
Principal altP = (Principal) itCminp.next();
Iterator itSub = subject.getPrincipals().iterator();
while (itSub.hasNext()) {
Principal subP = (Principal)itSub.next();