final int[] principalNameIndices = peekQuotedStringAhead( classNameIndices[ 1 ] );
if ( principalNameIndices == null )
throw new InvalidPolicyTextException( "Invalid grant entry, found no name for principal!" );
final Principal principal = new Principal();
principal.setType( policyText.substring( classNameIndices[ 0 ], classNameIndices[ 1 ] ) );
principal.setName( policyText.substring( principalNameIndices[ 0 ] + 1, principalNameIndices[ 1 ] - 1 ) );
grantEntry.getPrincipalList().add( principal );
newIndex = principalNameIndices[ 1 ];
}
}